added:
[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               <if l.object>
44                 <a href="${config.actionRoot}?module=Content&do=edit&id=${l.id}&returnurl=${utility.encodeURI(thisurl)}">Article</a>
45               <else>
46                 Article ${l.id} (no longer available)
47               </if>
48             <else>
49               <if l.object>
50                 <a href="${config.actionRoot}?module=Comment&do=edit&id=${l.id}&returnurl=${utility.encodeURI(thisurl)}">Comment</a>
51               <else>
52                 Comment ${l.id} (no longer available)
53               </if>
54             </if>
55           </td>
56           <td>
57             <if l.object>
58               <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="0">
59                 <list l.object.operations as op>
60                   [ <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> ]
61                 </list>
62               </if>
63               <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="1">
64                 <list l.object.operations as op>
65                    <input type="checkbox" name="operation" value="${l.type};${l.object.id};${op}">${lang(l.type+".operation."+op)}
66                 </list>
67               </if>
68               <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="2">
69                 <select name="operation">
70                   <option value="" selected>&nbsp;</option>
71                   <list l.object.operations as op>
72                     <option value="${l.type};${l.object.id};${op}">${lang(l.type+".operation."+op)}</option>
73                   </list>
74                 </select>
75               </if>
76             </if>
77           </td>
78           <td>${utility.encodeHTML(l.browser)}</td>
79           <td><if l.filtertag>${l.filtertag}</if></td>
80         </tr>
81       </list>
82     <tr>
83       <td colspan="6" class="table-foot">&nbsp;</td>
84     </tr>
85     </table>
86     <if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
87       </form>
88     </if>
89
90     <p>
91       <a class="link-box" href="${config.actionRoot}?module=Abuse"> [ &lt; ] ${lang("back")}</a>&nbsp;&nbsp;
92     <a class="link-box" href="${config.actionRoot}?module=Abuse&amp;do=showfilterconfiguration">${lang("abuse.showfilterconfiguration")}</a>
93     </p>
94
95     <include "foot.template">
96   </body>
97 </html>
98
99