diff options
author | raghunayyar <me@iraghu.com> | 2014-02-19 21:23:29 +0530 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:52 +0200 |
commit | 9ba4a7621446433fcf5eed2569473984753141a0 (patch) | |
tree | 875d7e4ffe5c90bbd82913c0b5614443ca73137b /settings/templates/users/part.grouplist.php | |
parent | bf88bd108e5acc9257428f7ff6d727f157b58450 (diff) | |
download | nextcloud-server-9ba4a7621446433fcf5eed2569473984753141a0.tar.gz nextcloud-server-9ba4a7621446433fcf5eed2569473984753141a0.zip |
resolving conflict when picking 8b81a0b
Diffstat (limited to 'settings/templates/users/part.grouplist.php')
-rw-r--r-- | settings/templates/users/part.grouplist.php | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php new file mode 100644 index 00000000000..cf7338b5096 --- /dev/null +++ b/settings/templates/users/part.grouplist.php @@ -0,0 +1,38 @@ +<ul> + <!-- Add new group --> + <li> + <form id="newgroup"> + <input type="text" id="newgroupname" placeholder="<?php p($l->t('Group')); ?>..." /> + <input type="submit" class="button" value="<?php p($l->t('Add Group'))?>" /> + </form> + </li> + <!-- Everyone --> + <li> + <a href="#"><?php p($l->t('Everyone')); ?></a> + </li> + + <!-- The Admin Group --> + <?php foreach($_["adminGroup"] as $adminGroup): ?> + <li> + <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> + </li> + <?php endforeach; ?> + + <!--List of Groups--> + <?php foreach($_["groups"] as $group): ?> + <li data-gid="<?php p($group['name']) ?>"> + <a href="#"><?php p($group['name']); ?></a> + <span class="utils"> + <span class="usercount"><?php if(count($group['useringroup']) > 0) { p(count($group['useringroup'])); } ?></span> + <img class="svg action rename" src="<?php p(image_path('core', 'actions/rename.svg'))?>" + alt="<?php p($l->t("change group name"))?>" title="<?php p($l->t("change group name"))?>" /> + <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> + </span> + </li> + <?php endforeach; ?> +</ul>
\ No newline at end of file |