Rev 1362 | 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 |
1362 | obado | 2 | <!-- Begin fr/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> |
18 | !if $error=$empty |
||
19 | Entrez votre réponse |
||
20 | !else |
||
21 | <b>Corrigez</b> votre réponse : |
||
22 | !endif |
||
23 | </legend> |
||
20 | reyssat | 24 | |
25 | !if $hasembedding!=yes |
||
1362 | obado | 26 | <a name="oefform" id="oefform"> </a> |
27 | !form reply name="replyform" onsubmit="return formcheck();" |
||
20 | reyssat | 28 | !endif |
29 | |||
30 | !if $oefsteps!=$empty and $oefstepcnt>1 |
||
31 | !if $dynsteps=yes |
||
32 | (étape $oefstep) |
||
33 | !else |
||
34 | (étape $oefstep/$oefstepcnt) |
||
35 | !endif |
||
36 | !endif |
||
1362 | obado | 37 | <br><table border="0"> |
20 | reyssat | 38 | !distribute item 1,1 into cntr,cntc |
39 | !for t in $ansorder |
||
40 | !if $oefsteps=$empty or $t$(cnt$t) isitemof $thisstep |
||
41 | !read oef/form$t.phtml $(cnt$t) |
||
42 | !endif |
||
43 | !advance cnt$t |
||
44 | !next t |
||
45 | </table> |
||
46 | :send |
||
47 | !if $wims_fill_list!=$empty and $fillcnt>0 and $wims_fill_type!=$empty |
||
48 | !read anstype/$wims_fill_type.after |
||
49 | !endif |
||
1409 | bpr | 50 | !if $hasembedding!=yes |
51 | </fieldset> |
||
52 | <!-- </fieldset> end of "oefform" fieldset--> |
||
53 | !endif |
||
20 | reyssat | 54 | !if $oef_formnosubmit!=yes |
55 | <center> |
||
1362 | obado | 56 | <input type="submit" value="Envoyer la réponse"> |
20 | reyssat | 57 | </center> |
58 | !endif |
||
59 | </form> |
||
60 | |||
61 | !if $qcmgood<1 and $choicecnt>0 |
||
62 | <small><b>Remarque.</b> Choisissez 'aucun n'est bon', si vous pensez que le bon |
||
63 | choix n'est pas parmi ceux présentés.</small> <p> |
||
64 | !endif |
||
65 |