summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-19 23:05:05 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-19 23:05:05 +0000
commitc9871b781460776c1a17baea3f91c91d6fd01b26 (patch)
tree8853c8fb6f68723258cf33496f542ce1e7d48d05 /modules/book.module
parent87cdd8918148a5997e012edf81a07e5dda5b5dc2 (diff)
downloadbrdo-c9871b781460776c1a17baea3f91c91d6fd01b26.tar.gz
brdo-c9871b781460776c1a17baea3f91c91d6fd01b26.tar.bz2
- updating all nodes to use taxonomy terms.
- updated node modules not to cause errors when taxonomy module is disabled. - added %date variable to user mail configuration. - added hyperlinks to admin.php?mod=system (site configuration) for easy access. - usual coding style and xhtml fixes.
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/book.module b/modules/book.module
index a246571b3..925261196 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -183,6 +183,10 @@ function book_form(&$node, &$help, &$error) {
}
}
+ if (function_exists("taxonomy_node_form")) {
+ $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("Log message"), "log", $node->log, 60, 5, t("An explanation of the additions or updates being made to help the group understand your motivations."));