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 ca/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 | Entra la teva resposta: |
- | |
| 20 | !else |
- | |
| 21 | <b>Corregeix</b> la teva resposta: |
- | |
| 22 | !endif |
- | |
| 23 | </legend> |
- | |
| 24 | - | ||
| 25 | !if $hasembedding!=yes |
- | |
| 26 | <a name="oefform" id="oefform"> </a> |
- | |
| 27 | !form reply name="replyform" onsubmit="return formcheck();" |
- | |
| 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 |
- | |
| 37 | <br><table border="0"> |
- | |
| 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 | ! |
1 | !exit |
| 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 |
- | |
| 50 | !if $hasembedding!=yes |
- | |
| 51 | </fieldset> |
- | |
| 52 | <!-- </fieldset> end of "oefform" fieldset--> |
- | |
| 53 | !endif |
- | |
| 54 | !if $oef_formnosubmit!=yes |
- | |
| 55 | <center> |
- | |
| 56 | <input type=submit value="Envia la resposta"> |
- | |
| 57 | </center> |
- | |
| 58 | !endif |
- | |
| 59 | </form> |
- | |
| 60 | - | ||
| 61 | !if $qcmgood<1 and $choicecnt>0 |
- | |
| 62 | <small><b>Nota.</b> Tria '$ch_none', si penses que entre les respostes |
- | |
| 63 | presentades no n'hi ha cap de correcta.</small> <p> |
- | |
| 64 | !endif |
- | |
| 65 | - | ||