diff options
author | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2011-09-30 19:35:25 +0200 |
---|---|---|
committer | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2011-09-30 19:35:25 +0200 |
commit | 5775421f7880d5c7f421fc723c8f1ce2b012c200 (patch) | |
tree | c68179bb994618dc491249c887994c2cefaddf5b /settings/templates/users.php | |
parent | 301d7bd3a9fed419b8f024f7aa7ecc2da80e3f51 (diff) | |
download | nextcloud-server-5775421f7880d5c7f421fc723c8f1ce2b012c200.tar.gz nextcloud-server-5775421f7880d5c7f421fc723c8f1ce2b012c200.zip |
user list has descriptions now
Diffstat (limited to 'settings/templates/users.php')
-rw-r--r-- | settings/templates/users.php | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php index a97774cea0b..bcc4d65fe43 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -10,19 +10,29 @@ foreach($_["groups"] as $group) { } ?> +<div id="controls"> + <form id="newuser"> + <th class="name"><input id="newusername" placeholder="<?php echo $l->t('Name')?>" /></th> + <th class="password"><input type="password" id="newuserpassword" placeholder="<?php echo $l->t('Password')?>" /></th> + <th class="groups"><select id="newusergroups" data-placeholder="groups" title="<?php echo $l->t('Groups')?>" multiple="multiple"> + <?php foreach($_["groups"] as $group): ?> + <option value="<?php echo $group['name'];?>"><?php echo $group['name'];?></option> + <?php endforeach;?> + </select></th> + <th class="quota"></th> + <th><input type="submit" value="<?php echo $l->t('Create')?>" /></th> + </form> +</div> + <table data-groups="<?php echo implode(', ',$allGroups);?>"> - <thead id="controls"> - <tr><form id="newuser"> - <th class="name"><input id="newusername" placeholder="<?php echo $l->t('Name')?>" /></th> - <th class="password"><input type="password" id="newuserpassword" placeholder="<?php echo $l->t('Password')?>" /></th> - <th class="groups"><select id="newusergroups" data-placeholder="groups" title="<?php echo $l->t('Groups')?>" multiple="multiple"> - <?php foreach($_["groups"] as $group): ?> - <option value="<?php echo $group['name'];?>"><?php echo $group['name'];?></option> - <?php endforeach;?> - </select></th> - <th class="quota"></th> - <th><input type="submit" value="<?php echo $l->t('Create')?>" /></th> - </form></tr> + <thead> + <tr> + <th id='headerName'><?php echo $l->t('Name')?></th> + <th id="headerPassword"><?php echo $l->t( 'Password' ); ?></th> + <th id="headerGroups"><?php echo $l->t( 'Groups' ); ?></th> + <th id="headerQuota"><?php echo $l->t( 'Quota' ); ?></th> + <th id="headerRemove"> </th> + </tr> </thead> <tbody> <?php foreach($_["users"] as $user): ?> |