diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-07-07 20:18:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-07-07 20:18:22 +0000 |
commit | 3568ed57e1fc0b0a46ad683b529ea5823a7b78d4 (patch) | |
tree | 2a7271215466e90c67bca910bde224e9f405c8cf /modules/poll | |
parent | bddcee534fb666890d82089742ec709a718588dc (diff) | |
download | brdo-3568ed57e1fc0b0a46ad683b529ea5823a7b78d4.tar.gz brdo-3568ed57e1fc0b0a46ad683b529ea5823a7b78d4.tar.bz2 |
- Moving the title.module from core to contrib as discussed on the mailing list.
Diffstat (limited to 'modules/poll')
-rw-r--r-- | modules/poll/poll.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 45bd9fa2e..2f716062c 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -389,14 +389,14 @@ function poll_vote(&$node) { db_query("UPDATE {poll_choices} SET chvotes = chvotes + 1 WHERE nid = %d AND chorder = %d", $node->nid, $choice); $node->allowvotes = false; $node->choice[$choice]['chvotes']++; - drupal_set_message(t('Your vote was recorded.')); + drupal_set_message(t('your vote was recorded.')); } else { - drupal_set_message(t("You're not allowed to vote on this poll."), 'error'); + drupal_set_message(t("you're not allowed to vote on this poll."), 'error'); } } else { - drupal_set_message(t("You didn't specify a valid poll choice."), 'error'); + drupal_set_message(t("you didn't specify a valid poll choice."), 'error'); } drupal_goto('node/'. $nid); |