aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@owncloud.com>2014-06-24 20:58:35 +0200
committerblizzz <blizzz@owncloud.com>2014-06-24 20:58:35 +0200
commitc6bcb07f8373b3a1515fc2f26872a0256ee3666d (patch)
tree9399d540595083273d150633e14fe03c6d6114fb
parentdd2ef47ed394f3ba9876a8e1f04fc8552e686f71 (diff)
parent720fa33274aa24b77d09cd125bb72c5115c8602a (diff)
downloadnextcloud-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.
-rw-r--r--settings/templates/users/part.grouplist.php4
-rw-r--r--settings/users.php1
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);