Subversion Repositories wimsdev

Rev

Rev 20 | Rev 1664 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20 Rev 1409
Line 1... Line 1...
1
!nocache
1
!nocache
-
 
2
<!-- Begin en/form.phtml-->
2
!if $oefsteps!=$empty
3
!if $oefsteps!=$empty
3
 !set fieldtot=!itemcnt $thisstep
4
 !set fieldtot=!itemcnt $thisstep
4
!else
5
!else
5
 !set fieldtot=$[$choicecnt+$replycnt]
6
 !set fieldtot=$[$choicecnt+$replycnt]
6
!endif
7
!endif
Line 11... Line 12...
11
 
12
 
12
!set N_=!itemcnt $embedded
13
!set N_=!itemcnt $embedded
13
!if $fieldtot<=$N_
14
!if $fieldtot<=$N_
14
 !goto send
15
 !goto send
15
!endif
16
!endif
16
 
-
 
17
!if $hasembedding!=yes
-
 
18
 <a name=oefform id=oefform> </a>
-
 
19
 !form reply name=replyform onsubmit="return formcheck();"
-
 
20
!endif
17
<legend>
21
 
-
 
22
!if $error=$empty
18
!if $error=$empty
23
 Enter your reply:
19
 Enter your reply:
24
!else
20
!else
25
 <b>Correct</b> your reply:
21
 <b>Correct</b> your reply:
26
!endif
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
 
27
!if $oefsteps!=$empty and $oefstepcnt>1
29
!if $oefsteps!=$empty and $oefstepcnt>1
28
 !if $dynsteps=yes
30
 !if $dynsteps=yes
29
  (step $oefstep)
31
  (step $oefstep)
30
 !else
32
 !else
31
  (step $oefstep/$oefstepcnt)
33
  (step $oefstep/$oefstepcnt)
Line 41... Line 43...
41
!next t
43
!next t
42
</table>
44
</table>
43
:send
45
:send
44
!if $wims_fill_list!=$empty and $fillcnt>0 and $wims_fill_type!=$empty
46
!if $wims_fill_list!=$empty and $fillcnt>0 and $wims_fill_type!=$empty
45
 !read anstype/$wims_fill_type.after
47
 !read anstype/$wims_fill_type.after
-
 
48
!endif
-
 
49
!if $hasembedding!=yes
-
 
50
</fieldset>
-
 
51
<!-- </fieldset> end of "oefform" fieldset-->
46
!endif
52
!endif
47
!if $oef_formnosubmit!=yes
53
!if $oef_formnosubmit!=yes
48
 <center>
54
 <center>
49
 <input type=submit value="Send the reply">
55
 <input type=submit value="Send the reply">
50
 </center>
56
 </center>