Better Logic to display user count for everyone.

remotes/origin/ldap_group_count
raghunayyar 11 years ago
parent 2b4c2a7b14
commit 720fa33274
  1. 4
      settings/templates/users/part.grouplist.php
  2. 1
      settings/users.php

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

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

Loading…
Cancel
Save