Rev 1105 | Rev 1262 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !nocache |
2 | !if $oef_test=yes |
||
631 | schaersvoo | 3 | !set renewlink=cmd=next&retest=again |
1105 | bpr | 4 | !!$header_js |
20 | reyssat | 5 | !goto tester |
6 | !else |
||
631 | schaersvoo | 7 | !set init_parm=!translate + to $ $ in $module_init_parm |
1105 | bpr | 8 | !set init_parm=!replace internal $\ |
9 | $ by ; in $init_parm |
||
631 | schaersvoo | 10 | !set renewlink=cmd=renew&worksheet=$worksheet&$init_parm |
20 | reyssat | 11 | !endif |
12 | |||
13 | !if $printing=yes |
||
14 | !changeto oef/print.phtml |
||
15 | !endif |
||
16 | |||
17 | !if $title!=$empty |
||
18 | !set module_title=$title |
||
19 | !set module_author=$author |
||
20 | !set module_address=$email |
||
21 | !endif |
||
22 | |||
23 | !if 0$delay2>0 and $status!=$empty |
||
631 | schaersvoo | 24 | !set now_=$wims_nowseconds |
1060 | bpr | 25 | !read js/chrono.phtml $[max(0,$delay1-($now_-$starttime))] |
20 | reyssat | 26 | !endif |
1060 | bpr | 27 | !set wims_html_header=!append line $header_js to $wims_html_header |
1105 | bpr | 28 | !set wims_html_header=$oefcss\ |
29 | $wims_html_header |
||
20 | reyssat | 30 | |
1105 | bpr | 31 | !header1 |
32 | <h1 class="oeftitle">$title</h1> |
||
33 | |||
631 | schaersvoo | 34 | !if $module_checkdata!=yes |
1105 | bpr | 35 | !read oef/$module_language/nodata.phtml |
631 | schaersvoo | 36 | !goto end |
37 | !endif |
||
38 | |||
20 | reyssat | 39 | !if $title=$empty |
631 | schaersvoo | 40 | Deze module bevat een hele verzameling aan oefeningen.<br> |
41 | Je hebt deze blijkbaar aangevraagd zonder te specificeren aan welke |
||
42 | oefening je precies wilt gaan werken.<br> |
||
43 | <small>Dit komt misschien omdat je op een verkeerde link hebt geklikt, |
||
20 | reyssat | 44 | of misschien een software fout ?</small> |
631 | schaersvoo | 45 | <p><center> |
46 | Probeer |
||
47 | !href module=$module opnieuw |
||
20 | reyssat | 48 | , of |
631 | schaersvoo | 49 | !href $ annuleer |
20 | reyssat | 50 | . </center> |
51 | !goto end |
||
52 | !endif |
||
53 | |||
54 | !if 0$delay1>0 and $status!=$empty |
||
1060 | bpr | 55 | <p><form target="#" name=chrono><center> |
1009 | bpr | 56 | <table border=2 bgcolor="$wims_ref_bgcolor"><tr><td> |
631 | schaersvoo | 57 | <b><font color=red>Attentie !</font></b> |
20 | reyssat | 58 | !if $qnum>1 |
631 | schaersvoo | 59 | Deze serie oefeningen heeft een tijdslimiet. |
20 | reyssat | 60 | !else |
631 | schaersvoo | 61 | Deze oefening heeft een tijdslimiet. |
20 | reyssat | 62 | !endif |
1060 | bpr | 63 | <input size=4 name=clock readonly onFocus="this.blur()";> |
20 | reyssat | 64 | </table> |
65 | </center></form> <p> |
||
66 | !endif |
||
67 | |||
68 | :tester |
||
69 | !read oef/present.phtml |
||
631 | schaersvoo | 70 | |
1006 | bpr | 71 | <center><hr width="50%"></center> |
20 | reyssat | 72 | |
73 | !if $cmd=hint |
||
74 | !read oef/hint.phtml |
||
75 | !goto end |
||
76 | !endif |
||
77 | |||
78 | !if $status=waiting |
||
79 | !if $error!=$empty |
||
80 | !read oef/msg.phtml |
||
1006 | bpr | 81 | <center><hr width="50%"></center> |
20 | reyssat | 82 | !endif |
83 | !read oef/form.phtml |
||
84 | <p> |
||
85 | !if $hint!=$empty and $givehint>0 |
||
86 | !href cmd=hint Hint |
||
87 | . |
||
88 | !endif |
||
89 | !if $help!=$empty |
||
90 | !href cmd=help Help |
||
91 | . |
||
92 | !endif |
||
93 | !if $qnum<=1 |
||
631 | schaersvoo | 94 | !href $renewlink Herhaal |
95 | deze oefening. |
||
20 | reyssat | 96 | !else |
631 | schaersvoo | 97 | Dit is de $[$reply_cnt+1] oefening uit een serie van $qnum. |
98 | Ga door met |
||
99 | !href $renewlink deze serie |
||
20 | reyssat | 100 | . |
101 | !endif |
||
102 | !else |
||
103 | !if $error!=$empty |
||
104 | !read oef/msg.phtml |
||
1006 | bpr | 105 | <center><hr width="50%"></center> |
20 | reyssat | 106 | !endif |
107 | !read oef/answer.phtml |
||
108 | <p> |
||
109 | !if $status!=$empty |
||
631 | schaersvoo | 110 | Dit is de $reply_cnt oefening uit een serie van $qnum. <p> |
111 | Ga door naar de |
||
112 | !href cmd=next volgende |
||
113 | of |
||
114 | !href $renewlink herhaal |
||
115 | dezelfde oefening (er wordt pas aan het eind van de reeks een cijfer gegeven). |
||
20 | reyssat | 116 | !else |
117 | !if $qnum>1 |
||
631 | schaersvoo | 118 | U heeft een reeks van $qnum oefeningen afgerond, met een cijfer |
119 | $module_score uit 10. |
||
20 | reyssat | 120 | !ifval $module_score>9.8 |
631 | schaersvoo | 121 | Gefeliciteerd ! |
20 | reyssat | 122 | !endif |
123 | !if $toolate!=$empty and $score>$module_score |
||
631 | schaersvoo | 124 | (U krijgt strafpunten voor het overschrijden van de tijdslimiet.) |
20 | reyssat | 125 | !endif |
126 | <p> |
||
631 | schaersvoo | 127 | !href $renewlink Herhaal |
128 | de hele serie. |
||
20 | reyssat | 129 | !if $wims_sheet=$empty |
130 | !href exo_Intro |
||
131 | . |
||
132 | !endif |
||
133 | !else |
||
631 | schaersvoo | 134 | Uw cijfer is een $module_score uit 10. |
20 | reyssat | 135 | !ifval $module_score>9.8 |
631 | schaersvoo | 136 | Gefeliciteerd ! |
20 | reyssat | 137 | !endif |
138 | !if $toolate!=$empty and $score>$module_score |
||
631 | schaersvoo | 139 | (U hebt strafpunten gekregen voor het overschrijden van de tijdslimiet.) |
20 | reyssat | 140 | !endif |
141 | <p> |
||
631 | schaersvoo | 142 | !href $renewlink Herhaal |
143 | dezelfde oefening. |
||
20 | reyssat | 144 | !if $wims_sheet=$empty and $oef_test!=yes |
145 | !href exo_Intro |
||
146 | . |
||
147 | !endif |
||
148 | !endif |
||
149 | !endif |
||
150 | !endif |
||
151 | |||
152 | !if $replydefaulted=yes |
||
153 | <p> <small> |
||
631 | schaersvoo | 154 | Experimenteer mode: |
155 | !if $oef_default=yes |
||
156 | de goede antwoorde zijn reeds ingevuld |
||
157 | !else |
||
158 | vul de |
||
159 | !href cmd=config&oef_default=yes goede antwoorden |
||
160 | alvast in. |
||
161 | !endif |
||
20 | reyssat | 162 | </small> |
163 | !endif |
||
164 | |||
165 | !read ./endhook.phtml |
||
1198 | bpr | 166 | !!!if $wims_user=supervisor and exam notin $session and \ |
167 | !! ..classes/ notin ..$module and ..adm/ notin ..$module and \ |
||
168 | !! ..devel/ notin ..$module and \ |
||
169 | !! GNU isin $module_copyright and \ |
||
170 | !! _check notin $session and \ |
||
171 | !! $class_importation!=no |
||
172 | !! <p> |
||
173 | !! !href module=adm/createxo&existing=$thisexo&catmodule=$module Importeer |
||
174 | !! deze oefening in uw eigen klas. Daar kan de broncode eenvoudig worden aangepast. |
||
175 | !!!endif |
||
20 | reyssat | 176 | :end |
177 | !tail |
||
178 |