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_text.tpl
diff --git
a/templates/survey/show_text.tpl
b/templates/survey/show_text.tpl
index
fb5710d
..
b44d1fa
100644
(file)
--- a/
templates/survey/show_text.tpl
+++ b/
templates/survey/show_text.tpl
@@
-23,9
+23,9
@@
{if $survey_resultmode}
Quelques réponses données par les personnes sondées :
<ul>
{if $survey_resultmode}
Quelques réponses données par les personnes sondées :
<ul>
- {
iterate
item=sresult from=$squestion.result}
+ {
foreach
item=sresult from=$squestion.result}
<li>{$sresult.answer}</li>
<li>{$sresult.answer}</li>
- {/
iterate
}
+ {/
foreach
}
</ul>
{else}
<input type="text" name="survey{$survey.id}[{$squestion.id}]" value="" size="50" maxlength="200" {if !$survey_votemode}disabled="disabled"{/if}/>
</ul>
{else}
<input type="text" name="survey{$survey.id}[{$squestion.id}]" value="" size="50" maxlength="200" {if !$survey_votemode}disabled="disabled"{/if}/>