blob: c6e428b662767b948e2b9dca2877cc9f5d88e0b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<h2>[% l('Add user [_1] to a new group', uid) %]</h2>
<form method="post" action="">
<input type='hidden' name='uid' value='[% uid %]' />
<input type='hidden' name='op' value='add' />
<select name='group'>
[% FOREACH group IN newgroups %]
<option value='[% group.cn %]'>[% group.cn %]</option>
[% END %]
</select>
<input type='submit' value='[% l('Add') %]' />
</form>
<hr />
[% IF groups %]
<h2>[% l('Delete user [_1] from an existing group:', uid) %] </h2>
<form method="post" action="">
<input type='hidden' name='uid' value='[% uid %]' />
<input type='hidden' name='op' value='delete' />
<select name='group'>
[% FOREACH group IN groups %]
<option value='[% group.cn %]'>[% group.cn %]</option>
[% END %]
</select>
<input type='submit' value='[% l('Delete') %]' />
</form>
<hr />
[% END %]
|