</tbody> </table> </div> </div> <?php if (UserCan('create_user')) { ?> <div class="tab-pane" id="newuser"> <form role="form" action="users.php" method="POST"> <div class="form-group smallform"> <label for="groupid"><?php echo $message['group']; ?> :</label> <?php renderGroupPicker(''); ?> </div> <div class="form-group smallform"> <label for="firstname"><?php echo $message['firstname']; ?> :</label> <input type="text" class="form-control" id="firstname" name="firstname" maxlength="50"> </div> <div class="form-group smallform"> <label for="lastname"><?php echo $message['lastname']; ?> :</label> <input type="text" class="form-control" id="lastname" name="lastname" maxlength="50">
<input type="password" class="form-control" id="password1" name="password1" maxlength="50"> </div> <div class="form-group smallform"> <label for="password2"><?php echo $message['reenter_password']; ?> :</label> <input type="password" class="form-control" id="password2" name="password2" maxlength="50"> </div> <div class="form-group smallform"> <label for="groupid"><?php echo $message['group']; ?> :</label> <?php renderGroupPicker(getUserInfo($_GET['id'], 'groupid')); ?> </div> <?php if (UserCan('edit_other_users')) { ?> <input type="hidden" name="userid" value="<?php echo $_GET['id']; ?> "> <button type="submit" class="btn btn-primary" name="edituser"><?php echo $message['edit']; ?> </button> <?php if (UserCan('del_other_users')) {