Rev 20 | Rev 1664 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !nocache |
1409 | bpr | 2 | <!-- Begin en/form.phtml--> |
20 | reyssat | 3 | !if $oefsteps!=$empty |
4 | !set fieldtot=!itemcnt $thisstep |
||
5 | !else |
||
6 | !set fieldtot=$[$choicecnt+$replycnt] |
||
7 | !endif |
||
8 | |||
9 | !if $fieldtot<1 |
||
10 | !changeto oef/noreply.phtml |
||
11 | !endif |
||
12 | |||
13 | !set N_=!itemcnt $embedded |
||
14 | !if $fieldtot<=$N_ |
||
15 | !goto send |
||
16 | !endif |
||
1409 | bpr | 17 | <legend> |
20 | reyssat | 18 | !if $error=$empty |
19 | Enter your reply: |
||
20 | !else |
||
21 | <b>Correct</b> your reply: |
||
22 | !endif |
||
1409 | bpr | 23 | </legend> |
24 | !if $hasembedding!=yes |
||
25 | <a name="oefform" id="oefform"> </a> |
||
26 | !form reply name="replyform" onsubmit="return formcheck();" |
||
27 | !endif |
||
28 | |||
20 | reyssat | 29 | !if $oefsteps!=$empty and $oefstepcnt>1 |
30 | !if $dynsteps=yes |
||
31 | (step $oefstep) |
||
32 | !else |
||
33 | (step $oefstep/$oefstepcnt) |
||
34 | !endif |
||
35 | !endif |
||
36 | <br><table border=0> |
||
37 | !distribute item 1,1 into cntr,cntc |
||
38 | !for t in $ansorder |
||
39 | !if $oefsteps=$empty or $t$(cnt$t) isitemof $thisstep |
||
40 | !read oef/form$t.phtml $(cnt$t) |
||
41 | !endif |
||
42 | !advance cnt$t |
||
43 | !next t |
||
44 | </table> |
||
45 | :send |
||
46 | !if $wims_fill_list!=$empty and $fillcnt>0 and $wims_fill_type!=$empty |
||
47 | !read anstype/$wims_fill_type.after |
||
48 | !endif |
||
1409 | bpr | 49 | !if $hasembedding!=yes |
50 | </fieldset> |
||
51 | <!-- </fieldset> end of "oefform" fieldset--> |
||
52 | !endif |
||
20 | reyssat | 53 | !if $oef_formnosubmit!=yes |
54 | <center> |
||
55 | <input type=submit value="Send the reply"> |
||
56 | </center> |
||
57 | !endif |
||
58 | </form> |
||
59 | |||
60 | !if $qcmgood<1 and $choicecnt>0 |
||
61 | <small><b>Remark.</b> Choose '$ch_none', if you think that the good |
||
62 | choice is not among those presented.</small> <p> |
||
63 | !endif |
||
64 |