admin template/stylesheet fix
[mir.git] / templates / admin / topiclist.template
1 <html>
2   <head>
3     <title>${config["Mir.Name"]} | ${lang("topiclist.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
10         <include "FUNCTIONS.template">
11   
12     <include "head.template">
13
14                 <comment>configure this template here</comment>
15                 <assign contentlist = data.contentlist>
16                 <assign column_nr = 5>
17                 <assign column_head_texts = [lang("topic.title"), lang("topic.description"), lang("topic.main_url"), lang("topic.archive_url")]>
18                 <assign data_keys = ["title", "description", "main_url", "archiv_url"]>
19                 <assign column_head_CSS = "table_head">
20                 <assign listrow1CSS = "listrow1">
21                 <assign listrow2CSS = "listrow2">
22                 <assign footer_css = "table_foot">
23                 <assign module_name = "Topics">
24                 <assign module_jumpback = "Admin">
25                 <assign do_jumpback = "superusermenu">
26
27     <if data.contentlist>
28                 <call AddOrBack(module_name, module_jumpback, do_jumpback)>
29                 <call ListTable(contentlist, data_keys, column_head_texts, column_head_CSS, listrow1CSS, listrow2CSS, footer_css, module_name)>   
30                 <call PrevNextPage(module_name)>          
31    <else>
32                 <P align="center">${lang("no_matches_found")}</p>
33     </if>
34     
35         <call AddOrBack(module_name, module_jumpback, do_jumpback)>
36
37     <include "foot.template">
38   
39   </body>
40 </html>
41
42