Subversion Repositories wimsdev

Rev

Rev 1409 | Go to most recent revision | Details | Last modification | View Log | RSS feed

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