Subversion Repositories wimsdev

Rev

Rev 5474 | Rev 7428 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
19 reyssat 1
Status: 450 WIMS User Error
2
Server: WIMS $wims_version (WWW Interactive Multipurpose Server)
3
Content-type: text/html; charset=iso-8859-1
4
Cache-Control: no-cache
5
Pragma: no-cache
6
 
5474 czzmrn 7
<html>
8
 <head>
19 reyssat 9
<meta http-equiv=expires content="1 Jan 1990">
3570 bpr 10
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
11
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
5474 czzmrn 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
 
19 reyssat 19
!if exam_ isin $wims_user_error
3570 bpr 20
<style type="text/css"><!--
19 reyssat 21
body {text-align: justify;
22
padding-left: 3%; padding-right: 3%;}
3570 bpr 23
--></style>
5474 czzmrn 24
</head>
25
<body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error">
3749 czzmrn 26
<h1 align="center">ERRORE</h1>
19 reyssat 27
!goto examerr
28
!endif
5474 czzmrn 29
 
30
</head>
31
<body class="user_error">
32
 
19 reyssat 33
!if threshold iswordof $wims_user_error
5474 czzmrn 34
 <hr width="1"/>
3749 czzmrn 35
 <h1 align="center">We are too busy</h1>
5474 czzmrn 36
 <hr style="width:50%"/>
37
 <p>
3749 czzmrn 38
 Questo server WIMS <font color="blue">$httpd_HTTP_HOST</font>
3570 bpr 39
 è sovraccarico e non è in grado di accettare altri
40
 utenti. Si prega di ritornare più tardi o di utilizzare un
19 reyssat 41
 altro server WIMS.
5474 czzmrn 42
 </p>
19 reyssat 43
 <p>Siamo molto desolati e speriamo di poter essere di nuovo utili
5474 czzmrn 44
 in futuro.</p>
45
 
19 reyssat 46
 !read mirror.phtml.it
5474 czzmrn 47
 </body>
48
</html>
19 reyssat 49
 !exit
50
!endif
51
 
52
!if overload iswordof $wims_user_error
5474 czzmrn 53
 <hr width="1"/>
54
 <h1 align="center">SPIACENTI</h1>
55
 <p>La vostra richiesta ha causato un blocco di questo server WIMS: 
56
 è stata raggiunta la quota massima di connessioni.</p>
19 reyssat 57
 </body></html>
58
 !exit
59
!endif
60
 
61
!if ++++missing_ isin ++++$wims_user_error
5474 czzmrn 62
 <hr width="1"/>
3749 czzmrn 63
 <h1 align="center">Spiacenti</h1>
5474 czzmrn 64
 <hr style="width:50%"/>
65
 <p>
19 reyssat 66
 WIMS needs a software
67
 !set miss=!upper $missing_software
4747 bpr 68
 <span class="wims_warning">$miss</span>
19 reyssat 69
 to process your request, but that software is not available (or not visible
5474 czzmrn 70
 to WIMS) on this server.</p>
19 reyssat 71
 <p>
72
 You can either
73
 <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write 
74
 to the site manager</a> to inform him/her of the problem, or choose a
5474 czzmrn 75
 mirror site from the table below.</p>
76
 <p><a href="wims.cgi">WIMS homepage</a>.</p>
3749 czzmrn 77
 !read mirror.phtml.it
19 reyssat 78
 </body></html>
79
 !exit
80
!endif
81
 
82
!if trapped iswordof $wims_user_error
5474 czzmrn 83
 <h1 align="center">Stop!</h1>
84
 <hr/>
3749 czzmrn 85
 Le contenu de
86
 <a HREF="http://$httpd_HTTP_HOST">$httpd_HTTP_HOST</a> n'est pas compatible
87
 avec un programme de ramassage de pages web ou un `accélérateur d'accès'.
88
 <p>
89
 Pour accéder aux activités WIMS de ce site, veuillez utiliser un navigateur
90
 ordinaire sans `accélérateur d'accès' installé derrière.
5474 czzmrn 91
 </p>
3749 czzmrn 92
 <p>
93
 Sachez que les pages WIMS sont générées de façon dynamique. Elles ne peuvent
94
 qu'être utilisées en ligne de toute façon.
5474 czzmrn 95
 </p>
3749 czzmrn 96
 </body></html>
97
 !exit
19 reyssat 98
!endif
99
 
3749 czzmrn 100
<h1 align="center">Errore WIMS</h1>
5474 czzmrn 101
<hr/>
102
<p>C'è un errore nella richiesta effettuata.</p>
19 reyssat 103
 
104
!if module_change iswordof $wims_user_error
105
 !if $wims_human_access=yes
5474 czzmrn 106
  <p>
3570 bpr 107
  L'uso del tasto `Back' è incompatibile con WIMS.
19 reyssat 108
  Le pagine sono generate interattivamente a richiesta.
5474 czzmrn 109
  </p>
110
  <p style="text-align:center;">
19 reyssat 111
  !set tit=!module title $module
112
  !default tit=$module
113
  !href module=$module $tit
114
  &nbsp;&nbsp;&nbsp;
3570 bpr 115
  !href $ WIMS home
19 reyssat 116
  !if $httpd_HTTP_REFERER!=$empty
117
   &nbsp;&nbsp;&nbsp;<a href="$httpd_HTTP_REFERER">Esci da WIMS</a>
118
  !else
5474 czzmrn 119
   </p>
120
   <p>
19 reyssat 121
   <small>Se state cercando di uscire da WIMS, ignorate questo 
5474 czzmrn 122
   messaggio e continuate a selezionare il tasto `Back/Indietro'.</small></p>
19 reyssat 123
  !endif
124
  !exit
125
 !endif
5474 czzmrn 126
<p> Richiesta di cambio modulo non valida.
19 reyssat 127
 State forse utilizzando un programma automatico 
5474 czzmrn 128
 per accedere a questo sito?</p>
19 reyssat 129
 :unblock
130
 !form new
5755 bpr 131
 <input type="hidden" name="module" value="home"/>
132
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/>
19 reyssat 133
 Se avete semplicemente cliccato erroneamente sul tasto `Back' del browser
134
 scrivete la parola `wims' qui
5755 bpr 135
 <input size="8" name="special_parm"/> e quindi
136
 <input type="submit" value="Procedete"/>.</form>
19 reyssat 137
 <p>
138
 Ricordiamo che le pagine WIMS sono generate dinamicamente a richiesta e
3570 bpr 139
 il loro utilizzo off line non è di alcuna utilità.
19 reyssat 140
 &Egrave; del tutto inutile scaricare le pagine con un 
5474 czzmrn 141
 `robot'.</p>
19 reyssat 142
 !if robot_doubt iswordof $wims_user_error
5474 czzmrn 143
  <p><small>A tentativi di intrusione nel sistema si risponderà 
144
  limitando le possibilità di accesso.</small></p>
19 reyssat 145
 !endif
146
 !exit
147
!endif
148
 
149
!if robot_doubt iswordof $wims_user_error
5474 czzmrn 150
 <p>Spiacente: accesso negato perché sei sospettato di utilizzare, 
151
 contrariamente alle nostre richieste, un `robot' per accedere alle pagine.</p>
19 reyssat 152
 !goto unblock
153
!endif
154
 
155
!if allow_violation iswordof $wims_user_error
5474 czzmrn 156
  <p>Non è permesso definire la variabile ``$wims_error_data''
157
  tramite il comando ``$cmd''.</p>
19 reyssat 158
!endif
159
 
160
!if bad_command iswordof $wims_user_error
5474 czzmrn 161
  <p>Il comando ``$cmd'' non è valido.</p>
162
  <p> I comandi validi sono: </p>
163
  <pre>new, renew, reply, help, hint, config </pre>
19 reyssat 164
!endif
165
 
166
!if bad_host iswordof $wims_user_error
5474 czzmrn 167
  <p>La session ``$session'' è stata creata da un altro server. Accesso
168
  negato. </p>
169
  <p>
19 reyssat 170
  Nota: per ragioni di sicurezza, WIMS non permette di cambiare il computer
3570 bpr 171
  da cui ci si connette a metà di una sessione di lavoro. 
19 reyssat 172
  Sfortunatamente alcuni internet provider forniscono ip dinamici che 
173
  POTREBBERO cambiare a connessione attiva. 
3570 bpr 174
  In questo caso dovete chiedere al docente di cambiare la modalità 
19 reyssat 175
  di accesso.
5474 czzmrn 176
  </p>
19 reyssat 177
!endif
178
 
179
!if need_https iswordof $wims_user_error
3570 bpr 180
 Per connettersi è necessario un browser che supporti il
5474 czzmrn 181
 protocollo https e connettersi con una richiesta https.
19 reyssat 182
 !set refname=!replace http:// by https:// in $wims_ref_name
183
 <a href="$refname?session=$wims_session&module=home&cmd=new">Riprova</a>.
184
 !exit
185
!endif
186
 
187
!if bad_insnum iswordof $wims_user_error
188
 !if $cmd=getfile
5474 czzmrn 189
  <p>Il file non esiste.</p>
19 reyssat 190
 !else
5474 czzmrn 191
  <p>Il nome del file da inserire dinamicamente non è valido.</p>
19 reyssat 192
 !endif
193
!endif
194
 
195
!if cmd_output_too_long iswordof $wims_user_error
5474 czzmrn 196
  <p>&Egrave; stato raggiunto il limite di potenza di calcolo utilizzabile.
3570 bpr 197
  La richiesta è eccessivamente complicata e laboriosa. 
5474 czzmrn 198
  Si prega di rivedere i dati inseriti.</p>
19 reyssat 199
!endif
200
 
201
!if double_click iswordof $wims_user_error
5474 czzmrn 202
 <p>Questa richiesta è arrivata mentre si stava già 
203
 analizzando un'altra vostra richiesta.</p>
204
 <p>
3570 bpr 205
 &Egrave; inutile continuare a cliccare, ma è necessario aspettare
4747 bpr 206
 <span class="wims_warning">$wims_cpu_limit secondi</span>
3570 bpr 207
 perché la richiesta precedente vada a termine, dopo di che 
19 reyssat 208
 !href cmd=resume cliccando qui
5474 czzmrn 209
 si pu&ograve; riprendere a lavorare.
210
 </p>
211
 <p>(E si prega di essere più 
19 reyssat 212
 pazienti quando si sottopongono a WIMS conti laboriosi.)
5474 czzmrn 213
 </p>
19 reyssat 214
 <p>
215
  Se state cercando di uscire da WIMS, ignorate questo 
216
  messaggio e continuate a selezionare il tasto `Back/Indietro'.
5474 czzmrn 217
 </p>
19 reyssat 218
 !exit
219
!endif
220
 
221
!if invalid_char_in_query_string iswordof $wims_user_error
5474 czzmrn 222
  <p>La sostituzione ``$wims_error_data'' nei parametri non è
223
  ammessa.</p>
19 reyssat 224
!endif
225
 
226
!if name_conflict iswordof $wims_user_error
5474 czzmrn 227
  <p>``$wims_error_data'' è un nome riservato per WIMS.</p>
19 reyssat 228
!endif
229
 
230
!if no_command iswordof $wims_user_error
5474 czzmrn 231
  <p>Non è un comando.</p>
19 reyssat 232
!endif
233
 
234
!if no_insnum iswordof $wims_user_error
235
 !if $cmd=getfile
5474 czzmrn 236
  <p>Manca il nome del file.</p>
19 reyssat 237
 !else
5474 czzmrn 238
  <p>Richiesta di inserimento automatico senza indicarne il numero.</p>
19 reyssat 239
 !endif
240
!endif
241
 
242
!if no_module_name iswordof $wims_user_error
5474 czzmrn 243
  <p>Richiesta di una sessione senza indicare un modulo.</p>
19 reyssat 244
!endif
245
 
246
!if no_session iswordof $wims_user_error
5474 czzmrn 247
  <p>Manca il codice della sessione.</p>
19 reyssat 248
!endif
249
 
250
!if parm_too_long iswordof $wims_user_error
5474 czzmrn 251
  <p>Si sono inseriti troppi parametri. Questo non è permesso
252
  per ragioni di sicurezza.</p>
19 reyssat 253
!endif
254
 
255
!if string_too_long iswordof $wims_user_error
5474 czzmrn 256
  <p>La definizione di una variabile è troppo lunga.</p>
19 reyssat 257
!endif
258
 
259
!if too_many_variables iswordof $wims_user_error
5474 czzmrn 260
  <p>Il numero di paramtri inseriti eccede il limite massimo permesso
261
  da questa installazione di WIMS.</p>
19 reyssat 262
!endif
263
 
264
!if unmatched_parentheses iswordof $wims_user_error
5474 czzmrn 265
  <p>C'è un errore nelle parentesi. &Egrave; possibile correggere
266
  l'errore in questo spazio.</p>
19 reyssat 267
  !form $cmd
268
  $(name$bad_parentheses) =
269
  !for i in module,special_parm,worksheet
270
   !if $($i)!=$empty
271
    !set value=!translate " to $ $ in $($i)
5755 bpr 272
    <input type="hidden" name="$i" value="$value"/>
19 reyssat 273
   !endif
274
  !next i
275
  !for i=0 to $user_var_no-1
276
   !if $i!=$bad_parentheses
277
    !set value=!translate " to $ $ in $(value$i)
5755 bpr 278
    <input type="hidden" name="$(name$i)" value="$value"/>
19 reyssat 279
   !endif
280
  !next i
281
  !set value=!translate " to $ $ in $(value$bad_parentheses)
282
  !set len=!charcnt $value
283
  !if $len<55
284
   !set len=$[$len+3]
285
  !else
286
   !set len=59
287
  !endif
5755 bpr 288
  <input size="$len" name="$(name$bad_parentheses)" value="$value"/>
5474 czzmrn 289
  <p>
19 reyssat 290
  Quindi
5755 bpr 291
  <input type="submit" value="inviare la risposta corretta."/>
5474 czzmrn 292
  </p>
293
  </form>  
294
  <hr/>
295
  <p style="text-align:center;">
19 reyssat 296
  !href cmd=resume Annullare
297
, oppure
298
  !href $ [WIMS home]
5474 czzmrn 299
.</p>
19 reyssat 300
  !exit
301
!endif
302
 
303
!if wrong_module iswordof $wims_user_error
5474 czzmrn 304
  <p>Il modulo ``$module'' richiesto non esiste su questo server.</p>
19 reyssat 305
!endif
306
 
307
!if wrong_session iswordof $wims_user_error
5474 czzmrn 308
  <p>La sessione numero ``$session'' non è (più) valida.
309
  <a href="wims.cgi">Comincia una nuova sessione</a>.</p>
19 reyssat 310
!endif
311
 
312
!if rafale iswordof $wims_user_error
5474 czzmrn 313
 <p>Please don't play with the exercises!</p>
19 reyssat 314
 <p>
315
 You should take time to think carefully and try to solve the exercises
316
 correctly, instead of ask new ones over and over again.
5474 czzmrn 317
 </p>
318
 !set wims_ref_class=wims_button
19 reyssat 319
 !href cmd=resume Cancel the last request
5474 czzmrn 320
 !reset wims_ref_class
19 reyssat 321
.
322
 !if $wims_user!=$empty and $wims_user!=supervisor
4747 bpr 323
  <p><span class="wims_warning">$wims_name_warning.</span>! Non ripetere questo errore!
3570 bpr 324
  Le attività possono attribuire punteggi negativi anche quando la
5474 czzmrn 325
  registrazione dei voti per le altre attività è chiusa.</p>
19 reyssat 326
 !endif
327
 !goto end2
328
!endif
329
 
330
:examerr
331
 
332
!if exam_dep iswordof $wims_user_error
5474 czzmrn 333
  <p>Puoi cominciare a lavorare su questo esercizio solo quando hai ottenuto
19 reyssat 334
  un punteggio sufficiente nell'esercizio (o negli esercizi)
335
  !if , isin $dep_list
336
   exercises $dep_list.
337
  !else
338
   exercise $dep_list.
339
  !endif
5474 czzmrn 340
  </p>
341
  <p>Comincia da quest'ultimo!</p>
19 reyssat 342
  !goto examend
343
!endif
344
 
345
!if bad_exam iswordof $wims_user_error
5474 czzmrn 346
  <p>Richiesta non valida in una sessione d'esame.</p>
19 reyssat 347
  !goto examend
348
!endif
349
 
350
!if exam_exo_finished iswordof $wims_user_error
5474 czzmrn 351
  <p>You have already done this exercise with a score of $wims_exo_lastscore.</p>
352
  <p>You cannot do it again because this is an examination.</p>
19 reyssat 353
  !goto examend
354
!endif
355
 
356
!if expired_exam iswordof $wims_user_error
5474 czzmrn 357
  <p>Il tempo è scaduto.</p>
19 reyssat 358
  :examend
359
  !set pses=!translate _ to , in $wims_session
360
  !set pses=!item 1 of $pses
361
  !set pser=!randint 1,999
362
  !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student';
5474 czzmrn 363
  <p style="text-align:center;">
19 reyssat 364
  <a href=# onclick="window.close();$wims_opener">Chiudi questa finestra</a>.
5474 czzmrn 365
  </p>
19 reyssat 366
  !exit
367
!endif
368
 
369
!if exam_closed iswordof $wims_user_error
5474 czzmrn 370
 <p>L'esame non è più accessibile.</p>
371
 <p>Contattare il docente del corso.</p>
19 reyssat 372
 !goto examend
373
!endif
374
 
375
!if bad_ident iswordof $wims_user_error
5474 czzmrn 376
 <p>Your request contains a user identification error.</p> 
377
 <p>Are you trying to connect
378
 to somebody else's session?</p>
19 reyssat 379
 <p>
380
 Please
5474 czzmrn 381
 <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>.</p>
19 reyssat 382
 </body></html>
383
 !exit
384
!endif
385
 
386
!if no_access iswordof $wims_user_error
5474 czzmrn 387
 <p> Your request is refused by the access policy of this site. Sorry.</p>
19 reyssat 388
  !goto end
389
!endif  
390
 
391
!if class_closed iswordof $wims_user_error
5474 czzmrn 392
  <h2>Spiacente.</h2>
19 reyssat 393
  <p>
394
  L'accesso a questo corso virtuale è stato temporaneamente chiuso dal docente.
395
  Si prega di riprovare più tardi!
5474 czzmrn 396
  </p>
397
  <p style="text-align:center;">
19 reyssat 398
  !href cmd=close&module=home WIMS
5474 czzmrn 399
  </p>
19 reyssat 400
  </body></html>
401
  !exit
402
!endif  
403
 
404
:end
405
<p>Se questo messaggio vi appare dopo aver seguito un link in una pagina.
406
probabilmente si tratta di un errore nella pagina. In questo caso
5474 czzmrn 407
contattatene l'autore per informarlo dell'errore.
408
</p>
409
<p>  &Egrave; possibile 
19 reyssat 410
contattare il 
411
<a href="mailto:$wims_site_manager?subject=wims.cgi">manager di questo
3570 bpr 412
server</a>, precisando quanti più dettagli possibili per ricostruire
5474 czzmrn 413
l'errore.</p>
19 reyssat 414
 
415
:end2
5474 czzmrn 416
<hr/>
417
<p style="text-align:center;">
418
!set wims_ref_class=wims_button home
19 reyssat 419
!href module=home&cmd=new [WIMS home]
5474 czzmrn 420
!reset wims_ref_class
421
</p>
19 reyssat 422
 
423
</body></html>
424