diff options
author | blizzz <blizzz@owncloud.com> | 2014-06-24 20:58:35 +0200 |
---|---|---|
committer | blizzz <blizzz@owncloud.com> | 2014-06-24 20:58:35 +0200 |
commit | c6bcb07f8373b3a1515fc2f26872a0256ee3666d (patch) | |
tree | 9399d540595083273d150633e14fe03c6d6114fb /settings | |
parent | dd2ef47ed394f3ba9876a8e1f04fc8552e686f71 (diff) | |
parent | 720fa33274aa24b77d09cd125bb72c5115c8602a (diff) | |
download | nextcloud-server-c6bcb07f8373b3a1515fc2f26872a0256ee3666d.tar.gz nextcloud-server-c6bcb07f8373b3a1515fc2f26872a0256ee3666d.zip |
Merge pull request #9145 from owncloud/everyonecount
Enhancement: Displays users and admin count in the Users Management.
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/users/part.grouplist.php | 4 | ||||
-rw-r--r-- | settings/users.php | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php index 593c202f2c9..28f2236b1d7 100644 --- a/settings/templates/users/part.grouplist.php +++ b/settings/templates/users/part.grouplist.php @@ -19,7 +19,9 @@ </span> </a> <span class="utils"> - <span class="usercount"></span> + <span class="usercount"> + <?php p($_["usercount"]); ?> + </span> </span> </li> diff --git a/settings/users.php b/settings/users.php index 8f72fc9d5c8..29a63a4496a 100644 --- a/settings/users.php +++ b/settings/users.php @@ -81,6 +81,7 @@ $tmpl->assign( 'groups', $groups ); $tmpl->assign( 'adminGroup', $adminGroup ); $tmpl->assign( 'isAdmin', (int) $isAdmin); $tmpl->assign( 'subadmins', $subadmins); +$tmpl->assign('usercount', count($users)); $tmpl->assign( 'numofgroups', count($groups) + count($adminGroup)); $tmpl->assign( 'quota_preset', $quotaPreset); $tmpl->assign( 'default_quota', $defaultQuota); |