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

", taxonomy_node_form("story", $node)); + 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", ""))); -- cgit v1.2.3