Rev 6235 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !set wims_module_log=error: $error |
2 | !set level=$[$level-1] |
||
3 | |||
10231 | bpr | 4 | <span class="wims_warning">$wims_name_Error</span>: |
23 | reyssat | 5 | |
6 | !if no_title iswordof $error |
||
7 | Dare un titolo all'esercizio in preparazione. |
||
8 | !exit |
||
9 | !endif |
||
10 | |||
11 | !if empty_title iswordof $error |
||
10231 | bpr | 12 | Il sistema non trova il titolo dell'esercizio. |
13 | È stato definito? |
||
23 | reyssat | 14 | !exit |
15 | !endif |
||
16 | |||
17 | !if no_answer iswordof $error |
||
18 | L'esercizio proposto non richiede una risposta (di alcun tipo: |
||
19 | libera o scelta multipla). |
||
20 | !exit |
||
21 | !endif |
||
22 | |||
23 | !if no_statement iswordof $error |
||
10231 | bpr | 24 | Il contenuto dell'esercizio è incompleto: manca |
23 | reyssat | 25 | l'enunciato. |
26 | !exit |
||
27 | !endif |
||
28 | |||
29 | !if no_reply2 iswordof $error |
||
10231 | bpr | 30 | Il contenuto dell'esercizio è incompleto: la richiesta di risposte |
31 | non è valida. (Occorre riempire tutti |
||
23 | reyssat | 32 | i campi.) |
33 | !exit |
||
34 | !endif |
||
35 | |||
36 | !if def_fail iswordof $error |
||
10231 | bpr | 37 | Il sistema non è stato in grado di generare un esercizio valido |
23 | reyssat | 38 | dai dati forniti. Ci sono errori nelle definizioni. |
10231 | bpr | 39 | <div class="tt"><pre>$oef2wims_out</pre></div> |
23 | reyssat | 40 | !if $mode!=$empty |
41 | !set level=1 |
||
42 | !else |
||
43 | !set level=2 |
||
44 | !endif |
||
45 | !exit |
||
46 | !endif |
||
47 | |||
48 | !if name_exhaust iswordof $error |
||
49 | Ci sono già numerosi esercizi nel corso che hanno lo stesso titolo |
||
10231 | bpr | 50 | di quello appena creato. Se gli esercizi sono diversi, è |
51 | preferibile scegliere un titolo diverso e |
||
23 | reyssat | 52 | riproporre l'esercizio. |
53 | !exit |
||
54 | !endif |
||
55 | |||
56 | !if name_exhaustpub iswordof $error |
||
57 | Ci sono già numerosi esercizi nel corso che hanno lo stesso titolo |
||
10231 | bpr | 58 | di quello appena creato. Se si tratta di esercizi diversi, è |
59 | preferibile scegliere un titolo diverso e |
||
23 | reyssat | 60 | riproporre l'esercizio. |
61 | !exit |
||
62 | !endif |
||
63 | |||
64 | !if unknown iswordof $error |
||
10231 | bpr | 65 | Il salvataggio dell'esercizio non è andato a buon fine per un errore. |
23 | reyssat | 66 | !exit |
67 | !endif |
||
68 | |||
69 | !if already iswordof $error |
||
10231 | bpr | 70 | L'esercizio che si vuole salvare è già salvato. |
23 | reyssat | 71 | !exit |
72 | !endif |
||
73 | |||
74 | !if not_class iswordof $error |
||
10231 | bpr | 75 | La richiesta non è ammissibile. |
23 | reyssat | 76 | !exit |
77 | !endif |
||
78 | |||
79 | !if not_supervisor iswordof $error |
||
10231 | bpr | 80 | Hmm... Solo i docenti possono cancellare esercizi da |
23 | reyssat | 81 | un corso! |
10231 | bpr | 82 | <p>La richiesta non è ammessa.</p> |
23 | reyssat | 83 | !exit |
84 | !endif |
||
85 | |||
86 | !if not_exist iswordof $error |
||
87 | !if $catmodule!=$empty |
||
6235 | bpr | 88 | L'esercizio <span class="tt">$del</span> del modulo <span class="tt">$catmodule</span> |
23 | reyssat | 89 | che volete importare non esiste, o non siete autorizzati a importarlo. |
90 | !else |
||
6235 | bpr | 91 | L'esercizio <span class="tt">$del</span> che volete modificare/cancellare non esiste. |
23 | reyssat | 92 | !endif |
93 | !exit |
||
94 | !endif |
||
95 |