small fixes here and there
[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     <table border="0" cellpadding="2" cellspacing="3">
16       <tr class="darkgrey">
17         <td class="table-head">${lang("abuse.log.time")}</td>
18         <td class="table-head">${lang("abuse.log.address")}</td>
19         <td class="table-head">${lang("abuse.log.object")}</td>
20         <td class="table-head">${lang("abuse.log.browser")}</td>
21         <td class="table-head">${lang("abuse.log.filtertype")}</td>
22         <td class="table-head">${lang("abuse.log.filterexpression")}</td>
23       </tr>
24       
25       <assign grey="0">      
26       <list log as l>
27         <if grey=="1"><assign grey="0"><tr class="listrow1"><else><tr class="listrow2"><assign grey="1"> </if>
28           <td>${l.timestamp.format(config["Mir.DefaultDateTimeFormat"])}</td>
29           <td>${l.ip}</td>
30           <td>
31             <if l.type=="content">
32               <a href="${config.actionRoot}?module=Content&do=edit&id=${l.id}&returnurl=${utility.encodeURI(thisurl)}">Article</a>
33             <else>
34               <a href="${config.actionRoot}?module=Comment&do=edit&id=${l.id}&returnurl=${utility.encodeURI(thisurl)}">Comment</a>
35             </if>
36           </td>
37           <td>${l.browser}</td>
38           <td><if l.hitfiltertype>${lang("abuse.filtertype."+l.hitfiltertype)}</if></td>
39           <td>${utility.encodeHTML(l.hitfilterexpression)}</td>
40         </tr>
41       </list>
42     <tr>
43       <td colspan="6" class="table-foot">&nbsp;</td>
44     </tr>
45     </table>
46
47     <p>
48       <a class="link-box" href="${config.actionRoot}?module=Abuse"> [ &lt; ] ${lang("back")}</a>&nbsp;&nbsp;
49     <a class="link-box" href="${config.actionRoot}?module=Abuse&amp;do=showfilterconfiguration">${lang("abuse.showfilterconfiguration")}</a>
50     </p>
51
52     <include "foot.template">
53   </body>
54 </html>
55
56