projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warning on AX admin page
[platal.git]
/
templates
/
survey
/
show_textarea.tpl
diff --git
a/templates/survey/show_textarea.tpl
b/templates/survey/show_textarea.tpl
index
6a6ff69
..
d05fd6d
100644
(file)
--- a/
templates/survey/show_textarea.tpl
+++ b/
templates/survey/show_textarea.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
07
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-20,6
+20,15
@@
{* *}
{**************************************************************************}
{* *}
{**************************************************************************}
+{if $survey_resultmode}
+ Quelques réponses données par les personnes sondées :
+ <ul>
+ {foreach item=sresult from=$squestion.result}
+ <li>{$sresult.answer}</li>
+ {/foreach}
+ </ul>
+{else}
<textarea name="survey{$survey.id}[{$squestion.id}]" rows="5" cols="60" {if !$survey_votemode}disabled="disabled"{/if}></textarea>
<textarea name="survey{$survey.id}[{$squestion.id}]" rows="5" cols="60" {if !$survey_votemode}disabled="disabled"{/if}></textarea>
+{/if}
{* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *}
{* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *}