Rev 11990 | Rev 15874 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11990 | Rev 15416 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | <meta http-equiv=expires content="1 Jan 1990"> |
9 | <meta http-equiv=expires content="1 Jan 1990"> |
10 | <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
10 | <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
11 | <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> |
11 | <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> |
12 | <!-- Theme CSS style --> |
12 | <!-- Theme CSS style --> |
13 | <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css"> |
13 | <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css"> |
14 | <style |
14 | <style> |
15 | input[type="submit"],input[type="button"],.wims_button{ background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color;} |
15 | input[type="submit"],input[type="button"],.wims_button{ background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color;} |
16 | .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;} |
16 | .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;} |
17 | </style> |
17 | </style> |
18 | 18 | ||
19 | !if exam_ isin $wims_user_error |
19 | !if exam_ isin $wims_user_error |
20 | <style |
20 | <style><!-- |
21 | body {text-align: justify; |
21 | body {text-align: justify; |
22 | padding-left: 3%; padding-right: 3%;} |
22 | padding-left: 3%; padding-right: 3%;} |
23 | --></style> |
23 | --></style> |
24 | </head> |
24 | </head> |
25 | <body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error"> |
25 | <body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error"> |
26 | <h1 class=" |
26 | <h1 class="wimscenter">ERROR</h1> |
27 | !goto examerr |
27 | !goto examerr |
28 | !endif |
28 | !endif |
29 | 29 | ||
30 | </head><body class="user_error"> |
30 | </head><body class="user_error"> |
31 | 31 | ||
32 | !if threshold iswordof $wims_user_error |
32 | !if threshold iswordof $wims_user_error |
33 | <h1 |
33 | <h1>We are too busy</h1> |
34 | <hr style="width:50%"/> |
34 | <hr style="width:50%" /> |
- | 35 | <p> |
|
35 |
|
36 | This WIMS server <span style="color:blue">$httpd_HTTP_HOST</span> |
36 | is currently overloaded by a large number of requests, and |
37 | is currently overloaded by a large number of requests, and |
37 | can no longer satisfy further users. Please come back later, |
38 | can no longer satisfy further users. Please come back later, |
38 | or look for another wims mirror site. |
39 | or look for another wims mirror site. |
- | 40 | </p><p> |
|
39 |
|
41 | We are very sorry for this inconvenience to you, and hope to be able |
40 | to serve you soon. |
42 | to serve you soon. |
- | 43 | </p> |
|
41 | !read mirror.phtml.en |
44 | !read mirror.phtml.en |
42 | !goto end_html |
45 | !goto end_html |
43 | !endif |
46 | !endif |
44 | 47 | ||
45 | !if overload iswordof $wims_user_error |
48 | !if overload iswordof $wims_user_error |
- | 49 | <hr style="width:1px" /> |
|
46 | <h1 |
50 | <h1>SORRY</h1> |
- | 51 | <p> |
|
47 | Your request is blocked by this WIMS server: connection quota exceeded. |
52 | Your request is blocked by this WIMS server: connection quota exceeded. |
- | 53 | </p> |
|
48 | !goto end_html |
54 | !goto end_html |
49 | !endif |
55 | !endif |
50 | - | ||
51 | !if ++++missing_ isin ++++$wims_user_error |
- | |
52 | <h1 class="wims_center">Sorry</h1> |
- | |
53 | <hr style="width:50%"/> |
- | |
54 | WIMS needs a software |
- | |
55 | !set miss=!upper $missing_software |
- | |
56 | <span class="wims_warning">$miss</span> |
- | |
57 | to process your request, but that software is not available (or not visible |
- | |
58 | to WIMS) on this server. |
- | |
59 | 56 | ||
- | 57 | !if ++++missing_ isin ++++$wims_user_error |
|
- | 58 | <hr width="1"/> |
|
- | 59 | <h1>Sorry</h1> |
|
- | 60 | <hr style="width:50%" /> |
|
- | 61 | <p> |
|
- | 62 | WIMS needs a software |
|
- | 63 | !set miss=!upper $missing_software |
|
- | 64 | <span class="wims_warning">$miss</span> |
|
- | 65 | to process your request, but that software is not available (or not visible |
|
- | 66 | to WIMS) on this server. |
|
- | 67 | </p><p> |
|
60 | You can either |
68 | You can either |
61 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write |
69 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write |
62 | to the site manager</a> to inform him/her of the problem, or choose a |
70 | to the site manager</a> to inform him/her of the problem, or choose a |
63 | mirror site from the table below. |
71 | mirror site from the table below. |
64 | < |
72 | </p><p><a href="$refname">WIMS homepage</a>.</p> |
65 | !read mirror.phtml.en |
73 | !read mirror.phtml.en |
66 | !goto end_html |
74 | !goto end_html |
67 | !endif |
75 | !endif |
68 | 76 | ||
69 | !if trapped iswordof $wims_user_error |
77 | !if trapped iswordof $wims_user_error |
70 | <h1 |
78 | <h1>Stop!</h1> |
71 | <hr/> |
79 | <hr /> |
72 | The content of |
80 | The content of |
73 | <a |
81 | <a href="http://$httpd_HTTP_HOST">$httpd_HTTP_HOST</a> can't be accessed with a |
74 | an offline website copier. |
82 | an offline website copier. |
- | 83 | <p> |
|
75 |
|
84 | Please use a regular web browser. |
- | 85 | </p><p> |
|
76 |
|
86 | WIMS pages are dynamically generated. It can only be used online. |
- | 87 | </p> |
|
77 | !goto end_html |
88 | !goto end_html |
78 | !endif |
89 | !endif |
79 | 90 | ||
- | 91 | !if no_access notwordof $wims_user_error and no_access_class notwordof $wims_user_error |
|
80 | <h1>WIMS error</h1> |
92 | <h1>WIMS error</h1> |
81 |
|
93 | <p> |
82 |
|
94 | There is an error in your request to this WIMS site. |
- | 95 | </p> |
|
83 | !endif |
96 | !endif |
84 | !if module_change iswordof $wims_user_error |
97 | !if module_change iswordof $wims_user_error |
85 | !if $wims_human_access=yes |
98 | !if $wims_human_access=yes |
- | 99 | <p> |
|
86 | Please avoid using the `Back' button of your browser, |
100 | Please avoid using the `Back' button of your browser, |
87 | because you are on an interactive server. |
101 | because you are on an interactive server. |
- | 102 | </p> |
|
88 | <div class="wimscenter"> |
103 | <div class="wimscenter"> |
89 |
|
104 | !set tit=!module title $module |
90 |
|
105 | !default tit=$module |
91 |
|
106 | !href module=$module $tit |
92 |
|
107 | |
93 |
|
108 | !set wims_ref_class=wims_button |
94 |
|
109 | !href $ WIMS home |
95 |
|
110 | !if $httpd_HTTP_REFERER!=$empty |
96 |
|
111 | <a href="$httpd_HTTP_REFERER">Exit WIMS</a> |
97 |
|
112 | !else |
- | 113 | <p class="small"> |
|
98 |
|
114 | If you want to get out of the site, ignore this message and continue |
99 |
|
115 | to click on `Back'. |
- | 116 | </p> |
|
100 |
|
117 | !endif |
101 | </div> |
118 | </div> |
102 | !goto end_html |
119 | !goto end_html |
103 | !endif |
120 | !endif |
- | 121 | <p> |
|
104 | You have asked an illegal module change. |
122 | You have asked an illegal module change. |
105 | Are you using an automatic program to access this site? |
123 | Are you using an automatic program to access this site? |
- | 124 | </p> |
|
106 | :unblock |
125 | :unblock |
107 | !form new |
126 | !form new |
108 | <input type="hidden" name="module" value="home"/> |
127 | <input type="hidden" name="module" value="home" /> |
109 | <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/> |
128 | <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]" /> |
110 | If you have simply clicked on the `back' button of your browser, |
129 | If you have simply clicked on the `back' button of your browser, |
111 | please type the word `wims' here: |
130 | please type the word `wims' here: |
112 | <input size="8" name="special_parm"/> then |
131 | <input size="8" name="special_parm" /> then |
113 | <input type="submit" value="send to the server"/>. |
132 | <input type="submit" value="send to the server" />. |
114 | !formend |
133 | !formend |
- | 134 | <p> |
|
115 |
|
135 | Please bear in mind that pages on this site are dynamically generated. |
116 | They can therefore only be used online, |
136 | They can therefore only be used online, |
117 | via a normal browser. It is useless for you to gather these pages |
137 | via a normal browser. It is useless for you to gather these pages |
118 | using a robot program. |
138 | using a robot program. |
- | 139 | </p> |
|
119 | !if robot_doubt iswordof $wims_user_error |
140 | !if robot_doubt iswordof $wims_user_error |
- | 141 | <p class="small"> |
|
120 |
|
142 | And beware that people trying to hacker on |
121 | this site will see their accesses definitely denied. |
143 | this site will see their accesses definitely denied. |
- | 144 | </p> |
|
122 | !endif |
145 | !endif |
123 | !goto end_html |
146 | !goto end_html |
124 | !endif |
147 | !endif |
125 | 148 | ||
126 | !if robot_doubt iswordof $wims_user_error |
149 | !if robot_doubt iswordof $wims_user_error |
- | 150 | <p> |
|
127 |
|
151 | We block further access to this site for you, because you are suspected |
128 | of using an automatic program to gather pages. |
152 | of using an automatic program to gather pages. |
129 | !goto unblock |
- | |
130 |
|
153 | </p> |
131 | - | ||
132 | !if allow_violation iswordof $wims_user_error |
- | |
133 | <p>You don't have the right to define the variable ``$wims_error_data'' |
- | |
134 | with the command ``$cmd''.</p> |
- | |
135 | !goto |
154 | !goto unblock |
136 | !endif |
155 | !endif |
137 | 156 | ||
- | 157 | !if allow_violation iswordof $wims_user_error |
|
- | 158 | <p> |
|
- | 159 | You don't have the right to define the variable ``$wims_error_data'' |
|
- | 160 | with the command ``$cmd''. |
|
- | 161 | </p> |
|
- | 162 | !endif |
|
- | 163 | ||
138 | !if bad_command iswordof $wims_user_error |
164 | !if bad_command iswordof $wims_user_error |
- | 165 | <p> |
|
139 |
|
166 | The command ``$cmd'' is not valid. |
- | 167 | </p><p> |
|
- | 168 | Valid commands are: |
|
- | 169 | </p> |
|
140 |
|
170 | <pre>new, renew, reply, help, hint, config</pre> |
141 | !endif |
171 | !endif |
142 | 172 | ||
143 | !if bad_host iswordof $wims_user_error |
173 | !if bad_host iswordof $wims_user_error |
- | 174 | <p> |
|
144 |
|
175 | You have tried to access a session from another post. This is not allowed |
145 | for your virtual class. |
176 | for your virtual class. |
- | 177 | </p><p> |
|
146 |
|
178 | Unfortunately, some internet providers give you dynamic host addresses |
147 | which MAY change within one connection. If this is the case, please write |
179 | which MAY change within one connection. If this is the case, please write |
148 | to the supervisor of your class asking him/her to change the access lock |
180 | to the supervisor of your class asking him/her to change the access lock |
149 | policy. |
181 | policy. |
150 |
|
182 | </p> |
151 | !endif |
183 | !endif |
152 | 184 | ||
153 | !if need_https iswordof $wims_user_error |
185 | !if need_https iswordof $wims_user_error |
154 | You should connect to your class via a https request. |
186 | You should connect to your class via a https request. |
155 | !set refname=!replace http:// by https:// in $wims_ref_name |
187 | !set refname=!replace http:// by https:// in $wims_ref_name |
156 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
188 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
157 | !goto end_html |
189 | !goto end_html |
158 | !endif |
190 | !endif |
159 | 191 | ||
160 | !if bad_insnum iswordof $wims_user_error |
192 | !if bad_insnum iswordof $wims_user_error |
- | 193 | <p> |
|
161 | !if $cmd=getfile |
194 | !if $cmd=getfile |
162 | The file you asked for does not exist. |
195 | The file you asked for does not exist. |
163 | !else |
196 | !else |
164 | The file name for dynamic insertion is not valid. |
197 | The file name for dynamic insertion is not valid. |
165 | !endif |
198 | !endif |
166 |
|
199 | </p> |
167 | !endif |
200 | !endif |
168 | 201 | ||
169 | !if cmd_output_too_long iswordof $wims_user_error |
202 | !if cmd_output_too_long iswordof $wims_user_error |
- | 203 | <p> |
|
170 | The intermediate result of the computation has exceeded the length limit. |
204 | The intermediate result of the computation has exceeded the length limit. |
171 | You have probably submitted a request which is unrealistically complicated. |
205 | You have probably submitted a request which is unrealistically complicated. |
172 | Simplify your request, please. |
206 | Simplify your request, please. |
173 |
|
207 | </p> |
174 | !endif |
208 | !endif |
175 | 209 | ||
176 | !if double_click iswordof $wims_user_error |
210 | !if double_click iswordof $wims_user_error |
- | 211 | <p> |
|
177 |
|
212 | This request arrived while the process of another request from you is |
178 | still under way. |
213 | still under way. |
- | 214 | </p><p> |
|
179 | If you have been double clicking, now please wait |
215 | If you have been double clicking, now please wait |
180 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
216 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
181 | for the process of your old request to terminate, then |
217 | for the process of your old request to terminate, then |
182 | !href cmd=resume click here |
218 | !href cmd=resume click here |
183 | to get back to your work. (And please be more patient the next time |
219 | to get back to your work. (And please be more patient the next time |
184 | you ask wims to do lengthy computations.) |
220 | you ask wims to do lengthy computations.) |
185 | <p> |
221 | </p><p> |
186 | If you are using ``back'' button of your browser to get out of wims, you |
222 | If you are using ``back'' button of your browser to get out of wims, you |
187 | may ignore this message and go ahead. |
223 | may ignore this message and go ahead. |
- | 224 | </p> |
|
188 | !goto end_html |
225 | !goto end_html |
189 | !endif |
226 | !endif |
190 | 227 | ||
191 | !if invalid_char_in_query_string iswordof $wims_user_error |
228 | !if invalid_char_in_query_string iswordof $wims_user_error |
- | 229 | <p> |
|
192 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
230 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
193 |
|
231 | </p> |
194 | !endif |
232 | !endif |
195 | 233 | ||
196 | !if name_conflict iswordof $wims_user_error |
234 | !if name_conflict iswordof $wims_user_error |
- | 235 | <p> |
|
197 | ``$wims_error_data'' is a reserved name for wims. |
236 | ``$wims_error_data'' is a reserved name for wims. |
198 |
|
237 | </p> |
199 | !endif |
238 | !endif |
200 | 239 | ||
201 | !if no_command iswordof $wims_user_error |
240 | !if no_command iswordof $wims_user_error |
- | 241 | <p> |
|
202 | There is no command. |
242 | There is no command. |
203 |
|
243 | </p> |
204 | !endif |
244 | !endif |
205 | 245 | ||
206 | !if no_insnum iswordof $wims_user_error |
246 | !if no_insnum iswordof $wims_user_error |
- | 247 | <p> |
|
207 | !if $cmd=getfile |
248 | !if $cmd=getfile |
208 | You have asked for a file without giving its name. |
249 | You have asked for a file without giving its name. |
209 | !else |
250 | !else |
210 | You have asked for a dynamic insertion without giving its number. |
251 | You have asked for a dynamic insertion without giving its number. |
211 | !endif |
252 | !endif |
212 |
|
253 | </p> |
213 | !endif |
254 | !endif |
214 | 255 | ||
215 | !if no_module_name iswordof $wims_user_error |
256 | !if no_module_name iswordof $wims_user_error |
- | 257 | <p> |
|
216 | You have asked a new session without module name. |
258 | You have asked a new session without module name. |
217 |
|
259 | </p> |
218 | !endif |
260 | !endif |
219 | 261 | ||
220 | !if no_session iswordof $wims_user_error |
262 | !if no_session iswordof $wims_user_error |
- | 263 | <p> |
|
221 | The session number is missing. |
264 | The session number is missing. |
222 |
|
265 | </p> |
223 | !endif |
266 | !endif |
224 | 267 | ||
225 | !if parm_too_long iswordof $wims_user_error |
268 | !if parm_too_long iswordof $wims_user_error |
- | 269 | <p> |
|
226 | Your parameter string has exceeded length limit. This is not allowed by |
270 | Your parameter string has exceeded length limit. This is not allowed by |
227 | security |
271 | security reasons. Sorry. |
228 |
|
272 | </p> |
229 | !endif |
273 | !endif |
230 | 274 | ||
231 | !if string_too_long iswordof $wims_user_error |
275 | !if string_too_long iswordof $wims_user_error |
- | 276 | <p> |
|
232 | The definition of variable has a length which exceeds the limit. |
277 | The definition of variable has a length which exceeds the limit. |
233 |
|
278 | </p> |
234 | !endif |
279 | !endif |
235 | 280 | ||
236 | !if too_many_variables iswordof $wims_user_error |
281 | !if too_many_variables iswordof $wims_user_error |
- | 282 | <p> |
|
237 | The number of parameters which you transmitted has exceeded the limit |
283 | The number of parameters which you transmitted has exceeded the limit |
238 | authorized in this wims site. |
284 | authorized in this wims site. |
239 |
|
285 | </p> |
240 | !endif |
286 | !endif |
241 | 287 | ||
242 | !if unmatched_parentheses iswordof $wims_user_error |
288 | !if unmatched_parentheses iswordof $wims_user_error |
- | 289 | <p> |
|
243 | We have detected unmatched parentheses in your request. |
290 | We have detected unmatched parentheses in your request. |
244 | You may correct the error here: |
291 | You may correct the error here: |
- | 292 | </p> |
|
245 | !form $cmd |
293 | !form $cmd |
246 |
|
294 | !for i in module,special_parm,worksheet |
247 |
|
295 | !if $($i)!=$empty |
248 |
|
296 | !set value=!translate " to $ $ in $($i) |
249 |
|
297 | <input type="hidden" name="$i" value="$value" /> |
250 |
|
298 | !endif |
251 |
|
299 | !next i |
252 |
|
300 | !for i=0 to $user_var_no-1 |
253 |
|
301 | !if $i!=$bad_parentheses |
254 |
|
302 | !set value=!translate " to $ $ in $(value$i) |
255 |
|
303 | <input type="hidden" name="$(name$i)" value="$value" /> |
256 |
|
304 | !endif |
257 |
|
305 | !next i |
258 |
|
306 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
259 |
|
307 | !set len=!charcnt $value |
- | 308 | !if $len<55 |
|
- | 309 | !set len=$[$len+3] |
|
- | 310 | !else |
|
- | 311 | !set len=59 |
|
- | 312 | !endif |
|
- | 313 | !set input_id=$(name$bad_parentheses) |
|
- | 314 | <div class="field box"> |
|
- | 315 | <label for="$input_id">$input_id =</label> |
|
260 | !set n=!linecnt $value |
316 | !set n=!linecnt $value |
261 | !set input_id=$(name$bad_parentheses) |
- | |
262 | <div class="field box"> |
- | |
263 | <label for="$input_id">$input_id =</label> |
- | |
264 |
|
317 | !if $n<=1 |
265 | !if $len<55 |
- | |
266 | !set len=$[$len+3] |
- | |
267 | !else |
- | |
268 | !set len=59 |
- | |
269 | !endif |
- | |
270 |
|
318 | <input size="$len" name="$input_id" id="$input_id" value="$value" /> |
271 |
|
319 | !else |
272 | !if $n>10 |
- | |
273 | !set n=10 |
- | |
274 | !endif |
- | |
275 |
|
320 | <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea> |
276 |
|
321 | !endif |
277 |
|
322 | </div> |
278 |
|
323 | <p class="actions"> |
279 |
|
324 | Puis |
280 |
|
325 | <input type="submit" value="envoyer la requête corrigée." /> |
281 |
|
326 | </p> |
282 |
|
327 | !formend |
283 | <hr/> |
328 | <hr /> |
284 | < |
329 | <p class="wimscenter"> |
285 | !href cmd=resume Cancel the last request |
330 | !href cmd=resume Cancel the last request |
286 | | |
331 | | |
287 | !href $ wims home |
332 | !href $ wims home |
288 | </ |
333 | </p> |
289 | !goto end_html |
334 | !goto end_html |
290 | !endif |
335 | !endif |
291 | 336 | ||
292 | !if wrong_module iswordof $wims_user_error |
337 | !if wrong_module iswordof $wims_user_error |
293 | !set tmp=!translate "!/<>;': to $ $ in $module |
338 | !set tmp=!translate "!/<>;': to $ $ in $module |
- | 339 | <p> |
|
294 | The module <code>$tmp</code> which you asked for does not exist in this site. |
340 | The module <code>$tmp</code> which you asked for does not exist in this site. |
295 |
|
341 | </p> |
296 | !endif |
342 | !endif |
297 | 343 | ||
298 | !if wrong_session iswordof $wims_user_error |
344 | !if wrong_session iswordof $wims_user_error |
- | 345 | <p> |
|
299 | The session number ``$session'' is not (or no longer) valid. |
346 | The session number ``$session'' is not (or no longer) valid. |
300 | <a href="$refname">Create a new session</a>. |
347 | <a href="$refname">Create a new session</a>. |
301 |
|
348 | </p> |
302 | !endif |
349 | !endif |
303 | 350 | ||
304 | !if rafale iswordof $wims_user_error |
351 | !if rafale iswordof $wims_user_error |
- | 352 | <p> |
|
305 | Please don't play with the exercises! |
353 | Please don't play with the exercises! |
306 | <p> |
354 | </p><p> |
307 | You should take time to think carefully and try to solve the exercises |
355 | You should take time to think carefully and try to solve the exercises |
308 | correctly, instead of ask new ones over and over again. |
356 | correctly, instead of ask new ones over and over again. |
- | 357 | </p> |
|
309 | !set wims_ref_class=wims_button |
358 | !set wims_ref_class=wims_button |
310 | !href cmd=resume Cancel last request |
359 | !href cmd=resume Cancel last request |
311 | !reset wims_ref_class |
- | |
312 | . |
360 | . |
313 | !if $wims_user!=$empty and $wims_user!=supervisor |
361 | !if $wims_user!=$empty and $wims_user!=supervisor |
- | 362 | <p> |
|
314 |
|
363 | <span class="wims_warning">$wims_name_warning.</span>! Don't repeat this error! |
315 | Irregular activities may give you bad scores even when score registration is |
364 | Irregular activities may give you bad scores even when score registration is |
316 | closed. |
365 | closed. |
- | 366 | </p> |
|
317 | !endif |
367 | !endif |
318 | !goto end2 |
368 | !goto end2 |
319 | !endif |
369 | !endif |
320 | 370 | ||
321 | :examerr |
371 | :examerr |
322 | 372 | ||
323 | !if exam_dep iswordof $wims_user_error |
373 | !if exam_dep iswordof $wims_user_error |
- | 374 | <p> |
|
324 | This exercise is available only when you have successfully made |
375 | This exercise is available only when you have successfully made |
325 | !if , isin $dep_list |
376 | !if , isin $dep_list |
326 | exercises $dep_list. |
377 | exercises $dep_list. |
327 | !else |
378 | !else |
328 | exercise $dep_list. |
379 | exercise $dep_list. |
329 | !endif |
380 | !endif |
- | 381 | </p><p> |
|
330 | Please first try to do the latter. |
382 | Please first try to do the latter. |
- | 383 | </p> |
|
331 | !goto examend |
384 | !goto examend |
332 | !endif |
385 | !endif |
333 | 386 | ||
334 | !if bad_exam iswordof $wims_user_error |
387 | !if bad_exam iswordof $wims_user_error |
- | 388 | <p> |
|
335 | You have issued an illegal request within an examination session. |
389 | You have issued an illegal request within an examination session. |
- | 390 | </p> |
|
336 | !goto examend |
391 | !goto examend |
337 | !endif |
392 | !endif |
338 | 393 | ||
339 | !if exam_exo_finished iswordof $wims_user_error |
394 | !if exam_exo_finished iswordof $wims_user_error |
- | 395 | <p> |
|
340 | You have already done this exercise with a score of $wims_exo_lastscore. |
396 | You have already done this exercise with a score of $wims_exo_lastscore. |
- | 397 | </p><p> |
|
341 | You cannot do it again because this is an examination. |
398 | You cannot do it again because this is an examination. |
- | 399 | </p> |
|
342 | !goto examend |
400 | !goto examend |
343 | !endif |
401 | !endif |
344 | 402 | ||
345 | !if expired_exam iswordof $wims_user_error |
403 | !if expired_exam iswordof $wims_user_error |
- | 404 | <p> |
|
346 | You have no more time left to work on this exam. |
405 | You have no more time left to work on this exam. |
- | 406 | </p> |
|
347 | :examend |
407 | :examend |
348 | !set pses=!translate _ to , in $wims_session |
408 | !set pses=!translate _ to , in $wims_session |
349 | !set pses=!item 1 of $pses |
409 | !set pses=!item 1 of $pses |
350 | !set pser=!randint 1,999 |
410 | !set pser=!randint 1,999 |
351 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
411 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
352 | <p class="wimscenter"> |
412 | <p class="wimscenter"> |
353 | <a |
413 | <a href="#" onclick="window.close();$wims_opener">Close this window</a>. |
354 | </p> |
414 | </p> |
355 | !goto end_html |
415 | !goto end_html |
356 | !endif |
416 | !endif |
357 | 417 | ||
358 | !if exam_closed iswordof $wims_user_error |
418 | !if exam_closed iswordof $wims_user_error |
- | 419 | <p> |
|
359 | This exam |
420 | This exam is not accessible for your connection at the time being. |
- | 421 | </p><p> |
|
360 | with the supervisor of your class. |
422 | Please verify with the supervisor of your class. |
- | 423 | </p> |
|
361 | !goto examend |
424 | !goto examend |
362 | !endif |
425 | !endif |
363 | 426 | ||
364 | !if bad_ident iswordof $wims_user_error |
427 | !if bad_ident iswordof $wims_user_error |
365 | Your request contains a user identification error. Are you trying to connect |
- | |
366 | to somebody else's session? |
- | |
367 | <p> |
428 | <p> |
- | 429 | Your request contains a user identification error. |
|
- | 430 | </p><p> |
|
- | 431 | Are you trying to connect to somebody else's session? |
|
- | 432 | </p><p> |
|
368 | Please |
433 | Please |
369 | <a href="$refname?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>. |
434 | <a href="$refname?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>. |
370 | </p> |
435 | </p> |
371 | !goto end_html |
436 | !goto end_html |
372 | !endif |
437 | !endif |
373 | 438 | ||
374 | !if no_access iswordof $wims_user_error |
439 | !if no_access iswordof $wims_user_error |
- | 440 | <div class="wims_msg warning"> |
|
375 | Your request is refused by the access policy of this site. Sorry. |
441 | Your request is refused by the access policy of this site. Sorry. |
- | 442 | </div> |
|
- | 443 | !goto end2 |
|
- | 444 | !endif |
|
- | 445 | ||
- | 446 | !if no_access_class iswordof $wims_user_error |
|
- | 447 | <h2>Closure of class activities</h2> |
|
- | 448 | <div class="wims_msg warning"> |
|
- | 449 | Access to the activities of this virtual class is temporarily closed by the teacher. |
|
- | 450 | Come back later. |
|
- | 451 | </div> |
|
376 | !goto end2 |
452 | !goto end2 |
377 | !endif |
453 | !endif |
378 | 454 | ||
379 | !if class_closed iswordof $wims_user_error |
455 | !if class_closed iswordof $wims_user_error |
380 | Sorry. |
456 | <h2>Sorry.</h2> |
- | 457 | <p> |
|
381 |
|
458 | Access to this virtual class is temporarily closed by its supervisor. |
382 | Come back later! |
459 | Come back later! |
383 | < |
460 | </p><p class="wimscenter"> |
384 | !href cmd=close&module=home WIMS |
461 | !href cmd=close&module=home WIMS |
385 | </ |
462 | </p> |
386 | !goto end_html |
463 | !goto end_html |
387 | !endif |
464 | !endif |
388 | 465 | ||
389 | :end |
466 | :end |
- | 467 | <p> |
|
390 |
|
468 | If you see this message after following a link given by another page, it |
391 | probably is because the link is not well-prepared. In this case, please |
469 | probably is because the link is not well-prepared. In this case, please |
392 | contact the author of that page, to inform him of the error. |
470 | contact the author of that page, to inform him of the error. |
- | 471 | </p><p> |
|
- | 472 | You may also |
|
393 | write to the |
473 | write to the |
394 | <a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this |
474 | <a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this |
395 | site</a>, with as many details as possible about the circomstances |
475 | site</a>, with as many details as possible about the circomstances |
396 | under which the error has occurred. |
476 | under which the error has occurred. |
397 | </p> |
477 | </p> |
398 | 478 | ||
399 | :end2 |
479 | :end2 |
- | 480 | ||
400 |
|
481 | <div class="wimscenter"> |
401 | !set wims_ref_class=wims_button home |
482 | !set wims_ref_class=wims_button home |
402 | !href module=home&cmd=new WIMS Home Page |
483 | !href module=home&cmd=new WIMS Home Page |
403 | !reset wims_ref_class |
- | |
404 | </div> |
484 | </div> |
405 | 485 | ||
406 | :end_html |
486 | :end_html |
407 | </body></html> |
487 | </body></html> |