diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-15 00:13:23 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:55 +0200 |
commit | 249e42c4cdf81c2d1c294a5535c055cdfee992b4 (patch) | |
tree | 07d884e082eb686aa93de67693a3296a4c8c08d8 /settings/templates/users/part.grouplist.php | |
parent | dbc854d8b8cb0a187859fae174a41de5b296595c (diff) | |
download | nextcloud-server-249e42c4cdf81c2d1c294a5535c055cdfee992b4.tar.gz nextcloud-server-249e42c4cdf81c2d1c294a5535c055cdfee992b4.zip |
enable group filtering
Diffstat (limited to 'settings/templates/users/part.grouplist.php')
-rw-r--r-- | settings/templates/users/part.grouplist.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php index 4b1958c1a67..0d5fef7775c 100644 --- a/settings/templates/users/part.grouplist.php +++ b/settings/templates/users/part.grouplist.php @@ -18,6 +18,9 @@ <?php p($l->t('Everyone')); ?> </span> </a> + <span class="utils"> + <span class="usercount"></span> + </span> </li> <!-- The Admin Group --> @@ -25,21 +28,21 @@ <li data-gid="admin"> <a href="#"><?php p($l->t('Admins')); ?></a> <span class="utils"> - <span class="usercount"><?php if(count($adminGroup['useringroup']) > 0) { p(count($adminGroup['useringroup'])); } ?></span> + <span class="usercount"><?php if($adminGroup['useringroup'] > 0) { p($adminGroup['useringroup']); } ?></span> </span> </li> <?php endforeach; ?> <!--List of Groups--> <?php foreach($_["groups"] as $group): ?> - <li data-gid="<?php p($group['name']) ?>" data-usercount="<?php p(count($group['useringroup'])) ?>"> + <li data-gid="<?php p($group['name']) ?>" data-usercount="<?php p($group['useringroup']) ?>"> <a href="#"> <span><?php p($group['name']); ?></span> <img class="svg action rename" src="<?php p(image_path('core', 'actions/rename.svg'))?>" original-title="<?php p($l->t('Edit'))?>" alt="<?php p($l->t("change group name"))?>" title="<?php p($l->t("change group name"))?>" /> </a> <span class="utils"> - <span class="usercount"><?php if(count($group['useringroup']) > 0) { p(count($group['useringroup'])); } ?></span> + <span class="usercount"><?php if($group['useringroup'] > 0) { p($group['useringroup']); } ?></span> <a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>"> <img src="<?php print_unescaped(image_path('core', 'actions/delete.svg')) ?>" class="svg" /> </a> |