aboutsummaryrefslogtreecommitdiffstats
path: root/root/admin/account.tt
blob: ae48af70ee9b7d6cc64146b09cb39e95fb17f665 (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
<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>
        [% FOREACH entry IN entries %]
        <tr>
            <td align="left"><a href="[% c.uri_for('/admin/account_modify') %]/[% entry.uid %]">[% entry.uid %]</a></td>
            <td align="left">[% entry.cn %] ( <a href="mailto:[% entry.mail %]">[% entry.mail %]</a>)</td>
        </tr>
        [% END %]
    </table>
[% END %]