exception + misc. cleanup
[mir.git] / templates / admin / userlist.template
1 <html>
2   <head>
3     <title>${config["Mir.Name"]} | ${lang("userlist.htmltitle")}</title>
4     <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
5   </head>
6
7   <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
8     <include "templates/admin/head.template">
9     <p>
10       <a class="majorcommand" href="${config.actionRoot}?module=Users&do=add">${lang("add")}</a> | 
11       <a class="majorcommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("back")}</a>
12     </p>
13
14     <if data.contentlist>
15       <table border="0" cellpadding="2" cellspacing="1">
16         <tr class="darkgrey">
17           <td><span class="witesmall"><b>${lang("user.login")}</b></span></td>
18           <td><span class="witesmall"><b>${lang("user.admin")}</b></span></td>
19         </tr>
20
21         <list data.contentlist as entry>
22           <if grey=="1"><assign grey="0"><tr class="list1"><else><tr class="list2"><assign grey="1"> </if>
23             <td>${entry.login}&nbsp;</td>
24             <td>${entry.is_admin}&nbsp;</td>
25             <td><span class="text">
26                    <a href="${config.actionRoot}?module=Users&do=delete&id=${entry.id}">${lang("delete")}</a>
27                  | <a href="${config.actionRoot}?module=Users&do=edit&id=${entry.id}">${lang("edit")}</a>
28             </span></td>
29           </tr>
30         </list>
31         <tr>
32           <td colspan="3" class="darkgrey"><span class="witetext">
33             ${data.count} ${lang("records")} /  ${lang("show_from_to", data.from, data.to)}
34           </span></td>
35           <td>&nbsp;</td>
36         </tr>
37       </table>
38       <p>
39
40       <if data.prev>
41         <a href="${actionRoot}?module=Users&do=list&where=${where}&prevoffset=${prev}&prev=zur&uuml;ck">${lang("list.previous")}</a>&nbsp;
42       </if>
43       <if data.next>
44         <a href="${actionRoot}?module=Users&do=list&where=${where}&nextoffset=${next}&next=weiter">${lang("list.next")}</a>
45       </if>
46       </p>
47     <else>
48       <p align="center">${lang("no_matches_found")}</p>
49     </if>
50
51     <p>
52       <a class="majorcommand" href="${config.actionRoot}?module=Users&do=add">${lang("add")}</a> |
53       <a class="majorcommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("back")}</a>
54     </p>
55
56     <include "templates/admin/foot.template">
57   </body>
58 </html>
59
60