diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-17 18:13:35 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:56 +0200 |
commit | 3e411c82a537b5ee0663f1d3a516cdfa93ee4581 (patch) | |
tree | 1ff21b23fc528252c7f17a98af889be398b7edcd /settings/templates | |
parent | d87347e64ef90b89b1ff2b2221514b6fe1c57086 (diff) | |
download | nextcloud-server-3e411c82a537b5ee0663f1d3a516cdfa93ee4581.tar.gz nextcloud-server-3e411c82a537b5ee0663f1d3a516cdfa93ee4581.zip |
unify and consolidate group fetching method for initial template fill and ajax request
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/users/part.grouplist.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php index 0d5fef7775c..5b9d23e43ad 100644 --- a/settings/templates/users/part.grouplist.php +++ b/settings/templates/users/part.grouplist.php @@ -28,21 +28,21 @@ <li data-gid="admin"> <a href="#"><?php p($l->t('Admins')); ?></a> <span class="utils"> - <span class="usercount"><?php if($adminGroup['useringroup'] > 0) { p($adminGroup['useringroup']); } ?></span> + <span class="usercount"><?php if($adminGroup['usercount'] > 0) { p($adminGroup['usercount']); } ?></span> </span> </li> <?php endforeach; ?> <!--List of Groups--> <?php foreach($_["groups"] as $group): ?> - <li data-gid="<?php p($group['name']) ?>" data-usercount="<?php p($group['useringroup']) ?>"> + <li data-gid="<?php p($group['name']) ?>" data-usercount="<?php p($group['usercount']) ?>"> <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($group['useringroup'] > 0) { p($group['useringroup']); } ?></span> + <span class="usercount"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></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> |