Subversion Repositories wimsdev

Rev

Rev 5755 | Rev 7610 | 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
7428 obado 304
  !set tmp=!translate "!/<>;': to $         $ in $module
305
  <p>Il modulo <code>$tmp</code> richiesto non esiste su questo server.</p>
19 reyssat 306
!endif
307
 
308
!if wrong_session iswordof $wims_user_error
5474 czzmrn 309
  <p>La sessione numero ``$session'' non è (più) valida.
310
  <a href="wims.cgi">Comincia una nuova sessione</a>.</p>
19 reyssat 311
!endif
312
 
313
!if rafale iswordof $wims_user_error
5474 czzmrn 314
 <p>Please don't play with the exercises!</p>
19 reyssat 315
 <p>
316
 You should take time to think carefully and try to solve the exercises
317
 correctly, instead of ask new ones over and over again.
5474 czzmrn 318
 </p>
319
 !set wims_ref_class=wims_button
19 reyssat 320
 !href cmd=resume Cancel the last request
5474 czzmrn 321
 !reset wims_ref_class
19 reyssat 322
.
323
 !if $wims_user!=$empty and $wims_user!=supervisor
4747 bpr 324
  <p><span class="wims_warning">$wims_name_warning.</span>! Non ripetere questo errore!
3570 bpr 325
  Le attività possono attribuire punteggi negativi anche quando la
5474 czzmrn 326
  registrazione dei voti per le altre attività è chiusa.</p>
19 reyssat 327
 !endif
328
 !goto end2
329
!endif
330
 
331
:examerr
332
 
333
!if exam_dep iswordof $wims_user_error
5474 czzmrn 334
  <p>Puoi cominciare a lavorare su questo esercizio solo quando hai ottenuto
19 reyssat 335
  un punteggio sufficiente nell'esercizio (o negli esercizi)
336
  !if , isin $dep_list
337
   exercises $dep_list.
338
  !else
339
   exercise $dep_list.
340
  !endif
5474 czzmrn 341
  </p>
342
  <p>Comincia da quest'ultimo!</p>
19 reyssat 343
  !goto examend
344
!endif
345
 
346
!if bad_exam iswordof $wims_user_error
5474 czzmrn 347
  <p>Richiesta non valida in una sessione d'esame.</p>
19 reyssat 348
  !goto examend
349
!endif
350
 
351
!if exam_exo_finished iswordof $wims_user_error
5474 czzmrn 352
  <p>You have already done this exercise with a score of $wims_exo_lastscore.</p>
353
  <p>You cannot do it again because this is an examination.</p>
19 reyssat 354
  !goto examend
355
!endif
356
 
357
!if expired_exam iswordof $wims_user_error
5474 czzmrn 358
  <p>Il tempo è scaduto.</p>
19 reyssat 359
  :examend
360
  !set pses=!translate _ to , in $wims_session
361
  !set pses=!item 1 of $pses
362
  !set pser=!randint 1,999
363
  !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student';
5474 czzmrn 364
  <p style="text-align:center;">
19 reyssat 365
  <a href=# onclick="window.close();$wims_opener">Chiudi questa finestra</a>.
5474 czzmrn 366
  </p>
19 reyssat 367
  !exit
368
!endif
369
 
370
!if exam_closed iswordof $wims_user_error
5474 czzmrn 371
 <p>L'esame non è più accessibile.</p>
372
 <p>Contattare il docente del corso.</p>
19 reyssat 373
 !goto examend
374
!endif
375
 
376
!if bad_ident iswordof $wims_user_error
5474 czzmrn 377
 <p>Your request contains a user identification error.</p> 
378
 <p>Are you trying to connect
379
 to somebody else's session?</p>
19 reyssat 380
 <p>
381
 Please
5474 czzmrn 382
 <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>.</p>
19 reyssat 383
 </body></html>
384
 !exit
385
!endif
386
 
387
!if no_access iswordof $wims_user_error
5474 czzmrn 388
 <p> Your request is refused by the access policy of this site. Sorry.</p>
19 reyssat 389
  !goto end
390
!endif  
391
 
392
!if class_closed iswordof $wims_user_error
5474 czzmrn 393
  <h2>Spiacente.</h2>
19 reyssat 394
  <p>
395
  L'accesso a questo corso virtuale è stato temporaneamente chiuso dal docente.
396
  Si prega di riprovare più tardi!
5474 czzmrn 397
  </p>
398
  <p style="text-align:center;">
19 reyssat 399
  !href cmd=close&module=home WIMS
5474 czzmrn 400
  </p>
19 reyssat 401
  </body></html>
402
  !exit
403
!endif  
404
 
405
:end
406
<p>Se questo messaggio vi appare dopo aver seguito un link in una pagina.
407
probabilmente si tratta di un errore nella pagina. In questo caso
5474 czzmrn 408
contattatene l'autore per informarlo dell'errore.
409
</p>
410
<p>  &Egrave; possibile 
19 reyssat 411
contattare il 
412
<a href="mailto:$wims_site_manager?subject=wims.cgi">manager di questo
3570 bpr 413
server</a>, precisando quanti più dettagli possibili per ricostruire
5474 czzmrn 414
l'errore.</p>
19 reyssat 415
 
416
:end2
5474 czzmrn 417
<hr/>
418
<p style="text-align:center;">
419
!set wims_ref_class=wims_button home
19 reyssat 420
!href module=home&cmd=new [WIMS home]
5474 czzmrn 421
!reset wims_ref_class
422
</p>
19 reyssat 423
 
424
</body></html>
425
 
)
'; /* ]]> */