From 828ba66500f49571f2007cacee25b18dce74336f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 19 Jun 2003 17:26:27 +0000 Subject: - Bugfix: fixed utf-8 problem for people that use PHP 4.2.x or below. Patch #33 by Al. - Bugfix: fixed translation problems in the user module and the block module. Patch by Stefan. - Improvement: made it impossible to delete user role #1 and #2. Patch #38 by Al. - Improvement: fixed the "Allowed HTML tag" issues. Makes for better code and improved usability. Patch #35 by Al. NOTE: as soon the compose tips make their way into CVS, most of this code can be removed. --- modules/story/story.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/story/story.module') diff --git a/modules/story/story.module b/modules/story/story.module index 9d80e73ad..8434646ad 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -76,8 +76,7 @@ function story_form(&$node, &$help, &$error) { if (function_exists("taxonomy_node_form")) { $output .= implode("", taxonomy_node_form("story", $node)); } - - $output .= form_textarea(t("Body"), "body", $node->body, 60, 15, $error["body"] ? $error["body"] : t("Allowed HTML tags") .": ". htmlspecialchars(variable_get("allowed_html", ""))); + $output .= form_textarea(t("Body"), "body", $node->body, 60, 15, $error["body"] ? $error["body"] : form_allowed_tags_text()); return $output; } -- cgit v1.2.3