summaryrefslogtreecommitdiff
path: root/modules/poll/poll.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/poll/poll.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/poll/poll.module')
-rw-r--r--modules/poll/poll.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 0115de124..e679549b5 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -67,6 +67,10 @@ function poll_form(&$node, &$help, &$error) {
$help = variable_get("poll_help", "");
}
+ if (function_exists("taxonomy_node_form")) {
+ $output = implode("", taxonomy_node_form("poll", $node));
+ }
+
for ($c = 2; $c <= 20; $c++) {
$opts[$c] = $c;
}