poll-vote.tpl.php

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  1. cis7 modules/poll/poll-vote.tpl.php
  2. cle7 modules/poll/poll-vote.tpl.php
  3. ecd7 modules/poll/poll-vote.tpl.php
  4. elmsmedia7 modules/poll/poll-vote.tpl.php
  5. harmony7 modules/poll/poll-vote.tpl.php
  6. icor7 modules/poll/poll-vote.tpl.php
  7. meedjum_blog7 modules/poll/poll-vote.tpl.php
  8. mooc7 modules/poll/poll-vote.tpl.php

Default theme implementation to display voting form for a poll.

  • $choice: The radio buttons for the choices in the poll.
  • $title: The title of the poll.
  • $block: True if this is being displayed as a block.
  • $vote: The vote button
  • $rest: Anything else in the form that may have been added via form_alter hooks.

See also

template_preprocess_poll_vote()

14 string references to the theme hook from poll-vote.tpl.php

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

poll_cancel in modules/poll/poll.module
Submit callback for poll_cancel_form().
poll_delete in modules/poll/poll.module
Implements hook_delete().
poll_load in modules/poll/poll.module
Implements hook_load().
poll_schema in modules/poll/poll.install
Implements hook_schema().
poll_theme in modules/poll/poll.module
Implements hook_theme().

... See full list

File

modules/poll/poll-vote.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to display voting form for a poll.
  5. *
  6. * - $choice: The radio buttons for the choices in the poll.
  7. * - $title: The title of the poll.
  8. * - $block: True if this is being displayed as a block.
  9. * - $vote: The vote button
  10. * - $rest: Anything else in the form that may have been added via
  11. * form_alter hooks.
  12. *
  13. * @see template_preprocess_poll_vote()
  14. *
  15. * @ingroup themeable
  16. */
  17. ?>
  18. <div class="poll">
  19. <div class="vote-form">
  20. <div class="choices">
  21. <?php if ($block): ?>
  22. <div class="title"><?php print $title; ?></div>
  23. <?php endif; ?>
  24. <?php print $choice; ?>
  25. </div>
  26. <?php print $vote; ?>
  27. </div>
  28. <?php // This is the 'rest' of the form, in case items have been added. ?>
  29. <?php print $rest ?>
  30. </div>

Related topics

Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.