Rev 1009 | Rev 1105 | 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 |
||
3 | !set renewlink=cmd=next&retest=again |
||
4 | $header_js |
||
5 | !goto tester |
||
6 | !else |
||
7 | !set init_parm=!translate + to $ $ in $module_init_parm |
||
8 | !set renewlink=cmd=renew&worksheet=$worksheet&$init_parm |
||
9 | !endif |
||
10 | |||
11 | !if $printing=yes |
||
12 | !changeto oef/print.phtml |
||
13 | !endif |
||
14 | |||
15 | !if $title!=$empty |
||
16 | !set module_title=$title |
||
17 | !set module_author=$author |
||
18 | !set module_address=$email |
||
19 | !endif |
||
20 | |||
21 | !if 0$delay2>0 and $status!=$empty |
||
22 | !set now_=$wims_nowseconds |
||
1060 | bpr | 23 | !read js/chrono.phtml $[max(0,$delay1-($now_-$starttime))] |
20 | reyssat | 24 | !endif |
1060 | bpr | 25 | !set wims_html_header=!append line $header_js to $wims_html_header |
20 | reyssat | 26 | !header |
27 | |||
28 | !if $title=$empty |
||
29 | Ta modul je sestavljen iz skupine vaj. Očitno ste ga zahtevali, ne da bi natančno izbrali katero od veljavnih vaj. Morda ste kliknili na napačno povezavo ali pa gre za napako v programu. |
||
30 | <p><center> |
||
31 | !href module=$module Poskusite znova |
||
32 | ali pa |
||
33 | !href $ opustite |
||
34 | . </center> |
||
35 | !goto end |
||
36 | !endif |
||
37 | |||
38 | !if 0$delay1>0 and $status!=$empty |
||
1060 | bpr | 39 | <p><form target="#" name=chrono><center> |
1009 | bpr | 40 | <table border=2 bgcolor="$wims_ref_bgcolor"><tr><td> |
20 | reyssat | 41 | <b><font color=red>Opozorilo!</font></b> |
42 | !if $qnum>1 |
||
43 | Reševanje te skupine vaj je časovno omejeno. |
||
44 | !else |
||
45 | Reševanje te vaje je časovno omejeno. |
||
46 | !endif |
||
1060 | bpr | 47 | <input size=4 name=clock readonly onFocus="this.blur();"> |
20 | reyssat | 48 | </table> |
49 | </center></form> <p> |
||
50 | !endif |
||
51 | |||
52 | :tester |
||
53 | !read oef/present.phtml |
||
1006 | bpr | 54 | <center><hr width="50%"></center> |
20 | reyssat | 55 | |
56 | !if $cmd=hint |
||
57 | !read oef/hint.phtml |
||
58 | !goto end |
||
59 | !endif |
||
60 | |||
61 | !if $status=waiting |
||
62 | !if $error!=$empty |
||
63 | !read oef/msg.phtml |
||
1006 | bpr | 64 | <center><hr width="50%"></center> |
20 | reyssat | 65 | !endif |
66 | !read oef/form.phtml |
||
67 | <p> |
||
68 | !if $hint!=$empty and $givehint>0 |
||
69 | !href cmd=hint Namig |
||
70 | . |
||
71 | !endif |
||
72 | !if $help!=$empty |
||
73 | !href cmd=help Pomoč |
||
74 | . |
||
75 | !endif |
||
76 | !if $qnum<=1 |
||
77 | !href $renewlink Obnovi vajo |
||
78 | . |
||
79 | !else |
||
80 | To je vaja številka $[$reply_cnt+1] iz niza. Število vseh vaj v tem nizu je $qnum. |
||
81 | !href $renewlink Prekini niz |
||
82 | . |
||
83 | !endif |
||
84 | !else |
||
85 | !if $error!=$empty |
||
86 | !read oef/msg.phtml |
||
1006 | bpr | 87 | <center><hr width="50%"></center> |
20 | reyssat | 88 | !endif |
89 | !read oef/answer.phtml |
||
90 | <p> |
||
91 | !if $status!=$empty |
||
92 | To je vaja številka $[$reply_cnt+1] iz niza. Število vseh vaj v tem nizu je $qnum.<p> |
||
93 | !href cmd=next Nadaljuj niz z naslednjo vajo |
||
94 | ali pa |
||
95 | !href $renewlink prekini niz in začni znova |
||
96 | . (Rezultat dobite le, če zaključite celoten niz.) |
||
97 | !else |
||
98 | !if $qnum>1 |
||
99 | Zaključili ste reševanje niza vaj, za katerega ste dobili oceno |
||
100 | $module_score od 10. |
||
101 | !ifval $module_score>9.8 |
||
102 | Čestitke! |
||
103 | !endif |
||
104 | !if $toolate!=$empty and $score>$module_score |
||
105 | (Bili ste kaznovani zaradi prekoračene časovne omejitve.) |
||
106 | !endif |
||
107 | <p> |
||
108 | !href $renewlink Še enkrat |
||
109 | . |
||
110 | !if $wims_sheet=$empty |
||
111 | !href exo_Intro |
||
112 | . |
||
113 | !endif |
||
114 | !else |
||
115 | Vaš rezultat je $module_score od 10. |
||
116 | !ifval $module_score>9.8 |
||
117 | Čestitke! |
||
118 | !endif |
||
119 | !if $toolate!=$empty and $score>$module_score |
||
120 | (Bili ste kaznovani zaradi prekoračene časovne omejitve.) |
||
121 | !endif |
||
122 | <p> |
||
123 | !href $renewlink Še enkrat |
||
124 | . |
||
125 | !if $wims_sheet=$empty and $oef_test!=yes |
||
126 | !href exo_Intro |
||
127 | . |
||
128 | !endif |
||
129 | !endif |
||
130 | !endif |
||
131 | !endif |
||
132 | |||
133 | !if $replydefaulted=yes |
||
134 | <p> <small> |
||
135 | Preizkusni način: v polja za odgovore so avtomatsko vpisani pravilni odgovori. |
||
136 | </small> |
||
137 | !endif |
||
138 | |||
139 | !read ./endhook.phtml |
||
140 | !if $wims_user=supervisor and exam notin $session and \ |
||
141 | ..classes/ notin ..$module and ..adm/ notin ..$module and \ |
||
142 | ..devel/ notin ..$module and \ |
||
143 | GNU isin $module_copyright and \ |
||
144 | _check notin $session and \ |
||
145 | $class_importation!=no |
||
146 | <p> |
||
147 | !href module=adm/createxo&existing=$thisexo&catmodule=$module Uvozite |
||
148 | to vajo v svojo učilnico, kjer jo lahko prilagodite po svojih željah. |
||
149 | !endif |
||
150 | :end |
||
151 | |||
152 | !tail |
||
153 |