Subversion Repositories wimsdev

Rev

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