Adds Admin to Grouplist Everywhere
This commit is contained in:
parent
4a30665ec3
commit
dc1523355b
|
@ -102,6 +102,9 @@ $_['subadmingroups'] = array_flip($items);
|
||||||
class="groupsselect"
|
class="groupsselect"
|
||||||
id="newusergroups" data-placeholder="groups"
|
id="newusergroups" data-placeholder="groups"
|
||||||
title="<?php p($l->t('Groups'))?>" multiple="multiple">
|
title="<?php p($l->t('Groups'))?>" multiple="multiple">
|
||||||
|
<?php foreach($_["adminGroup"] as $adminGroup): ?>
|
||||||
|
<option value="<?php p($adminGroup['name']);?>"><?php p($adminGroup['name']); ?></option>
|
||||||
|
<?php endforeach; ?>
|
||||||
<?php foreach($_["groups"] as $group): ?>
|
<?php foreach($_["groups"] as $group): ?>
|
||||||
<option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
|
<option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
|
@ -160,6 +163,9 @@ $_['subadmingroups'] = array_flip($items);
|
||||||
data-user-groups="<?php p(json_encode($user['groups'])) ;?>"
|
data-user-groups="<?php p(json_encode($user['groups'])) ;?>"
|
||||||
data-placeholder="groups" title="<?php p($l->t('Groups'))?>"
|
data-placeholder="groups" title="<?php p($l->t('Groups'))?>"
|
||||||
multiple="multiple">
|
multiple="multiple">
|
||||||
|
<?php foreach($_["adminGroup"] as $adminGroup): ?>
|
||||||
|
<option value="<?php p($adminGroup['name']);?>"><?php p($adminGroup['name']); ?></option>
|
||||||
|
<?php endforeach; ?>
|
||||||
<?php foreach($_["groups"] as $group): ?>
|
<?php foreach($_["groups"] as $group): ?>
|
||||||
<option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
|
<option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
|
|
Loading…
Reference in New Issue