Hjälp: Poll TemplateThe following variables are available to the poll template:
canVote
A condition indicating whether the user has the right to vote on this poll.
question
The poll question.
form.start
The beginning of the vote form.
answer_loop
A loop containing information about the answers in the poll.
answer.form
The radio button for this answer.
answer.text
The text of the answer.
answer.number
The number of this answer. As in 1, 2, 3, etc.
answer.graphWidth
The width that the graph should be rendered for this answer. Based upon a percentage of the total graph size.
answer.percent
The percentage of the vote that this answer has received.
answer.total
The total number of votes that this answer has received.
form.submit
The submit button for the poll form.
form.end
The end of the poll form.
responses.label
The label for the total responses. "Total Votes"
responses.total
The total number of votes that have been placed on this poll.
Se vidare: |