Rev 1409 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1409 | Rev 1664 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | !nocache |
- | |
2 | <!-- Begin en/form.phtml--> |
- | |
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 |
- | |
17 | <legend> |
- | |
18 | !if $error=$empty |
- | |
19 | Enter your reply: |
- | |
20 | !else |
- | |
21 | <b>Correct</b> your reply: |
- | |
22 | !endif |
- | |
23 | </legend> |
- | |
24 | !if $hasembedding!=yes |
- | |
25 | <a name="oefform" id="oefform"> </a> |
- | |
26 | !form reply name="replyform" onsubmit="return formcheck();" |
- | |
27 | !endif |
- | |
28 | - | ||
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 | ! |
1 | !exit |
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 |
- | |
49 | !if $hasembedding!=yes |
- | |
50 | </fieldset> |
- | |
51 | <!-- </fieldset> end of "oefform" fieldset--> |
- | |
52 | !endif |
- | |
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 | - |