summaryrefslogtreecommitdiff
path: root/modules/poll
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-08-02 20:08:53 +0000
committerDries Buytaert <dries@buytaert.net>2007-08-02 20:08:53 +0000
commitc70b19a91bfedbae40304cbfed7b5875c5aae342 (patch)
treeb237cd93f51090265af063ffb54b1730f9e33eec /modules/poll
parentbb7d1395bc0bc7eafc3a2ba5a410ed35978ba9a6 (diff)
downloadbrdo-c70b19a91bfedbae40304cbfed7b5875c5aae342.tar.gz
brdo-c70b19a91bfedbae40304cbfed7b5875c5aae342.tar.bz2
- Patch #163723 by Eaton and Frando: fix default page.tpl markup (and removed some whitespace).
Diffstat (limited to 'modules/poll')
-rw-r--r--modules/poll/poll-results-block.tpl.php2
-rw-r--r--modules/poll/poll.module8
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')
);