blob: 128e36bcefdab579684dcf1d0bfd0cb763d67bf2 (
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
|
<form method="post" action="">
<table>
<tr>
<td>[% l('Search by') %]</td>
<td>
<select name="attribute">
<option value="uid">[% l('Username') %]</option>
<option value="mail">[% l('Email') %]</option>
<option value="cn">[% l('Full Name') %]</option>
<option value="sn">[% l('Surname') %]</option>
</select>
</td>
<!-- td>
<select name="matchtype">
<option value="substring">[% l('contains') %]</option>
<option value="exact">[% l('is exactly') %]</option>
<option value="gte">[% l('greater than or equal to') %]</option>
<option value="lt">[% l('less than') %]</option>
</select>
</td -->
<td><input type="text" name="value" value="" /></td>
<td><button type="submit" value="[% l('Search') %]">[% l('Search') %]</button></td>
</tr>
</table>
</form>
<hr />
[% IF entries %]
<table border=0>
<tr>
<th>[% l('Username') %]</th>
<th>[% l('Email') %]</th>
<th>[% l('First Name') %]</th>
<th>[% l('Surname') %]</td>
<th>[% l('Full Name') %]</td>
</tr>
[% FOREACH entry IN entries %]
<tr>
<td><a href="[% c.uri_for('/admin/account_modify') %]/[% entry.uid %]">[% entry.uid %]</a></td>
<td>[% entry.mail %]</td>
<td>[% entry.givenName %]</td>
<td>[% entry.sn %]</td>
<td>[% entry.cn %]</td>
</tr>
[% END %]
</table>
[% END %]
|