diff options
author | Andrew Dolgov <[email protected]> | 2007-10-24 07:50:10 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-10-24 07:50:10 +0100 |
commit | 7e1265ede7c82999d2def9e001422c41aa48afc0 (patch) | |
tree | a201e929a05887660b213bbbe4c6c7016a9d5e4f /functions.php | |
parent | e0579c6d4fc2af217e751c566817a8cdca08b68c (diff) |
drop tagwall from trunk
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/functions.php b/functions.php index 7de4ed1b5..15f6843b9 100644 --- a/functions.php +++ b/functions.php @@ -73,14 +73,6 @@ require_once 'magpierss/rss_utils.inc'; } - if (ENABLE_TAGWALL) { - include_once "tw/tw-config.php"; - include_once "tw/tw.php"; - include_once TW_SETUP . "paranoya.php"; - - $tw_parser = new twParser(); - } - function _debug($msg) { $ts = strftime("%H:%M:%S", time()); print "[$ts] $msg\n"; @@ -3172,16 +3164,8 @@ if (get_pref($link, "STRIP_UNSAFE_TAGS") || $force_strip_tags) { - if (ENABLE_TAGWALL) { - global $tw_parser; - global $tw_paranoya_setup; - - $res = $tw_parser->strip_tags($res, $tw_paranoya_setup); - } else { - - $res = strip_tags_long($res, "<p><a><i><em><b><strong><blockquote><br><img><div><span>"); - - } + $res = strip_tags_long($res, + "<p><a><i><em><b><strong><blockquote><br><img><div><span><ul><ol><li>"); // $res = preg_replace("/\r\n|\n|\r/", "", $res); // $res = strip_tags_long($res, "<p><a><i><em><b><strong><blockquote><br><img><div><span>"); |