Версия 1.2 (checked in on 2007/08/07 at 08:39:35 by goba)
poll-results-block.tpl.php
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()
poll-results-block.tpl.php
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()
Войдите или
зарегистрируйтесь, чтобы получить возможность отправлять комментарии