0fc20dc0513ee5fecc81746329ba3ee7244aced5
[mir.git] / templates / admin / abuse.filter.template
1 <html>
2 <head>
3   <title>${lang("abuse.filter.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 <include "EDITFUNCTIONS.template">
11
12 <include "head.template">
13
14 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
15
16   <if errormessage>
17      <p class="text-alert"> ${lang("abuse.filtererror."+errormessage)}
18      </p>
19   </if>
20
21
22   <call EditStart( 
23         ["module", "id", "do"], 
24         ["Abuse", id, "updatefilter"])>
25
26         <call EditPullDownNormal(lang("abuse.filter.type"), "type", filtertypes, "identifier", "resource", type, "abuse.filtertype.")>\r
27         <call EditTextNormal (lang("abuse.filter.expression"), 40, 255, "expression", expression)>
28         <call EditPullDownNormal(lang("abuse.filter.articleaction"), "articleaction", articleactions, "identifier", "resource", articleaction, "content.operation.")>\r
29         <call EditPullDownNormal(lang("abuse.filter.commentaction"), "commentaction", commentactions, "identifier", "resource", commentaction, "comment.operation.")>\r
30         <call EditTextAreaNormal (lang("abuse.filter.comments"), "", 40, 3, "comments", comments)>
31         
32         <tr>
33           <td class="table-foot" colspan="2" align="right"> 
34           <if id>
35             <input type="submit" name="save" value="${lang("save")}">
36           <else>
37             <input type="submit" name="save" value="${lang("insert")}">
38           </if> 
39           </td>
40         </tr>
41         
42   <call EditEnd()>
43   <p><a class="link-box" href="${config.actionRoot}?module=Abuse&do=showfilters">[&lt;] ${lang("back")} </a> &nbsp;</p>
44     <include "foot.template">
45   </body>
46 </html>