2009-01-10 21:11:09 +02:00
|
|
|
<ul class="poll">
|
|
|
|
{foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer}
|
|
|
|
<li {if $oTopic->getQuestionAnswerMax()==$aAnswer.count}class="most"{/if}>
|
|
|
|
<dl>
|
2009-03-11 19:15:21 +02:00
|
|
|
<dt><span>{$oTopic->getQuestionAnswerPercent($key)}%</span><br />({$aAnswer.count})</dt>
|
|
|
|
<dd>{$aAnswer.text}<br /><div style="width: {$oTopic->getQuestionAnswerPercent($key)}%;" ><span></span></div></dd>
|
2009-01-10 21:11:09 +02:00
|
|
|
</dl>
|
|
|
|
</li>
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
<span>{$aLang.topic_question_vote_result}: {$oTopic->getQuestionCountVote()}. {$aLang.topic_question_abstain_result}: {$oTopic->getQuestionCountVoteAbstain()}</span><br>
|
|
|
|
|