Subversion Repositories wimsdev

Rev

Rev 14189 | Rev 15416 | 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)
11949 obado 3
Content-type: text/html; charset=windows-1252
19 reyssat 4
Cache-Control: no-cache
5
Pragma: no-cache
6
 
11949 obado 7
<!DOCTYPE html>
8
<html><head>
9
  <meta http-equiv=expires content="1 Jan 1990">
10
  <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
11
  <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
12
  <!-- General theme style -->
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>
5474 czzmrn 18
 
11949 obado 19
  !if exam_ isin $wims_user_error
20
    <style type="text/css"><!--
21
    body {text-align: justify;
22
    padding-left: 3%; padding-right: 3%;}
23
    --></style>
24
    </head>
25
    <body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error">
26
     <h1 class="wimscenter">ERRORE</h1>
27
    !goto examerr
28
  !endif
5474 czzmrn 29
 
11949 obado 30
</head><body class="user_error">
5474 czzmrn 31
 
19 reyssat 32
!if threshold iswordof $wims_user_error
5474 czzmrn 33
 <hr width="1"/>
7610 czzmrn 34
 <h1>We are too busy</h1>
5474 czzmrn 35
 <hr style="width:50%"/>
36
 <p>
7610 czzmrn 37
 Questo server WIMS <span class="color:blue">$httpd_HTTP_HOST</span>
3570 bpr 38
 è sovraccarico e non è in grado di accettare altri
39
 utenti. Si prega di ritornare più tardi o di utilizzare un
19 reyssat 40
 altro server WIMS.
7610 czzmrn 41
 </p><p>
42
 Siamo molto desolati e speriamo di poter essere di nuovo utili
43
 in futuro.
5474 czzmrn 44
 </p>
45
 
19 reyssat 46
 !read mirror.phtml.it
11949 obado 47
 !goto end_html
19 reyssat 48
!endif
49
 
50
!if overload iswordof $wims_user_error
7610 czzmrn 51
 <hr style="width:1px" />
52
 <h1>SPIACENTI</h1>
11943 bpr 53
 <p>La vostra richiesta ha causato un blocco di questo server WIMS:
5474 czzmrn 54
 è stata raggiunta la quota massima di connessioni.</p>
11949 obado 55
 !goto end_html
19 reyssat 56
!endif
57
 
58
!if ++++missing_ isin ++++$wims_user_error
5474 czzmrn 59
 <hr width="1"/>
7610 czzmrn 60
 <h1>Spiacenti</h1>
5474 czzmrn 61
 <hr style="width:50%"/>
62
 <p>
7610 czzmrn 63
 WIMS ha bisogno del programma
19 reyssat 64
 !set miss=!upper $missing_software
4747 bpr 65
 <span class="wims_warning">$miss</span>
7610 czzmrn 66
 per completare la richiesta inviata, ma tale programma non è disponibile (o
67
 non è utilizzabile da WIMS) su questo server.</p>
19 reyssat 68
 <p>
7610 czzmrn 69
 Potete
70
 <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">scrivere
71
 al webmaster</a> per comunicare il problema, o scegliere un altro sito WIMS
72
 nella tabella qui sotto.</p>
5474 czzmrn 73
 <p><a href="wims.cgi">WIMS homepage</a>.</p>
3749 czzmrn 74
 !read mirror.phtml.it
11949 obado 75
 !goto end_html
19 reyssat 76
!endif
77
 
78
!if trapped iswordof $wims_user_error
7610 czzmrn 79
 <h1>Stop!</h1>
5474 czzmrn 80
 <hr/>
3749 czzmrn 81
 Le contenu de
82
 <a HREF="http://$httpd_HTTP_HOST">$httpd_HTTP_HOST</a> n'est pas compatible
83
 avec un programme de ramassage de pages web ou un `accélérateur d'accès'.
84
 <p>
85
 Pour accéder aux activités WIMS de ce site, veuillez utiliser un navigateur
86
 ordinaire sans `accélérateur d'accès' installé derrière.
5474 czzmrn 87
 </p>
3749 czzmrn 88
 <p>
89
 Sachez que les pages WIMS sont générées de façon dynamique. Elles ne peuvent
90
 qu'être utilisées en ligne de toute façon.
5474 czzmrn 91
 </p>
11949 obado 92
 !goto end_html
19 reyssat 93
!endif
94
 
7610 czzmrn 95
<h1>Errore WIMS</h1>
5474 czzmrn 96
<hr/>
11943 bpr 97
!if no_access notwordof $wims_user_error
7610 czzmrn 98
<p>
99
C'è un errore nella richiesta effettuata.
100
</p>
11943 bpr 101
!endif
19 reyssat 102
!if module_change iswordof $wims_user_error
103
 !if $wims_human_access=yes
5474 czzmrn 104
  <p>
3570 bpr 105
  L'uso del tasto `Back' è incompatibile con WIMS.
19 reyssat 106
  Le pagine sono generate interattivamente a richiesta.
5474 czzmrn 107
  </p>
7610 czzmrn 108
  <p class="wimscenter">
19 reyssat 109
  !set tit=!module title $module
110
  !default tit=$module
111
  !href module=$module $tit
112
  &nbsp;&nbsp;&nbsp;
3570 bpr 113
  !href $ WIMS home
19 reyssat 114
  !if $httpd_HTTP_REFERER!=$empty
115
   &nbsp;&nbsp;&nbsp;<a href="$httpd_HTTP_REFERER">Esci da WIMS</a>
116
  !else
5474 czzmrn 117
   </p>
118
   <p>
11943 bpr 119
   <span class="small">Se state cercando di uscire da WIMS, ignorate questo
7610 czzmrn 120
   messaggio e continuate a selezionare il tasto `Back/Indietro'.
121
   </span></p>
19 reyssat 122
  !endif
11949 obado 123
  !goto end_html
19 reyssat 124
 !endif
5474 czzmrn 125
<p> Richiesta di cambio modulo non valida.
11943 bpr 126
 State forse utilizzando un programma automatico
5474 czzmrn 127
 per accedere a questo sito?</p>
19 reyssat 128
 :unblock
129
 !form new
5755 bpr 130
 <input type="hidden" name="module" value="home"/>
131
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/>
19 reyssat 132
 Se avete semplicemente cliccato erroneamente sul tasto `Back' del browser
133
 scrivete la parola `wims' qui
5755 bpr 134
 <input size="8" name="special_parm"/> e quindi
7610 czzmrn 135
 <input type="submit" value="Procedete" />.
136
!formend
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à.
7610 czzmrn 140
 È del tutto inutile scaricare le pagine con un programma
141
 automatico.
142
 </p>
19 reyssat 143
 !if robot_doubt iswordof $wims_user_error
11943 bpr 144
  <p class="small">A tentativi di intrusione nel sistema si risponderà
7610 czzmrn 145
  limitando le possibilità di accesso.
146
  </p>
19 reyssat 147
 !endif
11949 obado 148
 !goto end_html
19 reyssat 149
!endif
150
 
151
!if robot_doubt iswordof $wims_user_error
11943 bpr 152
 <p>Spiacente: accesso negato perché sei sospettato di utilizzare,
7610 czzmrn 153
 contrariamente alle nostre richieste, un programma automatico copiare le pagine.</p>
19 reyssat 154
 !goto unblock
155
!endif
156
 
157
!if allow_violation iswordof $wims_user_error
7610 czzmrn 158
  <p>
159
  Non è permesso definire la variabile ``$wims_error_data''
160
  tramite il comando ``$cmd''.
161
  </p>
19 reyssat 162
!endif
163
 
164
!if bad_command iswordof $wims_user_error
7610 czzmrn 165
  <p>
166
  Il comando ``$cmd'' non è valido.
167
  </p>
168
  <p>
11943 bpr 169
  I comandi validi sono:
7610 czzmrn 170
  </p>
5474 czzmrn 171
  <pre>new, renew, reply, help, hint, config </pre>
19 reyssat 172
!endif
173
 
174
!if bad_host iswordof $wims_user_error
5474 czzmrn 175
  <p>
11943 bpr 176
  State cercando di accedere a una sessione che è stata creata da un'altra
177
  postazione. Per ragioni di sicurezza, WIMS non permette di cambiare la
178
  postazione da cui ci si connette a metà di una sessione di lavoro.
7610 czzmrn 179
  </p>
180
  <p>
11943 bpr 181
  Sfortunatamente alcuni internet provider forniscono ip dinamici che
182
  POTREBBERO cambiare a connessione attiva.
183
  In questo caso, se incorrete spesso in questo inconveniente, dovete
7610 czzmrn 184
  chiedere al docente di cambiare la modalità di accesso al corso.
5474 czzmrn 185
  </p>
19 reyssat 186
!endif
187
 
188
!if need_https iswordof $wims_user_error
3570 bpr 189
 Per connettersi è necessario un browser che supporti il
5474 czzmrn 190
 protocollo https e connettersi con una richiesta https.
19 reyssat 191
 !set refname=!replace http:// by https:// in $wims_ref_name
192
 <a href="$refname?session=$wims_session&module=home&cmd=new">Riprova</a>.
11949 obado 193
 !goto end_html
19 reyssat 194
!endif
195
 
196
!if bad_insnum iswordof $wims_user_error
197
 !if $cmd=getfile
7610 czzmrn 198
  <p>
199
  Il file non esiste.
200
  </p>
19 reyssat 201
 !else
7610 czzmrn 202
  <p>
203
  Il nome del file da inserire dinamicamente non è valido.
204
  </p>
19 reyssat 205
 !endif
206
!endif
207
 
208
!if cmd_output_too_long iswordof $wims_user_error
7610 czzmrn 209
  <p>
210
  È stato raggiunto il limite di potenza di calcolo utilizzabile.
11943 bpr 211
  La richiesta è eccessivamente complicata e laboriosa.
7610 czzmrn 212
  Si prega di rivedere i dati inseriti.
213
  </p>
19 reyssat 214
!endif
215
 
216
!if double_click iswordof $wims_user_error
5474 czzmrn 217
 <p>
11943 bpr 218
 Questa richiesta è arrivata mentre si stava già
7610 czzmrn 219
 analizzando un'altra vostra richiesta.
220
 </p>
221
 <p>
222
 È inutile continuare a cliccare, ma è necessario aspettare
4747 bpr 223
 <span class="wims_warning">$wims_cpu_limit secondi</span>
11943 bpr 224
 perché la richiesta precedente vada a termine, dopo di che
19 reyssat 225
 !href cmd=resume cliccando qui
7610 czzmrn 226
 si può riprendere a lavorare.
5474 czzmrn 227
 </p>
11943 bpr 228
 <p>(E si prega di essere più
19 reyssat 229
 pazienti quando si sottopongono a WIMS conti laboriosi.)
5474 czzmrn 230
 </p>
19 reyssat 231
 <p>
11943 bpr 232
  Se state cercando di uscire da WIMS, ignorate questo
19 reyssat 233
  messaggio e continuate a selezionare il tasto `Back/Indietro'.
5474 czzmrn 234
 </p>
11949 obado 235
 !goto end_html
19 reyssat 236
!endif
237
 
238
!if invalid_char_in_query_string iswordof $wims_user_error
7610 czzmrn 239
  <p>
240
  La sostituzione ``$wims_error_data'' nei parametri non è
241
  ammessa.
242
  </p>
19 reyssat 243
!endif
244
 
245
!if name_conflict iswordof $wims_user_error
7610 czzmrn 246
  <p>
247
  ``$wims_error_data'' è un nome riservato per WIMS.
248
  </p>
19 reyssat 249
!endif
250
 
251
!if no_command iswordof $wims_user_error
7610 czzmrn 252
  <p>
253
  Non è un comando.
254
  </p>
19 reyssat 255
!endif
256
 
257
!if no_insnum iswordof $wims_user_error
258
 !if $cmd=getfile
7610 czzmrn 259
  <p>
260
  Manca il nome del file.
261
  </p>
19 reyssat 262
 !else
7610 czzmrn 263
  <p>
264
  Richiesta di inserimento automatico senza indicarne il numero.
265
  </p>
19 reyssat 266
 !endif
267
!endif
268
 
269
!if no_module_name iswordof $wims_user_error
7610 czzmrn 270
  <p>
271
  Richiesta di una sessione senza indicare un modulo.
272
  </p>
19 reyssat 273
!endif
274
 
275
!if no_session iswordof $wims_user_error
7610 czzmrn 276
  <p>
277
  Manca il codice della sessione.
278
  </p>
19 reyssat 279
!endif
11943 bpr 280
 
19 reyssat 281
!if parm_too_long iswordof $wims_user_error
7610 czzmrn 282
  <p>
283
  Si sono inseriti troppi parametri. Questo non è permesso
284
  per ragioni di sicurezza.
285
  </p>
19 reyssat 286
!endif
287
 
288
!if string_too_long iswordof $wims_user_error
7610 czzmrn 289
  <p>
290
  La definizione di una variabile è troppo lunga.
291
  </p>
19 reyssat 292
!endif
293
 
294
!if too_many_variables iswordof $wims_user_error
7610 czzmrn 295
  <p>
296
  Il numero di paramtri inseriti eccede il limite massimo permesso
297
  da questa installazione di WIMS.
298
  </p>
19 reyssat 299
!endif
300
 
301
!if unmatched_parentheses iswordof $wims_user_error
7610 czzmrn 302
  <p>
11990 obado 303
    C'è un errore nelle parentesi.<br/>
304
    È possibile correggere l'errore in questo spazio.
7610 czzmrn 305
  </p>
19 reyssat 306
  !form $cmd
11990 obado 307
    !for i in module,special_parm,worksheet
308
      !if $($i)!=$empty
309
        !set value=!translate " to $ $ in $($i)
310
        <input type="hidden" name="$i" value="$value"/>
311
      !endif
312
    !next i
313
    !for i=0 to $user_var_no-1
314
      !if $i!=$bad_parentheses
315
        !set value=!translate " to $ $ in $(value$i)
316
        <input type="hidden" name="$(name$i)" value="$value"/>
317
      !endif
318
    !next i
319
    !set value=!translate " to $ $ in $(value$bad_parentheses)
320
    !set len=!charcnt $value
321
    !if $len<55
322
      !set len=$[$len+3]
323
    !else
324
      !set len=59
325
    !endif
326
    !set n=!linecnt $value
327
    !set input_id=$(name$bad_parentheses)
328
    <div class="field box">
329
      <label for="$input_id">$input_id =</label>
330
      !if $n<=1
331
        !if $len<55
332
          !set len=$[$len+3]
333
        !else
334
          !set len=59
335
        !endif
336
        <input size="$len" name="$input_id" id="$input_id" value="$value" />
337
      !else
338
        !if $n>10
339
          !set n=10
340
        !endif
341
        <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea>
342
      !endif
343
    </div>
344
    <p class="actions">
345
      Quindi
346
      <input type="submit" value="inviare la risposta corretta."/>
347
    </p>
7610 czzmrn 348
  !formend
5474 czzmrn 349
  <hr/>
7610 czzmrn 350
  <p class="wimscenter">
11990 obado 351
    !href cmd=resume Annullare
352
    |
353
    !href $ [WIMS home]
354
  </p>
11949 obado 355
  !goto end_html
19 reyssat 356
!endif
11943 bpr 357
 
19 reyssat 358
!if wrong_module iswordof $wims_user_error
7428 obado 359
  !set tmp=!translate "!/<>;': to $         $ in $module
360
  <p>Il modulo <code>$tmp</code> richiesto non esiste su questo server.</p>
19 reyssat 361
!endif
362
 
363
!if wrong_session iswordof $wims_user_error
5474 czzmrn 364
  <p>La sessione numero ``$session'' non è (più) valida.
365
  <a href="wims.cgi">Comincia una nuova sessione</a>.</p>
19 reyssat 366
!endif
367
 
368
!if rafale iswordof $wims_user_error
7610 czzmrn 369
 <p>Per favore, non giocate con gli esercizi!</p>
19 reyssat 370
 <p>
7610 czzmrn 371
 Dovete prendervi il tempo che vi serve per pensare alla risoluzione degli
372
 esercizi, invece di continuare a chiederne di nuovi.
5474 czzmrn 373
 </p>
374
 !set wims_ref_class=wims_button
7610 czzmrn 375
 !href cmd=resume Annullare l'ultima richiesta
5474 czzmrn 376
 !reset wims_ref_class
19 reyssat 377
.
378
 !if $wims_user!=$empty and $wims_user!=supervisor
4747 bpr 379
  <p><span class="wims_warning">$wims_name_warning.</span>! Non ripetere questo errore!
3570 bpr 380
  Le attività possono attribuire punteggi negativi anche quando la
7610 czzmrn 381
  registrazione dei voti per le altre attività è chiusa.
382
  </p>
19 reyssat 383
 !endif
384
 !goto end2
385
!endif
386
 
387
:examerr
388
 
389
!if exam_dep iswordof $wims_user_error
5474 czzmrn 390
  <p>Puoi cominciare a lavorare su questo esercizio solo quando hai ottenuto
11943 bpr 391
  un punteggio sufficiente
19 reyssat 392
  !if , isin $dep_list
7610 czzmrn 393
   negli esercizi $dep_list.
19 reyssat 394
  !else
7610 czzmrn 395
   nell'esercizio $dep_list.
19 reyssat 396
  !endif
5474 czzmrn 397
  </p>
15257 czzmrn 398
  <p>Comincia da questo/i!</p>
19 reyssat 399
  !goto examend
400
!endif
401
 
402
!if bad_exam iswordof $wims_user_error
5474 czzmrn 403
  <p>Richiesta non valida in una sessione d'esame.</p>
19 reyssat 404
  !goto examend
405
!endif
406
 
407
!if exam_exo_finished iswordof $wims_user_error
14189 czzmrn 408
  <p>Hai già completato questo esercizio ottenendo un punteggio di $wims_exo_lastscore.</p>
7610 czzmrn 409
  <p>Durante un esame non è possibile ripetere lo stesso esercizio.</p>
19 reyssat 410
  !goto examend
411
!endif
412
 
413
!if expired_exam iswordof $wims_user_error
5474 czzmrn 414
  <p>Il tempo è scaduto.</p>
19 reyssat 415
  :examend
416
  !set pses=!translate _ to , in $wims_session
417
  !set pses=!item 1 of $pses
418
  !set pser=!randint 1,999
419
  !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student';
7610 czzmrn 420
  <p class="wimscenter">
11949 obado 421
  <a href="#" onclick="window.close();$wims_opener">Chiudi questa finestra</a>.
5474 czzmrn 422
  </p>
11949 obado 423
  !goto end_html
19 reyssat 424
!endif
425
 
426
!if exam_closed iswordof $wims_user_error
5474 czzmrn 427
 <p>L'esame non è più accessibile.</p>
428
 <p>Contattare il docente del corso.</p>
19 reyssat 429
 !goto examend
430
!endif
431
 
432
!if bad_ident iswordof $wims_user_error
11949 obado 433
  <p>Your request contains a user identification error.</p>
434
  <p>Are you trying to connect
435
  to somebody else's session?</p>
436
  <p>
437
  Please
438
  <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>.</p>
439
  !goto end_html
19 reyssat 440
!endif
441
 
442
!if no_access iswordof $wims_user_error
11949 obado 443
  <p>Your request is refused by the access policy of this site. Sorry.</p>
11943 bpr 444
  !goto end2
445
!endif
19 reyssat 446
 
447
!if class_closed iswordof $wims_user_error
5474 czzmrn 448
  <h2>Spiacente.</h2>
19 reyssat 449
  <p>
11949 obado 450
    L'accesso a questo corso virtuale è stato temporaneamente chiuso dal docente.
451
    Si prega di riprovare più tardi!
5474 czzmrn 452
  </p>
7610 czzmrn 453
  <p class="wimscenter">
11949 obado 454
    !href cmd=close&module=home WIMS
5474 czzmrn 455
  </p>
11949 obado 456
  !goto end_html
11943 bpr 457
!endif
19 reyssat 458
 
459
:end
460
<p>Se questo messaggio vi appare dopo aver seguito un link in una pagina.
461
probabilmente si tratta di un errore nella pagina. In questo caso
5474 czzmrn 462
contattatene l'autore per informarlo dell'errore.
463
</p>
11949 obado 464
<p>È possibile
11943 bpr 465
contattare il
7610 czzmrn 466
<a href="mailto:$wims_site_manager?subject=wims.cgi">webmaster</a>, precisando quanti più dettagli possibili per ricostruire
5474 czzmrn 467
l'errore.</p>
19 reyssat 468
 
469
:end2
5474 czzmrn 470
<hr/>
7610 czzmrn 471
<p class="wimscenter">
5474 czzmrn 472
!set wims_ref_class=wims_button home
19 reyssat 473
!href module=home&cmd=new [WIMS home]
5474 czzmrn 474
!reset wims_ref_class
475
</p>
19 reyssat 476
 
11949 obado 477
:end_html
19 reyssat 478
</body></html>
479
 
)
'; rev[7610] = '
2014-04-07 15:54:50
[minor/transl] checking translation
'; rev[11943] = '
2017-09-24 15:09:11
[minor] change error msg when a ressource is not allowed
'; rev[11949] = '
2017-09-25 10:08:34
[minor/html] replace !exit by !goto end_html to ensure the and are properly closed in user_error.phtml...
'; rev[11990] = '
2017-10-02 13:09:54
[minor/ergo] in user_error, when unmatched parentheses are detected, the form has more accessibility (labels) + fr and it languages now display a textarea instead of an input for multilines inputs; like others.
'; rev[14189] = '
2019-08-03 15:34:00
[minor/lang] Italian translation
'; rev[15257] = '
2020-07-03 07:06:58
[minor/lang] Italian
'; /* ]]> */