From c9871b781460776c1a17baea3f91c91d6fd01b26 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 19 May 2002 23:05:05 +0000 Subject: - 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. --- modules/book.module | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/book.module') 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.")); -- cgit v1.2.3