poll-results.tpl.php
poll-results.tpl.php
Default theme implementation to display the poll results in a block.
Variables available:
- $title: The title of the poll.
- $results: The results of the poll.
- $votes: The total results in the poll.
- $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.
- $vote: The choice number of the current user's vote.
See also
template_preprocess_poll_results()
File
modules/poll/poll-results.tpl.phpRelated topics
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!poll!poll-results.tpl.php/7.x