admin template/stylesheet fix
[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         
9                 <include "FUNCTIONS.template">
10                 <include "head.template">
11                 
12                 <assign contentlist = data.contentlist>
13                 <assign column_nr = 3>
14                 
15                 <assign column_head_texts = [lang("user.login"), lang("user.admin")]>           
16                 <assign data_keys = ["login","is_admin"]>
17                 <assign column_head_CSS = "table_head">
18                 <assign listrow1CSS = "listrow1">
19                 <assign listrow2CSS = "listrow2">
20                 <assign footer_css = "table_foot">
21                 <assign module_name = "Users">
22                 <assign module_jumpback = "Admin">
23                 <assign do_jumpback = "superusermenu">
24         
25
26         
27         <call AddOrBack(module_name, module_jumpback, do_jumpback)>
28
29     <if data.contentlist>
30                 <call ListTable(contentlist, data_keys, column_head_texts, column_head_CSS, listrow1CSS, listrow2CSS, footer_css, module_name)>
31                 <call AddOrBack(module_name, module_jumpback, do_jumpback)>
32         <else>
33       <P align="center">${lang("no_matches_found")}</p>
34     </if>
35     
36
37     <include "foot.template">
38   </body>
39 </html>
40
41