diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-19 17:26:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-19 17:26:27 +0000 |
commit | 828ba66500f49571f2007cacee25b18dce74336f (patch) | |
tree | 642334725a56aaffff5d6fe6dba264fa90071226 /modules/story/story.module | |
parent | 0c5b324809dcb44de8690f7bba21fec607bd67d1 (diff) | |
download | brdo-828ba66500f49571f2007cacee25b18dce74336f.tar.gz brdo-828ba66500f49571f2007cacee25b18dce74336f.tar.bz2 |
- 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.
Diffstat (limited to 'modules/story/story.module')
-rw-r--r-- | modules/story/story.module | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |