summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-19 17:26:27 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-19 17:26:27 +0000
commit828ba66500f49571f2007cacee25b18dce74336f (patch)
tree642334725a56aaffff5d6fe6dba264fa90071226 /modules/book.module
parent0c5b324809dcb44de8690f7bba21fec607bd67d1 (diff)
downloadbrdo-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/book.module')
-rw-r--r--modules/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book.module b/modules/book.module
index fef661c9c..0521ca168 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -169,7 +169,7 @@ function book_form(&$node, &$help, &$error) {
$output .= implode("", taxonomy_node_form("book", $node));
}
- $output .= form_textarea(t("Body"), "body", $node->body, 60, 20, t("Allowed HTML tags") .": ". htmlspecialchars(variable_get("allowed_html", "")));
+ $output .= form_textarea(t("Body"), "body", $node->body, 60, 20, form_allowed_tags_text());
$output .= form_textarea(t("Log message"), "log", $node->log, 60, 5, t("An explanation of the additions or updates being made to help the group understand your motivations."));
if (user_access("administer nodes")) {