scripts/mir-setup/README: update with link to new doc on wiki
[mir.git] / templates / admin / filter.template
1 <html>
2 <head>
3   <title>${lang("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"> ${utility.prettyEncodeHTML(errormessage)}
18      </p>
19   </if>
20
21
22   <call EditStart( 
23         ["module", "groupid", "id", "do"], 
24         ["Abuse", groupid, id, "updatefilter"])>
25
26         <call EditPullDownNormal(lang("filter.type"), "type", filtertypes, "identifier", "resource", type, "filtertype.")>\r
27         <call EditTextNormal (lang("filter.expression"), 40, 255, "expression", expression)>
28         <call EditTextNormal (lang("filter.tag"), 40, 255, "tag", tag)>
29         <call EditPullDownNormal(lang("filter.articleaction"), "articleaction", articleactions, "identifier", "resource", articleaction, "content.operation.")>\r
30         <call EditPullDownNormal(lang("filter.commentaction"), "commentaction", commentactions, "identifier", "resource", commentaction, "comment.operation.")>\r
31         <call EditTextAreaNormal (lang("filter.comment"), "", 40, 3, "comments", comments)>
32         
33         <tr>
34           <td class="table-foot" colspan="2" align="right"> 
35           <if id>
36             <input type="submit" class="majorbutton" name="save" value="${lang("save")}">
37           <else>
38             <input type="submit" class="majorbutton" name="save" value="${lang("insert")}">
39           </if> 
40           </td>
41         </tr>
42         
43   <call EditEnd()>
44   <p><a class="link-box" href="${config.actionRoot}?module=Abuse&amp;do=listfilters&amp;groupid=${groupid}">[&lt;] ${lang("back")} </a> &nbsp;</p>
45     <include "foot.template">
46   </body>
47 </html>