part.userlist.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <table id="userlist" class="hascontrols grid" data-groups="<?php p($_['allGroups']);?>">
  2. <thead>
  3. <tr>
  4. <th id="headerAvatar" scope="col"></th>
  5. <th id="headerName" scope="col"><?php p($l->t('Username'))?></th>
  6. <th id="headerDisplayName" scope="col"><?php p($l->t( 'Full name' )); ?></th>
  7. <th id="headerPassword" scope="col"><?php p($l->t( 'Password' )); ?></th>
  8. <th class="mailAddress" scope="col"><?php p($l->t( 'Email' )); ?></th>
  9. <th id="headerGroups" scope="col"><?php p($l->t( 'Groups' )); ?></th>
  10. <?php if(is_array($_['subadmins']) || $_['subadmins']): ?>
  11. <th id="headerSubAdmins" scope="col"><?php p($l->t('Group admin for')); ?></th>
  12. <?php endif;?>
  13. <th id="headerQuota" scope="col"><?php p($l->t('Quota')); ?></th>
  14. <th class="storageLocation" scope="col"><?php p($l->t('Storage location')); ?></th>
  15. <th class="userBackend" scope="col"><?php p($l->t('User backend')); ?></th>
  16. <th class="lastLogin" scope="col"><?php p($l->t('Last login')); ?></th>
  17. <th id="headerRemove">&nbsp;</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. <!-- the following <tr> is used as a template for the JS part -->
  22. <tr style="display:none">
  23. <td class="avatar"><div class="avatardiv"></div></td>
  24. <th class="name" scope="row"></th>
  25. <td class="displayName"><span></span> <img class="action"
  26. src="<?php p(image_path('core', 'actions/rename.svg'))?>"
  27. alt="<?php p($l->t("change full name"))?>" title="<?php p($l->t("change full name"))?>"/>
  28. </td>
  29. <td class="password"><span>●●●●●●●</span> <img class="action"
  30. src="<?php print_unescaped(image_path('core', 'actions/rename.svg'))?>"
  31. alt="<?php p($l->t("set new password"))?>" title="<?php p($l->t("set new password"))?>"/>
  32. </td>
  33. <td class="mailAddress"><span></span><div class="loading-small hidden"></div> <img class="action"
  34. src="<?php p(image_path('core', 'actions/rename.svg'))?>"
  35. alt="<?php p($l->t('change email address'))?>" title="<?php p($l->t('change email address'))?>"/>
  36. </td>
  37. <td class="groups"><div class="groupsListContainer multiselect button"
  38. ><span class="title groupsList"></span><span class="icon-triangle-s"></span></div>
  39. </td>
  40. <?php if(is_array($_['subadmins']) || $_['subadmins']): ?>
  41. <td class="subadmins"><div class="groupsListContainer multiselect button"
  42. ><span class="title groupsList"></span><span class="icon-triangle-s"></span></div>
  43. </td>
  44. <?php endif;?>
  45. <td class="quota">
  46. <select class="quota-user" data-inputtitle="<?php p($l->t('Please enter storage quota (ex: "512 MB" or "12 GB")')) ?>">
  47. <option value='default'>
  48. <?php p($l->t('Default'));?>
  49. </option>
  50. <option value='none'>
  51. <?php p($l->t('Unlimited'));?>
  52. </option>
  53. <?php foreach($_['quota_preset'] as $preset):?>
  54. <option value='<?php p($preset);?>'>
  55. <?php p($preset);?>
  56. </option>
  57. <?php endforeach;?>
  58. <option value='other' data-new>
  59. <?php p($l->t('Other'));?> ...
  60. </option>
  61. </select>
  62. </td>
  63. <td class="storageLocation"></td>
  64. <td class="userBackend"></td>
  65. <td class="lastLogin"></td>
  66. <td class="remove"></td>
  67. </tr>
  68. </tbody>
  69. </table>
  70. <div class="emptycontent" style="display:none">
  71. <div class="icon-search"></div>
  72. <h2></h2>
  73. </div>