<?php include_once '../helpers/getEnumValuesFromTable.php'; echo enumDropdown('users', __users_tl_role); ?> </div> <div class='col-md-2' > <img src="../common/question_mark.jpg" alt="?" height="20" width="20" data-placement="right" data-toggle="tooltip" title="Ayelet- if you want change here an include only Letters and digits"> </div> </div> <div class='form-group'> <label class='control-label col-md-2 col-md-offset-2' for="account">Account: </label> <div class='col-md-2' > <?php include_once '../helpers/getDropDownListFromTableData.php'; echo dataDropdown('clusters', __cluster_tl_account_name); ?> </div> <div class='col-md-2' > <img src="../common/question_mark.jpg" alt="?" height="20" width="20" data-placement="right" data-toggle="tooltip" title="Ayelet- if you want change here an include only Letters and digits"> </div> </div> <div class='form-group'> <div class='col-md-offset-4 col-md-3'> <button class='btn-lg btn-primary' type="submit" name="register" id="register" value="Register user" onclick="return confirm('Are you sure?')">Remove </button> </div> </div> </form> <div class='col-md-3'> <button class='btn-lg btn-danger' id='cancelButton' style='float:right' name="Cancel">Cancel</button> <script>
<div class='form-group'> <label class='control-label col-md-2 col-md-offset-2' for="account">Account: </label> <div class='col-md-2' > <?php include_once '../helpers/getDropDownListFromTableData.php'; echo dataDropdown('clusters', __cluster_tl_account_name); ?> </div> </div> <div class='form-group'> <label class='control-label col-md-2 col-md-offset-2' for="account">manager: (optional) </label> <div class='col-md-2' > <?php include_once '../helpers/getDropDownListFromTableData.php'; $pred = " WHERE " . __users_tl_role . " in ('AM', 'SM') "; echo dataDropdown('users', __users_tl_user_name, $pred); ?> </div> <div class='col-md-2' > <img src="../common/question_mark.jpg" alt="?" height="20" width="20" data-placement="right" data-toggle="tooltip" title="the schedule belongs only to a specific user with his own tasks"> </div> </div> <div class='form-group'> <button class='btn-lg btn-primary' type="submit" name="new_schedule" id="new_schedule">Add new Schedule</button> <div class='col-md-offset-4 col-md-3'> </div> </div> </form> <div class='col-md-3'>
<?php include_once 'helpers/getEnumValuesFromTable.php'; echo enumDropdown('users', 'Role'); ?> </td> <td><span class="error"> <?php echo $roleErr; ?> </span></td> </tr> <tr> <td><label for="account">Account: </label></td> <td> <?php include_once 'helpers/getDropDownListFromTableData.php'; echo dataDropdown('clusters', 'AccountName'); ?> </td> <td><span class="error"> <?php echo $roleErr; ?> </span></td> </tr> <tr> <td></td> <td align="center"><input type="submit" name="register" id="register" value="Add user" /></td> </tr> </table> </form> <?php