Версия 1.2 (checked in on 2007/08/07 at 08:39:35 by goba)
poll-bar.tpl.php
Display the bar for a single choice in a poll
Variables available:
$title
: The title of the poll.
$votes
: The number of votes for this choice
$total_votes
: The number of votes for this choice
$percentage
: The percentage of votes for this choice.
$vote
: The choice number of the current user's vote.
$voted
: Set to TRUE
if the user voted for this choice.
See also
template_preprocess_poll_bar()
poll-bar.tpl.php
Display the bar for a single choice in a poll
Variables available:
- $title: The title of the poll.
- $votes: The number of votes for this choice
- $total_votes: The number of votes for this choice
- $percentage: The percentage of votes for this choice.
- $vote: The choice number of the current user's vote.
- $voted: Set to TRUE if the user voted for this choice.
See also
template_preprocess_poll_bar()
Войдите или
зарегистрируйтесь, чтобы получить возможность отправлять комментарии