aboutsummaryrefslogtreecommitdiffstats
path: root/root/admin/account_promote.tt
blob: 642937902b0a4cff72ee1c7de994b3fa3ff88f73 (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
<form method="post" action="">
    <table border=0>
        <tr>
            <th>[% l('Select') %]</th>
            <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><input type='checkbox' name='username' value="[% entry.uid %]">
            <td>[% entry.uid %]</td>
            <td>[% entry.mail %]</td>
            <td>[% entry.givenName %]</td>
            <td>[% entry.sn %]</td>
            <td>[% entry.cn %]</td>
        </tr>
        [% END %]
    </table>

    <table border=0>
        <tr>
            <td>[% l('Primary group') %]</td>
            <td>
                <select name="gid">
                [% FOREACH group IN groups %]
                    <option value=[% group.gidNumber %]>[% group.cn %]</option>
                [% END %]
                </select>
            </td>
            <td>
                <input type="submit" value="Promote" />
            </td>
        </tr>
    </table>
</form>