aboutsummaryrefslogtreecommitdiffstats
path: root/root/admin/account_promote.tt
blob: 9b1053cfda6c7c1a2d61a45e4d47d448b6d5eb2d (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
[% IF promoted.size %]
<div align="left">
    [% l("List of users promoted :") %]
        <ul>
        [% FOREACH p IN promoted %]
        <li><a href="[% c.uri_for('/admin/account_modify') %]/[% p %]">[% p %]</a></li>
        [% END %]
        </ul>
</div>
[% END %]
<form method="post" action="">
    <table border=0>
        [% FOREACH entry IN entries %]
        <tr>
            <td><input type='checkbox' name='username' value="[% entry.uid %]">
            <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>

    <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>