diff options
author | raghunayyar <me@iraghu.com> | 2014-06-24 00:50:36 +0530 |
---|---|---|
committer | raghunayyar <me@iraghu.com> | 2014-06-24 00:50:36 +0530 |
commit | 720fa33274aa24b77d09cd125bb72c5115c8602a (patch) | |
tree | 649fc013453ff6e18283a8efe01276e3539b2c7f /settings | |
parent | 2b4c2a7b146fc9317b0cb637397cc8a0594dbf0d (diff) | |
download | nextcloud-server-720fa33274aa24b77d09cd125bb72c5115c8602a.tar.gz nextcloud-server-720fa33274aa24b77d09cd125bb72c5115c8602a.zip |
Better Logic to display user count for everyone.
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); |