diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-12-12 10:21:50 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-12 14:19:29 +0100 |
commit | 04aaa728103c5ff184a89e8b69bca3f196c52224 (patch) | |
tree | 5b2cfabb736379ddaa652ad19c4f364550423a76 /settings/templates | |
parent | 6b4502adebf1d756707e8fb5b8ab697c1c746e6b (diff) | |
download | nextcloud-server-04aaa728103c5ff184a89e8b69bca3f196c52224.tar.gz nextcloud-server-04aaa728103c5ff184a89e8b69bca3f196c52224.zip |
Show user backend in user management
* add switch to settings to show user backend
* user classes for headers and rows to unify the show/hide statement
* add user backend to response of user create request
* proper markup in settings area
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/users/main.php | 22 | ||||
-rw-r--r-- | settings/templates/users/part.userlist.php | 6 |
2 files changed, 20 insertions, 8 deletions
diff --git a/settings/templates/users/main.php b/settings/templates/users/main.php index 1923f4b0493..c32c8df6809 100644 --- a/settings/templates/users/main.php +++ b/settings/templates/users/main.php @@ -44,14 +44,24 @@ translation('settings'); <?php print_unescaped($this->inc('users/part.setquota')); ?> <div id="userlistoptions"> - <p><label> - <input type="checkbox" name="StorageLocation" value="StorageLocation" id="CheckboxStorageLocation"> + <p> + <input type="checkbox" name="StorageLocation" value="StorageLocation" id="CheckboxStorageLocation"> + <label for="CheckboxStorageLocation"> <?php p($l->t('Show storage location')) ?> - </label></p> - <p><label> + </label> + </p> + <p> <input type="checkbox" name="LastLogin" value="LastLogin" id="CheckboxLastLogin"> - <?php p($l->t('Show last log in')) ?> - </label></p> + <label for="CheckboxLastLogin"> + <?php p($l->t('Show last log in')) ?> + </label> + </p> + <p> + <input type="checkbox" name="UserBackend" value="UserBackend" id="CheckboxUserBackend"> + <label for="CheckboxUserBackend"> + <?php p($l->t('Show user backend')) ?> + </label> + </p> </div> </div> </div> diff --git a/settings/templates/users/part.userlist.php b/settings/templates/users/part.userlist.php index c531323a2fa..6a6b0b69fa2 100644 --- a/settings/templates/users/part.userlist.php +++ b/settings/templates/users/part.userlist.php @@ -12,8 +12,9 @@ <th id="headerSubAdmins"><?php p($l->t('Group Admin for')); ?></th> <?php endif;?> <th id="headerQuota"><?php p($l->t('Quota')); ?></th> - <th id="headerStorageLocation"><?php p($l->t('Storage Location')); ?></th> - <th id="headerLastLogin"><?php p($l->t('Last Login')); ?></th> + <th class="storageLocation"><?php p($l->t('Storage Location')); ?></th> + <th class="userBackend"><?php p($l->t('User Backend')); ?></th> + <th class="lastLogin"><?php p($l->t('Last Login')); ?></th> <th id="headerRemove"> </th> </tr> </thead> @@ -55,6 +56,7 @@ </select> </td> <td class="storageLocation"></td> + <td class="userBackend"></td> <td class="lastLogin"></td> <td class="remove"></td> </tr> |