Merge pull request #9145 from owncloud/everyonecount

Enhancement: Displays users and admin count in the Users Management.
This commit is contained in:
blizzz 2014-06-24 20:58:35 +02:00
commit c6bcb07f83
2 changed files with 4 additions and 1 deletions

View file

@ -19,7 +19,9 @@
</span>
</a>
<span class="utils">
<span class="usercount"></span>
<span class="usercount">
<?php p($_["usercount"]); ?>
</span>
</span>
</li>

View file

@ -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);