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_textarea.tpl
diff --git
a/templates/survey/show_textarea.tpl
b/templates/survey/show_textarea.tpl
index
88a42b4
..
aca9599
100644
(file)
--- a/
templates/survey/show_textarea.tpl
+++ b/
templates/survey/show_textarea.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}
<textarea name="survey{$survey.id}[{$squestion.id}]" rows="5" cols="60" {if !$survey_votemode}disabled="disabled"{/if}></textarea>
</ul>
{else}
<textarea name="survey{$survey.id}[{$squestion.id}]" rows="5" cols="60" {if !$survey_votemode}disabled="disabled"{/if}></textarea>