projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use smarty plugins in mail templates.
[platal.git]
/
templates
/
survey
/
show_radio.tpl
diff --git
a/templates/survey/show_radio.tpl
b/templates/survey/show_radio.tpl
index
5ac0a87
..
02dd20c
100644
(file)
--- a/
templates/survey/show_radio.tpl
+++ b/
templates/survey/show_radio.tpl
@@
-22,9
+22,9
@@
{if $survey_resultmode}
<ul>
{if $survey_resultmode}
<ul>
- {
iterate
item=sresult from=$squestion.result}
+ {
foreach
item=sresult from=$squestion.result}
<li>{$squestion.choices[$sresult.answer]} : {$sresult.count*100/$survey.votes|string_format:"%.1f"}% ({$sresult.count} votes)</li>
<li>{$squestion.choices[$sresult.answer]} : {$sresult.count*100/$survey.votes|string_format:"%.1f"}% ({$sresult.count} votes)</li>
- {/
iterate
}
+ {/
foreach
}
</ul>
{else}
{assign var=sid value=$survey.id}
</ul>
{else}
{assign var=sid value=$survey.id}