Rev 5763 | Rev 6071 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !nocache |
1393 | bpr | 2 | |
853 | czzmrn | 3 | !if $hasembedding!=yes |
3051 | bpr | 4 | <fieldset class="oefform"> |
853 | czzmrn | 5 | !endif |
1665 | bpr | 6 | |
1664 | bpr | 7 | !nocache |
8 | <!-- Begin form.phtml--> |
||
9 | !if $oefsteps!=$empty |
||
10 | !set fieldtot=!itemcnt $thisstep |
||
11 | !else |
||
12 | !set fieldtot=$[$choicecnt+$replycnt] |
||
13 | !endif |
||
1393 | bpr | 14 | |
1664 | bpr | 15 | !if $fieldtot<1 |
16 | !changeto oef/noreply.phtml |
||
17 | !endif |
||
18 | |||
19 | !set N_=!itemcnt $embedded |
||
20 | !if $fieldtot<=$N_ |
||
21 | !goto send |
||
22 | !endif |
||
23 | <legend> |
||
24 | !if $error=$empty |
||
25 | $name_enterreply: |
||
26 | !else |
||
27 | $name_correctreply: |
||
28 | !endif |
||
29 | </legend> |
||
30 | |||
31 | !if $hasembedding!=yes |
||
32 | <a name="oefform" id="oefform"> </a> |
||
33 | !form reply name="replyform" onsubmit="return formcheck();" |
||
34 | !endif |
||
35 | |||
36 | !if $oefsteps!=$empty and $oefstepcnt>1 |
||
37 | !if $dynsteps=yes |
||
38 | ($name_step $oefstep) |
||
39 | !else |
||
40 | ($name_step $oefstep/$oefstepcnt) |
||
41 | !endif |
||
42 | !endif |
||
5763 | bpr | 43 | <br/><table border="0"> |
1664 | bpr | 44 | !distribute item 1,1 into cntr,cntc |
45 | !for t in $ansorder |
||
46 | !if $oefsteps=$empty or $t$(cnt$t) isitemof $thisstep |
||
47 | !read oef/form$t.phtml $(cnt$t) |
||
48 | !endif |
||
49 | !advance cnt$t |
||
50 | !next t |
||
51 | </table> |
||
52 | :send |
||
53 | !if $wims_fill_list!=$empty and $fillcnt>0 and $wims_fill_type!=$empty |
||
54 | !read anstype/$wims_fill_type.after |
||
55 | !endif |
||
56 | !if $oef_formnosubmit!=yes |
||
2086 | bpr | 57 | !if $oef_js_submit!= |
58 | !set oef_js_submit=onclick="javascript:$oef_js_submit;" |
||
59 | !else |
||
60 | !set oef_js_submit= |
||
61 | !endif |
||
5751 | bpr | 62 | <p class="send_answer"><input type="submit" $oef_js_submit value="$name_sendanswer"/></p> |
1664 | bpr | 63 | !endif |
5928 | bpr | 64 | |
65 | !formend |
||
1664 | bpr | 66 | !if $hasembedding!=yes |
67 | </fieldset> |
||
68 | <!-- </fieldset> end of "oefform" fieldset--> |
||
69 | !endif |
||
70 | |||
71 | !if $qcmgood<1 and $choicecnt>0 |
||
4298 | obado | 72 | <p><small class="remark">$name_remark</small></p> |
1664 | bpr | 73 | !endif |
74 |