From e20f59d99a09172f6d1af6d7516b4bfec2425958 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 16 Sep 2003 18:34:39 +0000 Subject: [PATCH] - Jonathan's "HTML filter" improvements. > If turning on both filters is bad, we shouldn't allow the user to > select both, should we? The attached patch folds the Escape HTML option > into the same dropdown as the Filter HTML option, preventing both from > being activated. --- modules/node.module | 9 ++++----- modules/node/node.module | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/modules/node.module b/modules/node.module index 13aaf1d6c54..c5b191acc4e 100644 --- a/modules/node.module +++ b/modules/node.module @@ -496,9 +496,8 @@ function node_settings() { } function node_conf_filters() { - $output .= form_select(t("Escape HTML tags"), "escape_html", variable_get("escape_html", 0), array(t("Disabled"), t("Enabled")), t("Escape HTML and PHP tags in user-contributed content. Note that it is generally not a good idea to enable the below 'Filter HTML tags' option when using this filter.")); - $output .= form_select(t("Filter HTML tags"), "filter_html", variable_get("filter_html", 0), array(t("Disabled"), t("Enabled")), t("Filter HTML and PHP tags in user-contributed content. Note that it is generally not a good idea to enable the above 'Escape HTML tags' option when using this filter.")); - $output .= form_textfield(t("Allowed HTML tags"), "allowed_html", variable_get("allowed_html", "