Subversion Repositories wimsdev

Rev

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

Rev 5395 Rev 5755
Line 68... Line 68...
68
 </body></html>
68
 </body></html>
69
 !exit
69
 !exit
70
!endif
70
!endif
71
 
71
 
72
!if trapped iswordof $wims_user_error
72
!if trapped iswordof $wims_user_error
73
 <h1 align="center">Stop!</h1><hr>
73
 <h1 align="center">Stop!</h1><hr/>
74
!endif
74
!endif
75
 
75
 
76
<h1 align="center">WIMS error</h1><hr><p>
76
<h1 align="center">WIMS error</h1><hr/><p>
77
 
77
 
78
There is an error in your request to this WIMS site.<p>
78
There is an error in your request to this WIMS site.<p>
79
 
79
 
80
!if module_change iswordof $wims_user_error
80
!if module_change iswordof $wims_user_error
81
 !if $wims_human_access=yes
81
 !if $wims_human_access=yes
Line 98... Line 98...
98
 !endif
98
 !endif
99
 You have asked an illegal module change.
99
 You have asked an illegal module change.
100
 Are you using an automatic program to access this site?
100
 Are you using an automatic program to access this site?
101
 :unblock
101
 :unblock
102
 !form new
102
 !form new
103
 <input type="hidden" name="module" value="home">
103
 <input type="hidden" name="module" value="home"/>
104
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]">
104
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/>
105
 If you have simply clicked on the `back' button of your browser,
105
 If you have simply clicked on the `back' button of your browser,
106
 please type the word `wims' here:
106
 please type the word `wims' here:
107
 <input size="8" name="special_parm"> then
107
 <input size="8" name="special_parm"/> then
108
 <input type="submit" value="send to the server">.</form>
108
 <input type="submit" value="send to the server"/>.</form>
109
 <p>
109
 <p>
110
 Please bear in mind that pages on this site are dynamically generated.
110
 Please bear in mind that pages on this site are dynamically generated.
111
 They can therefore only be used online, 
111
 They can therefore only be used online, 
112
 via a normal browser. It is useless for you to gather these pages
112
 via a normal browser. It is useless for you to gather these pages
113
 using a robot program.
113
 using a robot program.
Line 242... Line 242...
242
  !form $cmd
242
  !form $cmd
243
  $(name$bad_parentheses) =
243
  $(name$bad_parentheses) =
244
  !for i in module,special_parm,worksheet
244
  !for i in module,special_parm,worksheet
245
   !if $($i)!=$empty
245
   !if $($i)!=$empty
246
    !set value=!translate " to $ $ in $($i)
246
    !set value=!translate " to $ $ in $($i)
247
    <input type=hidden name=$i value="$value">
247
    <input type=hidden name=$i value="$value"/>
248
   !endif
248
   !endif
249
  !next i
249
  !next i
250
  !for i=0 to $user_var_no-1
250
  !for i=0 to $user_var_no-1
251
   !if $i!=$bad_parentheses
251
   !if $i!=$bad_parentheses
252
    !set value=!translate " to $ $ in $(value$i)
252
    !set value=!translate " to $ $ in $(value$i)
253
    <input type="hidden" name="$(name$i)" value="$value">
253
    <input type="hidden" name="$(name$i)" value="$value"/>
254
   !endif
254
   !endif
255
  !next i
255
  !next i
256
  !set value=!translate " to $ $ in $(value$bad_parentheses)
256
  !set value=!translate " to $ $ in $(value$bad_parentheses)
257
  !set len=!charcnt $value
257
  !set len=!charcnt $value
258
  !set n=!linecnt $value
258
  !set n=!linecnt $value
Line 260... Line 260...
260
   !if $len<55
260
   !if $len<55
261
    !set len=$[$len+3]
261
    !set len=$[$len+3]
262
   !else
262
   !else
263
    !set len=59
263
    !set len=59
264
   !endif
264
   !endif
265
   <input size="$len" name="$(name$bad_parentheses)" value="$value"><p>
265
   <input size="$len" name="$(name$bad_parentheses)" value="$value"/><p>
266
  !else
266
  !else
267
   !if $n>10
267
   !if $n>10
268
    !set n=10
268
    !set n=10
269
   !endif
269
   !endif
270
   <textarea rows="$n" cols="50" name="$(name$bad_parentheses)">$value</textarea>
270
   <textarea rows="$n" cols="50" name="$(name$bad_parentheses)">$value</textarea>
271
   <p>
271
   <p>
272
  !endif
272
  !endif
273
  Then
273
  Then
274
  <input type="submit" value="send the corrected request.">
274
  <input type="submit" value="send the corrected request."/>
275
  </form><p><hr><p><center>
275
  </form><p><hr/><div class="wimscenter">
276
  !href cmd=resume Cancel the last request
276
  !href cmd=resume Cancel the last request
277
, or
277
, or
278
  !href $ wims home
278
  !href $ wims home
279
.</center>
279
.</div>
280
  !exit
280
  !exit
281
!endif
281
!endif
282
  
282
  
283
!if wrong_module iswordof $wims_user_error
283
!if wrong_module iswordof $wims_user_error
284
  The module ``$module'' which you asked for does not exist in this site.
284
  The module ``$module'' which you asked for does not exist in this site.
Line 369... Line 369...
369
!if class_closed iswordof $wims_user_error
369
!if class_closed iswordof $wims_user_error
370
  Sorry.
370
  Sorry.
371
  <p>
371
  <p>
372
  Access to this virtual class is temporarily closed by its supervisor.
372
  Access to this virtual class is temporarily closed by its supervisor.
373
  Come back later!
373
  Come back later!
374
  <p><center>
374
  <div class="wimscenter">
375
  !href cmd=close&module=home WIMS
375
  !href cmd=close&module=home WIMS
376
  </center>
376
  </div>
377
  </body></html>
377
  </body></html>
378
  !exit
378
  !exit
379
!endif  
379
!endif  
380
 
380
 
381
:end
381
:end
Line 386... Line 386...
386
<a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this
386
<a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this
387
site</a>, with as many details as possible about the circomstances
387
site</a>, with as many details as possible about the circomstances
388
under which the error has occurred.
388
under which the error has occurred.
389
 
389
 
390
:end2
390
:end2
391
<hr><p>
-
 
392
<center>
391
<hr/><div class="wimscenter">
393
!set wims_ref_class=wims_button home
392
!set wims_ref_class=wims_button home
394
!href module=home&cmd=new WIMS Home Page
393
!href module=home&cmd=new WIMS Home Page
395
!reset wims_ref_class
394
!reset wims_ref_class
396
</center>
395
</div>
397
 
396
 
398
</body></html>
397
</body></html>
399
 
398