Last change
on this file since 20508 was
3397,
checked in by grum, 15 years ago
|
Add plugin MyPolls - this release is not published in PEM (functionnal but not tested yet...)
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | <!-- question's blocks --> |
---|
2 | |
---|
3 | {foreach from=$datas.question key=name item=question} |
---|
4 | <fieldset class="mypolls_page"> |
---|
5 | <legend>{"mypolls_cm_question"|@translate} #{$question.NUMQ}/{$question.NBQ}</legend> |
---|
6 | <p>{$question.DESCRIPTION}</p> |
---|
7 | <i>{"mypolls_cm_answer"|@translate} {$question.ANSNFO}</i> |
---|
8 | <ol class="compact"> |
---|
9 | {foreach from=$question.answers key=qname item=qvalue} |
---|
10 | <li><label>{$qvalue.INPUTFIELD} {$qvalue.ANSWER}</label></li> |
---|
11 | {/foreach} |
---|
12 | </ol> |
---|
13 | </fieldset> |
---|
14 | {/foreach} |
---|
15 | |
---|
16 | {if isset($datas.NEXTQUESTION) and $datas.NEXTQUESTION!=""} |
---|
17 | <input type="button" value="{"mypolls_next_question"|@translate}" id="inext_step" |
---|
18 | onclick="load_poll_questions('{$datas.NEXTQUESTION}');"> |
---|
19 | {/if} |
---|
20 | |
---|
21 | {if isset($datas.LASTQUESTION) and $datas.LASTQUESTION=='y'} |
---|
22 | {if isset($datas.ALLOWCOMMENT) and $datas.ALLOWCOMMENT=='y'} |
---|
23 | <p><br><i>{"mypolls_put_comment"|@translate}</i><br> |
---|
24 | <textarea name="fmypolls_comment" rows=4 cols=80></textarea></p> |
---|
25 | {/if} |
---|
26 | <input type="submit" value="{'mypolls_submit_results'|@translate}" name="submit_results" id="inext_step" > |
---|
27 | {/if} |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.