summaryrefslogtreecommitdiff
path: root/skins/deltab/ulist.tmpl
blob: ebd175dfea44f4faf7b7fd36aa278d91089a418c (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
<!-- ulist -->
<div id="body">
<?% BLOCK item %?>
        <td>
            <a title="<?% gettext("Edit account of user") %?>" href="?cmd=uedit&amp;data=<?% id %?>">
                <b><?% user %?></b>
            </a>
        </td>
        <td>
                <?% right %?>
        </td>
        <td class="push">
            <a href="?cmd=uedit&amp;data=<?% id %?>">
                <img src="images/edit.<?% global.imagetyp %?>" alt="" title="<?% gettext("Edit account of user") %?>" />
            </a>
            <a href="javascript:sureandreload('<?% gettext("Would you like to delete this user account?") %?> : \'<?% escape( user ) %?>\'','udelete','<?% id %?>')">
                <img src="images/delete.<?% global.imagetyp %?>" alt="" title="<?% gettext("Delete user account") %?>" />
            </a>
        </td>
<?% END %?>

<h1><?% gettext("User administration") %?></h1>
<?% IF data.size > 1 %?>
<?% fields = data.shift %?>
<table summary=""  width="100%">
    <?% FOREACH zeile IN data %?>
     <?% IF verbose;"<!-- Item: ";FOREACH x IN zeile;loop.count - 1;":";x.replace("-"," ");"|";END;"-->";END %?>
        <tr<?% " class='two'" IF loop.count mod 2 == 0 %?>>
        <?% id=zeile.0;user=zeile.1;right=zeile.2 %?>
        <?% IF zeile.size <= 1 %?>
	       <td colspan="3"><h3><?% zeile %?></h3></td>
        <?% ELSE %?>
        <?% PROCESS item %?>
        <?% END %?>
        </tr>
    <?% END %?>
</table>
<?% END %?>
</div>
<!-- ###### Seite ###### -->
<?% IF allow('unew') %?>
<div id="sidebar">
  <p class="section"><?% gettext("User administration",20) %?></p>
    <p>
      <a href="?cmd=unew"><img src="images/new.<?% global.imagetyp %?>" alt="" title="<?% gettext("Create new account for user") %?>" /></a>
      <a href="?cmd=unew"><?% gettext("Create new account for user",20) %?></a><br />
    </p>
</div>
<?% global.sidebar = 1 %?>
<?% END %?>