summaryrefslogtreecommitdiff
path: root/skins/stone/ulist.tmpl
blob: 673740ca498baf1d9459e81694a66e2eee2594f5 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!-- ulist Template -->
<body class="frame">
<div id="body">
<?% ######################################################################## %?>
<?% BLOCK RowButtons %?>
<?% IF allow('uedit') %?>
                        <a href="javascript:popup('uedit','<?% id %?>',620,670,1)">
                            <img src="images/edit.<?% global.imagetyp %?>" alt="" title="<?% gettext("Edit account of user") %?>" />
                        </a>
<?% END %?>
<?% IF allow('udelete') %?>
                        <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>
<?% END %?>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK ItemAsArea %?>
      <div class="areabegin">
        <table class="fieldtable" summary="">
          <tr>
            <td class="fieldhead">&nbsp;</td>
          </tr>
          <tr>
            <td class="fieldtext" height="50" >
               <?% IF allow('uedit') %?>
                  <a title="<?% gettext("Edit account of user") %?>" href="javascript:popup('uedit','<?% id %?>',620,670,1)" class="fieldinline" >
               <?% END %?>
                  <strong><?% user %?></strong><br />
                  <?% right %?><br />
                <?% IF allow('uedit') %?>
                  </a>
                <?% END %?>
            </td>
          </tr>
          <tr>
            <td class="fieldtext">
              <table class="fieldinline" summary="">
                <tr>
                    <td valign="middle" align="left" class="fieldinline" >
                        &nbsp;
                    </td>
                    <td class="fieldinline push">
                        <?% PROCESS RowButtons %?>
                    </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td class="fieldbottom"></td>
          </tr>
        </table>
      </div>
<?% END %?>
<?% ######################################################################## %?>
<h1><?% gettext("User administration") %?></h1>
<?% IF data.size > 1 %?>
<?% fields = data.shift %?>
    <?% FOREACH zeile IN data %?>
        <?% IF verbose;"<!-- Item: ";FOREACH x IN zeile;loop.count - 1;":";x.replace("-"," ");"|";END;"-->";END %?>
        <?% id=zeile.0;user=zeile.1;right=zeile.2 %?>
        <?% IF zeile.size <= 1 %?>
          <div class="areaclose"></div>
          <strong><?% zeile %?></strong>
        <?% ELSE %?>
          <?% PROCESS ItemAsArea %?>
        <?% END %?>
    <?% END %?>
<?% END %?>
</div>
<!-- ###### Seite ###### -->
<div id="sidebar">
  <table summary="">
    <tr><td class="sidehead"><?% gettext("User administration",20) %?></td></tr>
<?% IF allow('unew') %?>
    <tr>
    <td class="sidetext">
      <a title="<?% gettext("Create new account for user") %?>" href="javascript:popupcmd('unew',620,670,1)"><img src="images/new.<?% global.imagetyp %?>" alt="" title="<?% gettext("Create new account for user") %?>" /></a>&nbsp;
      <a title="<?% gettext("Create new account for user") %?>" href="javascript:popupcmd('unew',620,670,1)"><?% gettext("Create new account for user",20) %?></a><br />
    </td>
    </tr>
<?% END %?>
    <tr>
    <td class="sidebottom"></td>
    </tr>
  </table>
  <p id="sidefooter">&nbsp;</p>
</div>
<?% INCLUDE header.inc %?>