Unverified Commit 5cbefeca authored by Vincent Petry's avatar Vincent Petry
Browse files

Hide "Add group" for subadmins

parent e4e0e27e
<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>
<?php } ?>
<li id="newgroup-form" style="display: none">
<input type="text" id="newgroupname" placeholder="<?php p($l->t('Group')); ?>..." />
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment