diff options
Diffstat (limited to 'modules/poll')
-rw-r--r-- | modules/poll/poll-results-block.tpl.php | 2 | ||||
-rw-r--r-- | modules/poll/poll.module | 8 |
2 files changed, 5 insertions, 5 deletions
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') ); |