Subversion Repositories wimsdev

Rev

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

Rev 5900 Rev 6369
Line 2... Line 2...
2
Server: WIMS $wims_version (WWW Interactive Multipurpose Server)
2
Server: WIMS $wims_version (WWW Interactive Multipurpose Server)
3
Content-type: text/html; charset=iso-8859-1
3
Content-type: text/html; charset=iso-8859-1
4
Cache-Control: no-cache
4
Cache-Control: no-cache
5
Pragma: no-cache
5
Pragma: no-cache
6
 
6
 
-
 
7
<html>
7
<html><head>
8
 <head>
8
<meta http-equiv=expires content="1 Jan 1990">
9
  <meta http-equiv=expires content="1 Jan 1990">
9
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
10
  <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
10
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
11
  <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
-
 
12
<!-- Style general du theme -->
-
 
13
<link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css">
-
 
14
<style type="text/css">
-
 
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;}
-
 
17
</style>
-
 
18
 
11
!if exam_ isin $wims_user_error
19
!if exam_ isin $wims_user_error
12
<style type="text/css"><!--
20
<style type="text/css"><!--
13
body {text-align: justify;
21
body {text-align: justify;
14
padding-left: 3%; padding-right: 3%;}
22
padding-left: 3%; padding-right: 3%;}
15
--></style>
23
--></style>
-
 
24
</head>
16
</head><body onload="window.resizeTo(500,200);window.moveTo(250,300);">
25
<body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error">
17
<h1 class="wims_center">ERROR</h1>
26
 <h1 class="wims_center">ERROR</h1>
18
!goto examerr
27
!goto examerr
19
!endif
28
!endif
-
 
29
 
20
</head><body>
30
</head>
-
 
31
<body class="user_error">
-
 
32
 
21
!if threshold iswordof $wims_user_error
33
!if threshold iswordof $wims_user_error
22
 <hr width="1"/>
34
 <hr width="1"/>
23
 <h1 class="wims_center">We are too busy</h1>
35
 <h1 class="wims_center">We are too busy</h1>
24
 <hr style="width:50%"/><p>
36
 <hr style="width:50%" />
-
 
37
 <p>
25
 WIMS strežnik <font color="blue">$httpd_HTTP_HOST</font> 
38
 WIMS strežnik <span class="color:blue">$httpd_HTTP_HOST</span> 
26
 je trenutno preobremenjen. Prosim, vrnite se kasneje ali
39
 je trenutno preobremenjen. Prosim, vrnite se kasneje ali
27
 obišèite katerega od zrcalnih strežnikov.
40
 obišèite katerega od zrcalnih strežnikov.
-
 
41
 </p><p>
28
 <p>Opravièujemo se za to neprijetnost.
42
 Opravièujemo se za to neprijetnost.
-
 
43
 </p>
29
 !read mirror.phtml.en
44
 !read mirror.phtml.en
-
 
45
 </body>
30
 </body></html>
46
 </html>
31
 !exit
47
 !exit
32
!endif
48
!endif
33
 
49
 
34
!if overload iswordof $wims_user_error
50
!if overload iswordof $wims_user_error
35
 
51
 
Line 38... Line 54...
38
 </body></html>
54
 </body></html>
39
 !exit
55
 !exit
40
!endif
56
!endif
41
 
57
 
42
!if ++++missing_ isin ++++$wims_user_error
58
!if ++++missing_ isin ++++$wims_user_error
43
 
59
  <hr width="1"/>
44
 <h1 class="wims_center">Sorry</h1>
60
 <h1 class="wims_center">Sorry</h1>
45
 <hr style="width:50%"/>
61
 <hr style="width:50%" />
46
 Za izvedbo tega zahtevka je potrebna programska oprema
62
 Za izvedbo tega zahtevka je potrebna programska oprema
47
 !set miss=!upper $missing_software
63
 !set miss=!upper $missing_software
48
 <span class="wims_warning">$miss</span>, 
64
 <span class="wims_warning">$miss</span>, 
49
 ki ni namešèena na tem WIMS strežniku.
65
 ki ni namešèena na tem WIMS strežniku.
50
 <p>
66
 <p>
51
 Obvestite 
67
 Obvestite 
52
 <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">skrbnika strežnika</a> ali izberite drug strežnik.
68
 <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">skrbnika strežnika</a> ali izberite drug strežnik.
53
 <a href="wims.cgi">WIMS domaèa stran</a>.
69
<p><a href="wims.cgi">WIMS domaèa stran</a>.
-
 
70
 </p>
54
 !read mirror.phtml.en
71
 !read mirror.phtml.en
55
 </body></html>
72
 </body></html>
56
 !exit
73
 !exit
57
!endif
74
!endif
58
 
75
 
59
!if trapped iswordof $wims_user_error
76
!if trapped iswordof $wims_user_error
60
 <h1 class="wims_center">Stop!</h1><hr/>
77
 <h1 class="wims_center">Stop!</h1><hr/>
61
!endif
78
!endif
62
 
79
 
63
<h1 class="wims_center">WIMS napaka</h1><hr/><p>
80
<h1 class="wims_center">WIMS napaka</h1>
-
 
81
<hr/>
64
 
82
<p>
65
V vašem zahtevku je napaka.<p>
83
V vašem zahtevku je napaka.
-
 
84
</p>
66
 
85
 
67
!if module_change iswordof $wims_user_error
86
!if module_change iswordof $wims_user_error
68
 !if $wims_human_access=yes
87
 !if $wims_human_access=yes
-
 
88
 <p>
69
  Ne uporabljajte gumba `nazaj', saj uporabljate interaktivni strežnik..
89
  Ne uporabljajte gumba `nazaj', saj uporabljate interaktivni strežnik..
-
 
90
  </p>
70
  <p class="wimscenter">
91
  <p class="wims_center">
71
  !set tit=!module title $module
92
  !set tit=!module title $module
72
  !default tit=$module
93
  !default tit=$module
73
  !href module=$module $tit
94
  !href module=$module $tit
74
  &nbsp;&nbsp;&nbsp;
95
  &nbsp;&nbsp;&nbsp;
75
  !href $ WIMS home
96
  !href $ WIMS home
76
  !if $httpd_HTTP_REFERER!=$empty
97
  !if $httpd_HTTP_REFERER!=$empty
77
   &nbsp;&nbsp;&nbsp;<a href="$httpd_HTTP_REFERER">Exit WIMS</a>
98
   &nbsp;&nbsp;&nbsp;<a href="$httpd_HTTP_REFERER">Exit WIMS</a>
78
  !else
99
  !else
79
   </p>
100
   </p>
-
 
101
   <p>
-
 
102
   <small>
80
   <small>If you want to get out of the site, ignore this message and continue
103
   If you want to get out of the site, ignore this message and continue
81
   to click on `Back'.</small>
104
   to click on `Back'.
-
 
105
   </small></p>
82
  !endif
106
  !endif
83
  !exit
107
  !exit
84
 !endif
108
 !endif
85
 You have asked an illegal module change.
109
 You have asked an illegal module change.
86
 Are you using an automatic program to access this site?
110
 Are you using an automatic program to access this site?
87
 :unblock
111
 :unblock
88
 !form new
112
 !form new
89
 <input type="hidden" name="module" value="home"/>
113
 <input type="hidden" name="module" value="home"/>
90
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/>
114
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/>
91
 If you have simply clicked on the `back' button of your browser,
115
 If you have simply clicked on the `back' button of your browser,
92
 please type the word `wims' here:
116
 please type the word `wims' here:
93
 <input size="8" name="special_parm"/> then
117
 <input size="8" name="special_parm" /> then
94
 <input type="submit" value="send to the server"/>.</form>
118
 <input type="submit" value="send to the server" />.
-
 
119
 !formend
95
 <p>
120
 <p>
96
 Please bear in mind that pages on this site are dynamically generated.
121
 Please bear in mind that pages on this site are dynamically generated.
97
 They can therefore only be used online, 
122
 They can therefore only be used online, 
98
 via a normal browser. It is useless for you to gather these pages
123
 via a normal browser. It is useless for you to gather these pages
99
 using a robot program.
124
 using a robot program.
-
 
125
 </p>
100
 !if robot_doubt iswordof $wims_user_error
126
 !if robot_doubt iswordof $wims_user_error
-
 
127
  <p class="small">
101
  <small>And beware that people trying to hacker on
128
  And beware that people trying to hacker on
102
  this site will see their accesses definitely denied.</small>
129
  this site will see their accesses definitely denied.
-
 
130
  </p>
103
 !endif
131
 !endif
104
 !exit
132
 !exit
105
!endif
133
!endif
106
 
134
 
107
!if robot_doubt iswordof $wims_user_error
135
!if robot_doubt iswordof $wims_user_error
-
 
136
 <p>
108
 We block further access to this site for you, because you are suspected
137
 We block further access to this site for you, because you are suspected
109
 of using an automatic program to gather pages.
138
 of using an automatic program to gather pages.
-
 
139
 </p>
110
 !goto unblock
140
 !goto unblock
111
!endif
141
!endif
112
 
142
 
113
!if allow_violation iswordof $wims_user_error
143
!if allow_violation iswordof $wims_user_error
-
 
144
  <p>
114
  You don't have the right to define the variable ``$wims_error_data''
145
  You don't have the right to define the variable ``$wims_error_data''
115
  with the command ``$cmd''.
146
  with the command ``$cmd''.
-
 
147
  </p>
116
  !goto end
148
  !goto end
117
!endif
149
!endif
118
 
150
 
119
!if bad_command iswordof $wims_user_error
151
!if bad_command iswordof $wims_user_error
120
  The command ``$cmd'' is not valid.
152
  The command ``$cmd'' is not valid.
Line 128... Line 160...
128
  <p>
160
  <p>
129
  Unfortunately, some internet providers give you dynamic host addresses
161
  Unfortunately, some internet providers give you dynamic host addresses
130
  which MAY change within one connection. If this is the case, please write
162
  which MAY change within one connection. If this is the case, please write
131
  to the supervisor of your class asking him/her to change the access lock
163
  to the supervisor of your class asking him/her to change the access lock
132
  policy.
164
  policy.
-
 
165
  </p>
133
  !goto end
166
  !goto end
134
!endif
167
!endif
135
 
168
 
136
!if need_https iswordof $wims_user_error
169
!if need_https iswordof $wims_user_error
137
 You should connect to your class via a https request.
170
 You should connect to your class via a https request.
Line 228... Line 261...
228
  !form $cmd
261
  !form $cmd
229
  $(name$bad_parentheses) =
262
  $(name$bad_parentheses) =
230
  !for i in module,special_parm,worksheet
263
  !for i in module,special_parm,worksheet
231
   !if $($i)!=$empty
264
   !if $($i)!=$empty
232
    !set value=!translate " to $ $ in $($i)
265
    !set value=!translate " to $ $ in $($i)
233
    <input type=hidden name=$i value="$value"/>
266
    <input type="hidden" name="$i" value="$value" />
234
   !endif
267
   !endif
235
  !next i
268
  !next i
236
  !for i=0 to $user_var_no-1
269
  !for i=0 to $user_var_no-1
237
   !if $i!=$bad_parentheses
270
   !if $i!=$bad_parentheses
238
    !set value=!translate " to $ $ in $(value$i)
271
    !set value=!translate " to $ $ in $(value$i)
239
    <input type="hidden" name="$(name$i)" value="$value"/>
272
    <input type="hidden" name="$(name$i)" value="$value" />
240
   !endif
273
   !endif
241
  !next i
274
  !next i
242
  !set value=!translate " to $ $ in $(value$bad_parentheses)
275
  !set value=!translate " to $ $ in $(value$bad_parentheses)
243
  !set len=!charcnt $value
276
  !set len=!charcnt $value
244
  !set n=!linecnt $value
-
 
245
  !if $n<=1
-
 
246
   !if $len<55
277
  !if $len<55
247
    !set len=$[$len+3]
278
   !set len=$[$len+3]
248
   !else
-
 
249
    !set len=59
-
 
250
   !endif
-
 
251
   <input size="$len" name="$(name$bad_parentheses)" value="$value"/><p>
-
 
252
  !else
279
  !else
253
   !if $n>10
-
 
254
    !set n=10
280
   !set len=59
255
   !endif
-
 
256
   <textarea rows="$n" cols="50" name="$(name$bad_parentheses)">$value</textarea>
-
 
257
   <p>
-
 
258
  !endif
281
  !endif
-
 
282
  <input size="$len" name="$(name$bad_parentheses)" value="$value" />
-
 
283
  <p>
259
  Then
284
  Then
260
  <input type="submit" value="send the corrected request."/>
285
  <input type="submit" value="send the corrected request."/>
-
 
286
  </p>
-
 
287
  !formend
-
 
288
  <hr />
261
  </form><p><hr/><div class="wimscenter">
289
  <p class="wimscenter">
262
  !href cmd=resume Cancel the last request
290
  !href cmd=resume Cancel the last request
263
, or
291
, or
264
  !href $ wims home
292
  !href $ wims home
265
.</div>
293
.</p>
266
  !exit
294
  !exit
267
!endif
295
!endif
268
  
296
  
269
!if wrong_module iswordof $wims_user_error
297
!if wrong_module iswordof $wims_user_error
270
  The module ``$module'' which you asked for does not exist in this site.
298
  The module ``$module'' which you asked for does not exist in this site.