added option -- without value to topiclist to give mods the possibility to
[mir.git] / templates / admin / breakinglist.template
1 <html>
2 <head>
3   <title>${config["Mir.Name"]} | ${lang("breakinglist.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   
11     <include "head.template">
12
13     <comment>configure this template here</comment>
14     <assign contentlist =
15      data.contentlist>
16     <assign column_nr = 3>
17     <assign column_head_texts = [lang("breaking.date"), lang("breaking.text")]>
18     <assign data_keys = ["webdb_create_formatted", "text",]>
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 = "Breaking">
24     <assign module_jumpback = "Admin">
25     <assign do_jumpback = "">
26
27     <if data.contentlist>
28   
29   <p>
30       <a class="link-box" href="${config.actionRoot}?module=Breaking&do=add">[+] ${lang("add")}</a> &nbsp;
31       <a class="link-box" href="${config.actionRoot}">[&lt;&lt;&lt;] ${lang("head.start")}</a>
32   </p>
33     
34     <call ListTable(contentlist, data_keys, column_head_texts, column_head_CSS, listrow1CSS, listrow2CSS, footer_css, module_name)>   
35     <call PrevNextPage(module_name)>    
36    <else>
37     <P align="center" class="box">${lang("no_matches_found")}</p>
38     </if>
39     
40    <p>
41       <a class="link-box" href="${config.actionRoot}?module=Breaking&do=add">[+] ${lang("add")}</a> &nbsp;
42       <a class="link-box" href="${config.actionRoot}">[&lt;&lt;&lt;] ${lang("head.start")}</a>
43   </p>
44
45
46     <include "foot.template">
47 </body>
48 </html>
49
50