diff options
-rw-r--r-- | settings/templates/users/part.grouplist.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php index 980cdab86c5..beb0f275a33 100644 --- a/settings/templates/users/part.grouplist.php +++ b/settings/templates/users/part.grouplist.php @@ -1,10 +1,12 @@ <ul id="usergrouplist" data-sort-groups="<?php p($_['sortGroups']); ?>"> <!-- Add new group --> + <?php if ($_['isAdmin']) { ?> <li id="newgroup-init"> <a href="#"> <span><?php p($l->t('Add group'))?></span> </a> </li> + <?php } ?> <li id="newgroup-form" style="display: none"> <form> <input type="text" id="newgroupname" placeholder="<?php p($l->t('Group name')); ?> …" /> |