Subversion Repositories wimsdev

Rev

Rev 4747 | Rev 5900 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4747 Rev 5755
Line 17... Line 17...
17
<h1 align="center">ERROR</h1>
17
<h1 align="center">ERROR</h1>
18
!goto examerr
18
!goto examerr
19
!endif
19
!endif
20
</head><body>
20
</head><body>
21
!if threshold iswordof $wims_user_error
21
!if threshold iswordof $wims_user_error
22
 <hr width="1">
22
 <hr width="1"/>
23
 <h1 align="center">We are too busy</h1>
23
 <h1 align="center">We are too busy</h1>
24
 <hr width="50%"><p>
24
 <hr width="50%"/><p>
25
 This WIMS server <font color="blue">$httpd_HTTP_HOST</font> 
25
 This WIMS server <font color="blue">$httpd_HTTP_HOST</font> 
26
 is currently overloaded by a large number of requests, and
26
 is currently overloaded by a large number of requests, and
27
 can no longer satisfy further users. Please come back later, 
27
 can no longer satisfy further users. Please come back later, 
28
 or look for another wims mirror site.
28
 or look for another wims mirror site.
29
 <p>We are very sorry for this inconvenience to you, and hope to be able
29
 <p>We are very sorry for this inconvenience to you, and hope to be able
Line 32... Line 32...
32
 </body></html>
32
 </body></html>
33
 !exit
33
 !exit
34
!endif
34
!endif
35
 
35
 
36
!if overload iswordof $wims_user_error
36
!if overload iswordof $wims_user_error
37
 <hr width="1">
37
 <hr width="1"/>
38
 <h1 align="center">SORRY</h1>
38
 <h1 align="center">SORRY</h1>
39
 Your request is blocked by this WIMS server: connection quota exceeded.
39
 Your request is blocked by this WIMS server: connection quota exceeded.
40
 </body></html>
40
 </body></html>
41
 !exit
41
 !exit
42
!endif
42
!endif
43
 
43
 
44
!if ++++missing_ isin ++++$wims_user_error
44
!if ++++missing_ isin ++++$wims_user_error
45
 <hr width="1">
45
 <hr width="1"/>
46
 <h1 align="center">Sorry</h1>
46
 <h1 align="center">Sorry</h1>
47
 <hr width="50%"><p>
47
 <hr width="50%"/><p>
48
 WIMS needs a software
48
 WIMS needs a software
49
 !set miss=!upper $missing_software
49
 !set miss=!upper $missing_software
50
 <span class="wims_warning">$miss</span>
50
 <span class="wims_warning">$miss</span>
51
 to process your request, but that software is not available (or not visible
51
 to process your request, but that software is not available (or not visible
52
 to WIMS) on this server.
52
 to WIMS) on this server.
Line 60... Line 60...
60
 </body></html>
60
 </body></html>
61
 !exit
61
 !exit
62
!endif
62
!endif
63
 
63
 
64
!if trapped iswordof $wims_user_error
64
!if trapped iswordof $wims_user_error
65
 <h1 align="center">Stop!</h1><hr>
65
 <h1 align="center">Stop!</h1><hr/>
66
!endif
66
!endif
67
 
67
 
68
<h1 align="center">WIMS error</h1><hr><p>
68
<h1 align="center">WIMS error</h1><hr/><p>
69
 
69
 
70
There is an error in your request to this WIMS site.<p>
70
There is an error in your request to this WIMS site.<p>
71
 
71
 
72
!if module_change iswordof $wims_user_error
72
!if module_change iswordof $wims_user_error
73
 !if $wims_human_access=yes
73
 !if $wims_human_access=yes
Line 90... Line 90...
90
 !endif
90
 !endif
91
 You have asked an illegal module change.
91
 You have asked an illegal module change.
92
 Are you using an automatic program to access this site?
92
 Are you using an automatic program to access this site?
93
 :unblock
93
 :unblock
94
 !form new
94
 !form new
95
 <input type="hidden" name="module" value="home">
95
 <input type="hidden" name="module" value="home"/>
96
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]">
96
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/>
97
 If you have simply clicked on the `back' button of your browser,
97
 If you have simply clicked on the `back' button of your browser,
98
 please type the word `wims' here:
98
 please type the word `wims' here:
99
 <input size="8" name="special_parm"> then
99
 <input size="8" name="special_parm"/> then
100
 <input type="submit" value="send to the server">.</form>
100
 <input type="submit" value="send to the server"/>.</form>
101
 <p>
101
 <p>
102
 Please bear in mind that pages on this site are dynamically generated.
102
 Please bear in mind that pages on this site are dynamically generated.
103
 They can therefore only be used online, 
103
 They can therefore only be used online, 
104
 via a normal browser. It is useless for you to gather these pages
104
 via a normal browser. It is useless for you to gather these pages
105
 using a robot program.
105
 using a robot program.
Line 234... Line 234...
234
  !form $cmd
234
  !form $cmd
235
  $(name$bad_parentheses) =
235
  $(name$bad_parentheses) =
236
  !for i in module,special_parm,worksheet
236
  !for i in module,special_parm,worksheet
237
   !if $($i)!=$empty
237
   !if $($i)!=$empty
238
    !set value=!translate " to $ $ in $($i)
238
    !set value=!translate " to $ $ in $($i)
239
    <input type=hidden name=$i value="$value">
239
    <input type=hidden name=$i value="$value"/>
240
   !endif
240
   !endif
241
  !next i
241
  !next i
242
  !for i=0 to $user_var_no-1
242
  !for i=0 to $user_var_no-1
243
   !if $i!=$bad_parentheses
243
   !if $i!=$bad_parentheses
244
    !set value=!translate " to $ $ in $(value$i)
244
    !set value=!translate " to $ $ in $(value$i)
245
    <input type="hidden" name="$(name$i)" value="$value">
245
    <input type="hidden" name="$(name$i)" value="$value"/>
246
   !endif
246
   !endif
247
  !next i
247
  !next i
248
  !set value=!translate " to $ $ in $(value$bad_parentheses)
248
  !set value=!translate " to $ $ in $(value$bad_parentheses)
249
  !set len=!charcnt $value
249
  !set len=!charcnt $value
250
  !set n=!linecnt $value
250
  !set n=!linecnt $value
Line 252... Line 252...
252
   !if $len<55
252
   !if $len<55
253
    !set len=$[$len+3]
253
    !set len=$[$len+3]
254
   !else
254
   !else
255
    !set len=59
255
    !set len=59
256
   !endif
256
   !endif
257
   <input size="$len" name="$(name$bad_parentheses)" value="$value"><p>
257
   <input size="$len" name="$(name$bad_parentheses)" value="$value"/><p>
258
  !else
258
  !else
259
   !if $n>10
259
   !if $n>10
260
    !set n=10
260
    !set n=10
261
   !endif
261
   !endif
262
   <textarea rows="$n" cols="50" name="$(name$bad_parentheses)">$value</textarea>
262
   <textarea rows="$n" cols="50" name="$(name$bad_parentheses)">$value</textarea>
263
   <p>
263
   <p>
264
  !endif
264
  !endif
265
  Then
265
  Then
266
  <input type="submit" value="send the corrected request.">
266
  <input type="submit" value="send the corrected request."/>
267
  </form><p><hr><p><center>
267
  </form><p><hr/><div class="wimscenter">
268
  !href cmd=resume Cancel the last request
268
  !href cmd=resume Cancel the last request
269
, or
269
, or
270
  !href $ wims home
270
  !href $ wims home
271
.</center>
271
.</div>
272
  !exit
272
  !exit
273
!endif
273
!endif
274
  
274
  
275
!if wrong_module iswordof $wims_user_error
275
!if wrong_module iswordof $wims_user_error
276
  The module ``$module'' which you asked for does not exist in this site.
276
  The module ``$module'' which you asked for does not exist in this site.
Line 359... Line 359...
359
!if class_closed iswordof $wims_user_error
359
!if class_closed iswordof $wims_user_error
360
  Sorry.
360
  Sorry.
361
  <p>
361
  <p>
362
  Access to this virtual class is temporarily closed by its supervisor.
362
  Access to this virtual class is temporarily closed by its supervisor.
363
  Come back later!
363
  Come back later!
364
  <p><center>
364
  <div class="wimscenter">
365
  !href cmd=close&module=home WIMS
365
  !href cmd=close&module=home WIMS
366
  </center>
366
  </div>
367
  </body></html>
367
  </body></html>
368
  !exit
368
  !exit
369
!endif  
369
!endif  
370
 
370
 
371
:end
371
:end
Line 376... Line 376...
376
<a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this
376
<a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this
377
site</a>, with as many details as possible about the circomstances
377
site</a>, with as many details as possible about the circomstances
378
under which the error has occurred.
378
under which the error has occurred.
379
 
379
 
380
:end2
380
:end2
381
<hr><p>
-
 
382
<center>
381
<hr/><div class="wimscenter">
383
!href module=home&cmd=new Home page
382
!href module=home&cmd=new Home page
384
</center>
383
</div>
385
 
384
 
386
</body></html>
385
</body></html>
387
 
386