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/blog/blog.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index f32c88b9e..79cd93732 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -241,7 +241,9 @@ function blog_form(&$node, &$help, &$error) { $output .= form_textarea(t("Teaser"), "teaser", $node->teaser, 60, 5, $error["teaser"]); } - $output .= implode("

", taxonomy_node_form("blog", $node)); + if (function_exists("taxonomy_node_form")) { + $output = implode("", taxonomy_node_form("blog", $node)); + } $output .= form_textarea(t("Body"), "body", $node->body, 60, 15, $error["body"] ? $error["body"] : t("Allowed HTML tags") .": ". htmlspecialchars(variable_get("allowed_html", ""))); -- cgit v1.2.3