/**\r
* Statische Hilfsmethoden zur Stringbehandlung\r
*\r
- * @version $Id: StringUtil.java,v 1.33.2.3 2003/07/03 22:47:02 zapata Exp $\r
+ * @version $Id: StringUtil.java,v 1.33.2.4 2003/08/10 00:16:53 zapata Exp $\r
* @author mir-coders group\r
*\r
*/\r
//precompile regex\r
re_newline2br = new RE("(\r?\n){1}");\r
re_brbr2p = new RE("(<br>\r?\n<br>){1,}");\r
- re_mail = new RE("([a-zA-Z0-9_.-]+)@([a-zA-Z0-9_-]+)\\.([a-zA-Z0-9_.-]+)");\r
+ re_mail = new RE("\\b([a-zA-Z0-9_.-]+)@([a-zA-Z0-9_-]+)\\.([a-zA-Z0-9_.-]+)\\b");\r
re_url = new RE("((https://)|(http://)|(ftp://)){1}([a-zA-Z0-9_-]+).([a-zA-Z0-9_.:-]+)/?([^ \t\r\n<>\\)\\]]+[^ \t\r\n.,<>\\)\\]])");\r
re_tags = new RE("<[^>]*>",RE.REG_ICASE);\r
re_tables = new RE("<[ \t\r\n/]*(table|td|tr)[ \t\r\n]*>",RE.REG_ICASE);\r
lang("abuse.filter.lasthit"),
])>
<list filters as f>
- <if f.lastHit>\r
+ <if f.lastHit>\r
<call ListEntry([
lang("abuse.filtertype."+f.type),
utility.encodeHTML(f.expression),
lang("content.operation."+f.articleAction),
lang("comment.operation."+f.commentAction),
- f.comments,
+ f.comments,
f.lastHit.format(config["Mir.DefaultDateTimeFormat"], config["Mir.DefaultTimezone"])
],
"module=Abuse&id="+f.id,
["&do=edit", "&do=delete"],
[lang("edit"), lang("delete")])
>
- <else>
+ <else>
<call ListEntry([
lang("abuse.filtertype."+f.type),
utility.encodeHTML(f.expression),
["&do=edit", "&do=delete"],
[lang("edit"), lang("delete")])
>
- </if>
+ </if>
</list>\r
<call ListEnd()>\r
- <call AddOrBack("Abuse", module_jumpback, do_jumpback)>
+ <p>
+ <a class="link-box" href="${config.actionRoot}?module=Abuse">[ < ] ${lang("back")}</a>
+ <a class="link-box" href="${config.actionRoot}?module=Abuse&do=add">[+] ${lang("add")}</a>
+ <if config["Abuse.DisallowIPLogging"]!="1">
+ <a class="link-box" href="${config.actionRoot}?module=Abuse&do=showlog">${lang("abuse.showlog")}</a>
+ </if>
+ <br><br>
+ </p>
+
<include "foot.template">
</body>
</html>