part.createuser.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <div id="controls">
  2. <form id="newuser" autocomplete="off">
  3. <input id="newusername" type="text"
  4. placeholder="<?php p($l->t('Login Name'))?>"
  5. autocomplete="off" autocapitalize="off" autocorrect="off" />
  6. <input
  7. type="password" id="newuserpassword"
  8. placeholder="<?php p($l->t('Password'))?>"
  9. autocomplete="off" autocapitalize="off" autocorrect="off" />
  10. <select
  11. class="groupsselect" id="newusergroups" data-placeholder="groups"
  12. title="<?php p($l->t('Groups'))?>" multiple="multiple">
  13. <?php foreach($_["adminGroup"] as $adminGroup): ?>
  14. <option value="<?php p($adminGroup['name']);?>"><?php p($adminGroup['name']); ?></option>
  15. <?php endforeach; ?>
  16. <?php foreach($_["groups"] as $group): ?>
  17. <option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
  18. <?php endforeach;?>
  19. </select>
  20. <input type="submit" class="button" value="<?php p($l->t('Create'))?>" />
  21. </form>
  22. <?php if((bool)$_['recoveryAdminEnabled']): ?>
  23. <div class="recoveryPassword">
  24. <input id="recoveryPassword"
  25. type="password"
  26. placeholder="<?php p($l->t('Admin Recovery Password'))?>"
  27. title="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"
  28. alt="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"/>
  29. </div>
  30. <?php endif; ?>
  31. <form autocomplete="off" id="usersearchform">
  32. <input type="text" class="input userFilter" placeholder="<?php p($l->t('Search Users and Groups')); ?>" />
  33. </form>
  34. </div>