blob: 255759a2339d98f92a45fbc2be21bac16c675a09 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
<ste:load name="master.html" />
<ste:block name="content">
<ste:default_error />
<ste:default_success />
<div class="dualcolumns">
<div class="column_left">
<form action="$rel_path_to_root/backend/admin/users" method="post" accept-charset="UTF-8">
<h2><ste:get_translation for="new_group" /></h2>
<strong><ste:get_translation for="groupname" />:</strong><br />
<input type="text" name="group_name" class="fullwidth" /><br />
<input type="submit" name="new_group" />
<h2><ste:get_translation for="new_user" /></h2>
<strong><ste:get_translation for="username" />:</strong><br />
<input type="text" name="username" class="fullwidth" /><br />
<strong><ste:get_translation for="initial_password" />:</strong><br />
<input type="password" name="initial_password" class="fullwidth" /><br />
<input type="submit" name="new_user" />
</form>
</div>
<div class="column_main">
<form action="$rel_path_to_root/backend/admin/users" method="post" accept-charset="UTF-8">
<h2><ste:get_translation for="groups" /></h2>
<table class="listtab fullwidth">
<thead>
<tr>
<th style="width: 3ex"> </th>
<th><ste:get_translation for="groupname" /></th>
</tr>
</thead>
<tbody>
<ste:foreach array="groups" value="group">
<tr>
<td><input type="checkbox" name="groups_multiselect[]" value="$group[id]" /></td>
<td><ste:escape>$group[name]</ste:escape></td>
</tr>
</ste:foreach>
</tbody>
</table>
<div>
<ste:default_delete_yesno name="delete_groups" />
</div>
</form>
<form action="$rel_path_to_root/backend/admin/users" method="post" accept-charset="UTF-8">
<h2><ste:get_translation for="users" /></h2>
<table class="listtab fullwidth">
<thead>
<tr>
<th style="width: 3ex"> </th>
<th><ste:get_translation for="username" /></th>
<th><ste:get_translation for="member_of_groups" /></th>
<th><ste:get_translation for="fullname"/></th>
<th><ste:get_translation for="mail_address" /></th>
</tr>
</thead>
<tbody>
<ste:foreach array="users" value="user_x">
<tr>
<td><input type="checkbox" name="users_multiselect[]" value="$user_x[id]" /></td>
<td><a href="$rel_path_to_root/backend/admin/users/u/$user_x[id]"><ste:escape>$user_x[name]</ste:escape></a></td>
<td>
<ste:foreach array="user_x[memberof]" value="group" counter="i">
?{~{$i|eq|0}||, }<ste:escape>$group</ste:escape>
</ste:foreach>
</td>
<td><ste:escape>$user_x[fullname]</ste:escape></td>
<td><ste:escape>$user_x[mail]</ste:escape></td>
</tr>
</ste:foreach>
</tbody>
</table>
<div>
<ste:default_delete_yesno name="delete_users" />
</div>
</form>
</div>
</div>
<div class="dualcolumns_stop"></div>
</ste:block>
|