From 2d0df351d704ba34d191831f7d4b8cb385555be2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 29 Nov 2005 20:17:10 +0000 Subject: - Various fixes. Updated CHANGELOG.txt --- modules/filter.module | 419 +++++++++++++++++++++++++++++++++---------- modules/filter/filter.module | 419 +++++++++++++++++++++++++++++++++---------- modules/search.module | 2 +- modules/search/search.module | 2 +- modules/system.module | 2 +- modules/system/system.module | 2 +- modules/upload.module | 8 - modules/upload/upload.module | 8 - 8 files changed, 648 insertions(+), 214 deletions(-) (limited to 'modules') diff --git a/modules/filter.module b/modules/filter.module index 41e6ad399..2ee9f1743 100644 --- a/modules/filter.module +++ b/modules/filter.module @@ -14,9 +14,6 @@ define('FILTER_FORMAT_DEFAULT', 0); define('FILTER_HTML_STRIP', 1); define('FILTER_HTML_ESCAPE', 2); -define('FILTER_STYLE_ALLOW', 0); -define('FILTER_STYLE_STRIP', 1); - /** * Implementation of hook_help(). */ @@ -65,105 +62,100 @@ function filter_filter_tips($delta, $format, $long = false) { global $base_url; switch ($delta) { case 0: - switch (variable_get("filter_html_$format", FILTER_HTML_STRIP)) { - - case FILTER_HTML_STRIP: - if ($allowed_html = variable_get("allowed_html_$format", '