From c70b19a91bfedbae40304cbfed7b5875c5aae342 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 2 Aug 2007 20:08:53 +0000 Subject: - Patch #163723 by Eaton and Frando: fix default page.tpl markup (and removed some whitespace). --- modules/poll/poll-results-block.tpl.php | 2 +- modules/poll/poll.module | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/poll') diff --git a/modules/poll/poll-results-block.tpl.php b/modules/poll/poll-results-block.tpl.php index d648e58d1..0d2d62d3f 100644 --- a/modules/poll/poll-results-block.tpl.php +++ b/modules/poll/poll-results-block.tpl.php @@ -11,7 +11,7 @@ * - $links: Links in the poll. * - $nid: The nid of the poll * - $cancel_form: A form to cancel the user's vote, if allowed. - * - $raw_links: The raw array of links. Should be run through theme('links') + * - $raw_links: The raw array of links. Should be run through theme('links') * if used. * - $vote: The choice number of the current user's vote. * diff --git a/modules/poll/poll.module b/modules/poll/poll.module index e6952e06a..325101bdf 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -427,7 +427,7 @@ function poll_page() { } /** - * Creates a simple teaser that lists all the choices. + * Creates a simple teaser that lists all the choices. * * This is primarily used for RSS. */ @@ -460,9 +460,9 @@ function poll_view_voting(&$form_state, $node, $block) { '#options' => $list, ); } - + $form['vote'] = array( - '#type' => 'submit', + '#type' => 'submit', '#value' => t('Vote'), '#submit' => array('poll_vote'), ); @@ -594,7 +594,7 @@ function poll_cancel_form(&$form_state, $nid) { $form['#nid'] = $nid; $form['submit'] = array( - '#type' => 'submit', + '#type' => 'submit', '#value' => t('Cancel your vote'), '#submit' => array('poll_cancel') ); -- cgit v1.2.3