summaryrefslogtreecommitdiff
path: root/modules/page.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-19 23:05:05 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-19 23:05:05 +0000
commitc9871b781460776c1a17baea3f91c91d6fd01b26 (patch)
tree8853c8fb6f68723258cf33496f542ce1e7d48d05 /modules/page.module
parent87cdd8918148a5997e012edf81a07e5dda5b5dc2 (diff)
downloadbrdo-c9871b781460776c1a17baea3f91c91d6fd01b26.tar.gz
brdo-c9871b781460776c1a17baea3f91c91d6fd01b26.tar.bz2
- 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.
Diffstat (limited to 'modules/page.module')
-rw-r--r--modules/page.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/page.module b/modules/page.module
index a16364a6d..06762b671 100644
--- a/modules/page.module
+++ b/modules/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"));