From 51208885de9337d5b40501c9d3e99f929f8332ab Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 30 Dec 2003 14:02:36 +0000 Subject: General filtering improvements - Re-added STYLE/ON*= filtering (this got lost a while ago due to reorganisation) - Added form_group's to node.module's filter options - Fixed incorrect filter usage in poll.module --- modules/node.module | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index b165709ac..5a13cfc4b 100644 --- a/modules/node.module +++ b/modules/node.module @@ -507,10 +507,14 @@ function node_settings() { } function node_conf_filters() { - $output .= form_radios(t("Filter HTML tags"), "filter_html", variable_get("filter_html", 0), array(0 => t("Do not filter"), 1 => t("Strip tags"), 2 => t("Escape tags")), t("How to deal with HTML and PHP tags in user-contributed content. If set to \"Strip tags\", dangerous tags are removed. If set to \"Escape tags\", all HTML is escaped and presented as it was typed.")); - $output .= form_textfield(t("Allowed HTML tags"), "allowed_html", variable_get("allowed_html", "