bug in media list below articles/comments
[mir.git] / templates / admin / abuse.filters.template
1 <html>
2 <head>
3   <title>${config["Mir.Name"]} | ${lang("abuse.filters.htmltitle")}</title>
4   <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
5 </head>
6 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
7 <include "LISTFUNCTIONS.template">
8 <include "FUNCTIONS.template">
9 <include "head.template">
10
11     <p>
12       <a class="link-box" href="${config.actionRoot}?module=Abuse">[ &lt; ] ${lang("back")}</a>&nbsp;&nbsp;
13       <a class="link-box" href="${config.actionRoot}?module=Abuse&do=add">[+] ${lang("add")}</a> &nbsp;
14       <if config["Abuse.DisallowIPLogging"]!="1">
15         <a class="link-box" href="${config.actionRoot}?module=Abuse&do=showlog">${lang("abuse.showlog")}</a>
16       </if>
17       <br><br>
18     </p>
19     <call ListStart()>\r
20     <call ListHead([
21           lang("abuse.filter.type"), 
22           lang("abuse.filter.expression"),
23           lang("abuse.filter.articleaction"),
24           lang("abuse.filter.commentaction"),
25           lang("abuse.filter.comments"),
26           lang("abuse.filter.lasthit"), 
27            ])>
28     <list filters as f>    
29     <if f.lastHit>\r
30         <call ListEntry([
31           lang("abuse.filtertype."+f.type),
32           utility.encodeHTML(f.expression),
33           lang("content.operation."+f.articleAction),
34           lang("comment.operation."+f.commentAction),
35           utility.prettyEncodeHTML(f.comments),
36           f.lastHit.format(config["Mir.DefaultDateTimeFormat"], config["Mir.DefaultTimezone"])
37           ], 
38           "module=Abuse&id="+f.id, 
39           ["&do=edit", "&do=delete", "&do=moveup", "&do=movedown"], 
40           [lang("edit"), lang("delete"), lang("abuse.filters.moveup"), lang("abuse.filters.movedown")])
41         >
42     <else>
43         <call ListEntry([
44           lang("abuse.filtertype."+f.type),
45           utility.encodeHTML(f.expression),
46           lang("content.operation."+f.articleAction),
47           lang("comment.operation."+f.commentAction),
48           utility.prettyEncodeHTML(f.comments),
49           "-"
50           ], 
51           "module=Abuse&id="+f.id, 
52           ["&do=edit", "&do=delete", "&do=moveup", "&do=movedown"], 
53           [lang("edit"), lang("delete"), lang("abuse.filters.moveup"), lang("abuse.filters.movedown")])
54         >
55     </if>
56     </list>\r
57     <call ListEnd()>\r
58     
59     <p>
60       <a class="link-box" href="${config.actionRoot}?module=Abuse">[ &lt; ] ${lang("back")}</a>&nbsp;&nbsp;
61       <a class="link-box" href="${config.actionRoot}?module=Abuse&do=add">[+] ${lang("add")}</a> &nbsp;
62       <if config["Abuse.DisallowIPLogging"]!="1">
63         <a class="link-box" href="${config.actionRoot}?module=Abuse&do=showlog">${lang("abuse.showlog")}</a>
64       </if>
65       <br><br>
66     </p>
67
68   <include "foot.template">
69 </body>
70 </html>
71
72
73
74