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/page/page.module | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/page/page.module') diff --git a/modules/page/page.module b/modules/page/page.module index a16364a6d..06762b671 100644 --- a/modules/page/page.module +++ b/modules/page/page.module @@ -140,6 +140,10 @@ function page_form(&$node, &$help, &$error) { } } + if (function_exists("taxonomy_node_form")) { + $output .= implode("", taxonomy_node_form("page", $node)); + } + $output .= form_textarea("Body", "body", $node->body, 60, 20); $output .= form_textfield("Link", "link", $node->link, 60, 64); $output .= form_select("Type", "format", $node->format, array(0 => "HTML / text", 1 => "PHP")); -- cgit v1.2.3