Subversion Repositories wimsdev

Rev

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