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/forum.module | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/forum.module') diff --git a/modules/forum.module b/modules/forum.module index 923ca58fa..e5b487f09 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -55,6 +55,10 @@ function forum_view($node) { function forum_form(&$node, &$help, &$error) { + if (function_exists("taxonomy_node_form")) { + $output = implode("", taxonomy_node_form("forum", $node)); + } + $output .= form_textarea("Body", "body", $node->body, 60, 10); return $output; -- cgit v1.2.3