28d2ede060825a423d0141dc072b597a2c28e5d2
[mir.git] / templates / admin / abuse.log.template
1 <html>
2   <head>
3     <title>${config["Mir.Name"]} | ${lang("abuse.log.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 "head.template">
9
10   <p>
11     <a class="link-box" href="${config.actionRoot}?module=Abuse"> [ &lt; ] ${lang("back")}</a>&nbsp;&nbsp;
12     <a class="link-box" href="${config.actionRoot}?module=Abuse&amp;do=showfilterconfiguration">${lang("abuse.showfilterconfiguration")}</a>
13     <br>
14   </p>
15     <if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
16       <form method="post" action="${config.actionRoot}">
17         <input type="hidden" name="module" value="Localizer">
18         <input type="hidden" name="do" value="operationbatch">
19         <input type="hidden" name="returnurl" value="${utility.encodeHTML(thisurl)}">
20         <p class="box">
21           <input type="submit" class="majorbutton" name="save" value="${lang("save")}">
22         </p>
23     </if>
24
25
26     <table border="0" cellpadding="2" cellspacing="3">
27       <tr class="darkgrey">
28         <td class="table-head">${lang("abuse.log.time")}</td>
29         <td class="table-head">${lang("abuse.log.address")}</td>
30         <td class="table-head">${lang("abuse.log.object")}</td>
31         <td class="table-head"></td>
32         <td class="table-head">${lang("abuse.log.browser")}</td>
33         <td class="table-head">${lang("abuse.log.filtertag")}</td>
34       </tr>
35
36       <assign grey="0">
37       <list log as l>
38         <if grey=="1"><assign grey="0"><tr class="listrow1"><else><tr class="listrow2"><assign grey="1"> </if>
39           <td>${l.timestamp.format(config["Mir.DefaultDateTimeFormat"])}</td>
40           <td>${l.ip}</td>
41           <td>
42             <if l.type=="content">
43               <a href="${config.actionRoot}?module=Content&do=edit&id=${l.id}&returnurl=${utility.encodeURI(thisurl)}">Article</a>
44             <else>
45               <a href="${config.actionRoot}?module=Comment&do=edit&id=${l.id}&returnurl=${utility.encodeURI(thisurl)}">Comment</a>
46             </if>
47           </td>
48           <td>
49             <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="0">
50               <list l.object.operations as op>
51                 [ <a href="${config.actionRoot}?module=Localizer&do=operation&objectype=${l.type}&operation=${op}&id=${l.object.id}&returnurl=${utility.encodeURI(thisurl + "#" + l.object.id)}">${lang(l.type+".operation."+op)}</a> ]
52               </list>
53             </if>
54             <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="1">
55               <list l.object.operations as op>
56                  <input type="checkbox" name="operation" value="${l.type};${l.object.id};${op}">${lang(l.type+".operation."+op)}
57               </list>
58             </if>
59             <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="2">
60               <select name="operation">
61                 <option value="" selected>&nbsp;</option>
62                 <list l.object.operations as op>
63                   <option value="${l.type};${l.object.id};${op}">${lang(l.type+".operation."+op)}</option>
64                 </list>
65               </select>
66             </if>
67           </td>
68           <td>${utility.encodeHTML(l.browser)}</td>
69           <td><if l.filtertag>${l.filtertag}</if></td>
70         </tr>
71       </list>
72     <tr>
73       <td colspan="6" class="table-foot">&nbsp;</td>
74     </tr>
75     </table>
76     <if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
77       </form>
78     </if>
79
80     <p>
81       <a class="link-box" href="${config.actionRoot}?module=Abuse"> [ &lt; ] ${lang("back")}</a>&nbsp;&nbsp;
82     <a class="link-box" href="${config.actionRoot}?module=Abuse&amp;do=showfilterconfiguration">${lang("abuse.showfilterconfiguration")}</a>
83     </p>
84
85     <include "foot.template">
86   </body>
87 </html>
88
89