diff options
Diffstat (limited to 'modules/poll.module')
-rw-r--r-- | modules/poll.module | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/poll.module b/modules/poll.module index 8ec52a5e2..0313b62c8 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -220,7 +220,6 @@ function poll_node($field) { function poll_page() { - theme("header"); $result = db_query("SELECT n.nid, n.title, p.active, SUM(c.chvotes) AS votes FROM node n LEFT JOIN poll p ON n.nid=p.nid LEFT JOIN poll_choices c ON n.nid=c.nid WHERE type = 'poll' AND status = '1' AND moderate = '0' GROUP BY n.nid, n.title, p.active, n.created ORDER BY n.created DESC"); $output = "<ul>"; @@ -269,7 +268,7 @@ function poll_view_voting(&$node, $main, $block, $links) { } } } - $output .= "</div>". form_submit(t("Vote")) ."</div>"; + $output .= "</div>". form_submit(t("Vote"), "vote") ."</div>"; $output .= $block ? "<div class=\"links\">". theme("links", $links) ."</div>" : ""; $output .= "</form></div>"; |