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 | !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 init_parm=!replace internal $\ |
- | |
9 | $ by ; in $init_parm |
- | |
10 | !set renewlink=cmd=renew&worksheet=$worksheet&$init_parm |
- | |
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 |
- | |
24 | !set now_=$wims_nowseconds |
- | |
25 | !read js/chrono.phtml $[max(0,$delay1-($now_-$starttime))] |
- | |
26 | !endif |
- | |
27 | !set wims_html_header=!append line $header_js to $wims_html_header |
- | |
28 | !set wims_html_header=$oefcss\ |
- | |
29 | $wims_html_header |
- | |
30 | - | ||
31 | !header1 |
- | |
32 | <h1 class="oeftitle">$title</h1> |
- | |
33 | - | ||
34 | !if $module_checkdata!=yes |
- | |
35 | !read oef/$module_language/nodata.phtml |
- | |
36 | !goto end |
- | |
37 | !endif |
- | |
38 | - | ||
39 | !if $title=$empty |
- | |
40 | 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. |
- | |
41 | <p><center> |
- | |
42 | !href module=$module Poskusite znova |
- | |
43 | ali pa |
- | |
44 | !href $ opustite |
- | |
45 | . </center> |
- | |
46 | !goto end |
- | |
47 | !endif |
- | |
48 | - | ||
49 | !if 0$delay1>0 and $status!=$empty |
- | |
50 | <p><form target="#" name=chrono><center> |
- | |
51 | <table border=2 bgcolor="$wims_ref_bgcolor"><tr><td> |
- | |
52 | <b><font color=red>Opozorilo!</font></b> |
- | |
53 | !if $qnum>1 |
- | |
54 | Re¹evanje te skupine vaj je èasovno omejeno. |
- | |
55 | !else |
- | |
56 | Re¹evanje te vaje je èasovno omejeno. |
- | |
57 | !endif |
- | |
58 | <input size=4 name=clock readonly onFocus="this.blur();"> |
- | |
59 | </table> |
- | |
60 | </center></form> <p> |
- | |
61 | !endif |
- | |
62 | - | ||
63 | :tester |
- | |
64 | !read oef/present.phtml |
- | |
65 | - | ||
66 | !if $wims_theme_version= or $wims_theme_version<1 |
- | |
67 | <center><hr width="50%"></center> |
- | |
68 | !endif |
- | |
69 | - | ||
70 | !if $cmd=hint |
- | |
71 | !read oef/hint.phtml |
- | |
72 | !goto end |
- | |
73 | !endif |
- | |
74 | - | ||
75 | !if $status=waiting |
- | |
76 | !if $error!=$empty |
- | |
77 | !read oef/msg.phtml |
- | |
78 | !if $wims_theme_version= or $wims_theme_version<1 |
- | |
79 | <center><hr width="50%"></center> |
- | |
80 | !endif |
- | |
81 | !endif |
- | |
82 | !read oef/form.phtml |
- | |
83 | <p> |
- | |
84 | !if $hint!=$empty and $givehint>0 |
- | |
85 | !href cmd=hint Namig |
- | |
86 | . |
- | |
87 | !endif |
- | |
88 | !if $help!=$empty |
- | |
89 | !href cmd=help Pomoè |
- | |
90 | . |
- | |
91 | !endif |
- | |
92 | !if $qnum<=1 |
- | |
93 | !href $renewlink Obnovi vajo |
- | |
94 | . |
- | |
95 | !else |
- | |
96 | To je vaja ¹tevilka $[$reply_cnt+1] iz niza. ©tevilo vseh vaj v tem nizu je $qnum. |
- | |
97 | !href $renewlink Prekini niz |
- | |
98 | . |
- | |
99 | !endif |
- | |
100 | !else |
- | |
101 | !if $error!=$empty |
- | |
102 | !read oef/msg.phtml |
- | |
103 | !if $wims_theme_version= or $wims_theme_version<1 |
- | |
104 | <center><hr width="50%"></center> |
- | |
105 | !endif |
- | |
106 | !endif |
- | |
107 | !read oef/answer.phtml |
- | |
108 | <p> |
- | |
109 | !if $status!=$empty |
- | |
110 | To je vaja ¹tevilka $[$reply_cnt+1] iz niza. ©tevilo vseh vaj v tem nizu je $qnum.<p> |
- | |
111 | !href cmd=next Nadaljuj niz z naslednjo vajo |
- | |
112 | ali pa |
- | |
113 | !href $renewlink prekini niz in zaèni znova |
- | |
114 | . (Rezultat dobite le, èe zakljuèite celoten niz.) |
- | |
115 | !else |
- | |
116 | !if $qnum>1 |
- | |
117 | Zakljuèili ste re¹evanje niza vaj, za katerega ste dobili oceno |
- | |
118 | $module_score od 10. |
- | |
119 | !ifval $module_score>9.8 |
- | |
120 | Èestitke! |
- | |
121 | !endif |
- | |
122 | !if $toolate!=$empty and $score>$module_score |
- | |
123 | (Bili ste kaznovani zaradi prekoraèene èasovne omejitve.) |
- | |
124 | !endif |
- | |
125 | <p> |
- | |
126 | !href $renewlink ©e enkrat |
- | |
127 | . |
- | |
128 | !if $wims_sheet=$empty |
- | |
129 | !href exo_Intro |
- | |
130 | . |
- | |
131 | !endif |
- | |
132 | !else |
- | |
133 | Va¹ rezultat je $module_score od 10. |
- | |
134 | !ifval $module_score>9.8 |
- | |
135 | Èestitke! |
- | |
136 | !endif |
- | |
137 | !if $toolate!=$empty and $score>$module_score |
- | |
138 | (Bili ste kaznovani zaradi prekoraèene èasovne omejitve.) |
- | |
139 | !endif |
- | |
140 | <p> |
- | |
141 | !href $renewlink ©e enkrat |
- | |
142 | . |
- | |
143 | !if $wims_sheet=$empty and $oef_test!=yes |
- | |
144 | !href exo_Intro |
- | |
145 | . |
- | |
146 | !endif |
- | |
147 | !endif |
- | |
148 | !endif |
- | |
149 | ! |
1 | !exit |
150 | - | ||
151 | !if $replydefaulted=yes |
- | |
152 | <p> <small> |
- | |
153 | Preizkusni naèin: v polja za odgovore so avtomatsko vpisani pravilni odgovori. |
- | |
154 | </small> |
- | |
155 | !endif |
- | |
156 | - | ||
157 | !read ./endhook.phtml |
- | |
158 | !!!if $wims_user=supervisor and exam notin $session and \ |
- | |
159 | !! ..classes/ notin ..$module and ..adm/ notin ..$module and \ |
- | |
160 | !! ..devel/ notin ..$module and \ |
- | |
161 | !! GNU isin $module_copyright and \ |
- | |
162 | !! _check notin $session and \ |
- | |
163 | !! $class_importation!=no |
- | |
164 | !! <p> |
- | |
165 | !! !href module=adm/createxo&existing=$thisexo&catmodule=$module Uvozite |
- | |
166 | !! to vajo v svojo uèilnico, kjer jo lahko prilagodite po svojih ¾eljah. |
- | |
167 | !!!endif |
- | |
168 | :end |
- | |
169 | !tail |
- | |
170 | - |