blob: d2355c792f816eced35e2d6cb6f2a7a82c7e4fda (
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
|
<h2>Add user [% uid %] to a new group</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='Add' />
</form>
<hr />
<h2>Delete user [% uid %] from an existing group:</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='Delete' />
</form>
<hr />
|