diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-19 23:05:05 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-19 23:05:05 +0000 |
commit | c9871b781460776c1a17baea3f91c91d6fd01b26 (patch) | |
tree | 8853c8fb6f68723258cf33496f542ce1e7d48d05 /modules/blog.module | |
parent | 87cdd8918148a5997e012edf81a07e5dda5b5dc2 (diff) | |
download | brdo-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/blog.module')
-rw-r--r-- | modules/blog.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/blog.module b/modules/blog.module index f32c88b9e..79cd93732 100644 --- a/modules/blog.module +++ b/modules/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("<p>", 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", ""))); |