Rev 17327 | Rev 17331 | Go to most recent revision | 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 | |||
3 | !if not_supervisor=$error |
||
8255 | bpr | 4 | Spiacente ma la preparazione / modifica degli esercizi dei test di autovalutazione è limitata ai docenti registrati. |
23 | reyssat | 5 | !exit |
6 | !endif |
||
7 | |||
1998 | czzmrn | 8 | !if bad_series=$error |
9 | Spiacente, il gruppo di esercizi da modificare non esiste!! |
||
10 | !exit |
||
11 | !endif |
||
12 | |||
23 | reyssat | 13 | !if bad_source=$error |
3951 | bpr | 14 | L'elemento $bad_source nei comandi inseriti non è |
23 | reyssat | 15 | valido. |
17206 | guerimand | 16 | !href cmd=reply&job=prep_putsource $name_correctsource |
23 | reyssat | 17 | . |
18 | !exit |
||
19 | !endif |
||
20 | |||
1998 | czzmrn | 21 | !if active_sheet=$error |
22 | Questo test è attivo. Non è quindi possibile effettuare modifiche. |
||
23 | !exit |
||
24 | !endif |
||
25 | |||
883 | czzmrn | 26 | !if bad_sheet=$error |
16286 | bpr | 27 | Il numero del test di autovalutazione non è valido. Errore del software? |
28 | !exit |
||
883 | czzmrn | 29 | !endif |
30 | |||
3062 | bpr | 31 | !if bad_maxsheet=$error |
16286 | bpr | 32 | Il numero massimo di test di autovalutazione consentiti è $max_sheets. Non è possibile creare altri test di autovalutazione. |
33 | !exit |
||
3062 | bpr | 34 | !endif |
35 | |||
23 | reyssat | 36 | !if no_title=$error |
8255 | bpr | 37 | Per registrare un corso è necessario inserire il titolo. |
23 | reyssat | 38 | Correggere. |
39 | !exit |
||
40 | !endif |
||
41 | |||
883 | czzmrn | 42 | !if $error=not_secure |
16286 | bpr | 43 | Questa operazione è effettuabile solo da un IP sicuro. |
44 | !if $sec=$empty |
||
45 | Non sono stati definiti IP sicuri, accesso non consentito. Consulta |
||
46 | il manager del sito. |
||
47 | !else |
||
48 | Accesso non consentito. |
||
49 | !endif |
||
50 | !exit |
||
883 | czzmrn | 51 | !endif |
52 | |||
53 | !if $error=sharing_sheet |
||
54 | Questi test sono condivisi con altri corsi! |
||
55 | !if $wims_ismanager<2 |
||
9009 | czzmrn | 56 | Solo il site manager può disattivare il test. |
883 | czzmrn | 57 | !exit |
58 | !endif |
||
15951 | czzmrn | 59 | Disattivandoli puoi danneggiare anche le configurazioni dei corsi |
60 | che li condividono. Si <strong>sconsiglia vivamente</strong> di |
||
5779 | czzmrn | 61 | disattivare test di autovalutazione condivisi.</p> |
62 | <p> Sei sicuro di voler disattivare il test?</p> |
||
14662 | czzmrn | 63 | <p class="wimscenter"> |
16286 | bpr | 64 | !set wims_ref_class=wims_button |
5779 | czzmrn | 65 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes, $(wims_name_actionlist[3]) |
14662 | czzmrn | 66 | $ $ |
13313 | obado | 67 | !set wims_ref_class=wims_button wims_secondary_button |
7801 | bpr | 68 | !href cmd=resume $wims_name_no, $wims_name_giveup |
14662 | czzmrn | 69 | </p><p> |
883 | czzmrn | 70 | <b>Prima di continuare, è per lo meno consigliabile di chiedere ai docenti |
15951 | czzmrn | 71 | dei corsi che li condividono di fare un backup del proprio corso!</b> Si |
919 | czzmrn | 72 | fa però presente che in caso di problemi, che potrebbero verificarsi anche |
15951 | czzmrn | 73 | dopo mesi, sarete obbligati a ripristinare questo backup e di conseguenza la |
74 | configurazione PRECEDENTE la disattivazione, perdendo così tutti i risultati registrati SUCCESSIVAMENTE, |
||
75 | per tutti i corsi che condividono il test. |
||
5779 | czzmrn | 76 | </p> |
883 | czzmrn | 77 | !exit |
78 | !endif |
||
79 | |||
14395 | bpr | 80 | !if sheet_in_exam iswordof $error |
81 | !set exa=!word 2 of $error |
||
82 | Non è possibile disattivare questo test, in quanto alcuni esami |
||
14662 | czzmrn | 83 | ne utilizzano i contenuti (per esempio l'esame $exa). |
14395 | bpr | 84 | !exit |
883 | czzmrn | 85 | !endif |
86 | |||
87 | !if $error=non_empty_activities |
||
16286 | bpr | 88 | <p class="wims_msg warning">Stai per disattivare il test $sheet, mentre alcuni studenti hanno |
89 | già cominciato a lavorarci!</p> |
||
5779 | czzmrn | 90 | |
16286 | bpr | 91 | !if share iswordof $confirmed |
92 | <p>Inoltre, il test è condiviso con altri corsi, dove pure gli |
||
93 | studenti potrebbero aver già cominciato a lavorare. Pertanto |
||
94 | non è possibile disattivarlo.</p> |
||
95 | !exit |
||
96 | !endif |
||
97 | <p>Tutti i punteggi ottenuti per questo test di autovalutazione saranno perduti |
||
98 | se il test viene disattivato. Vuoi veramente disattivare il test?</p> |
||
99 | <p class="wimscenter"> |
||
100 | !set wims_ref_class=wims_button |
||
101 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes, $(wims_name_actionlist[3]) |
||
5779 | czzmrn | 102 | |
13313 | obado | 103 | !set wims_ref_class=wims_button wims_secondary_button |
5779 | czzmrn | 104 | !href cmd=resume $wims_name_no, $wims_name_giveup |
105 | </p> |
||
883 | czzmrn | 106 | Elenco degli studenti che hanno già cominciato a lavorare su questo |
107 | test di autovalutazione: |
||
7801 | bpr | 108 | |
14099 | obado | 109 | <p class="tt">$worktest</p> |
5779 | czzmrn | 110 | |
14099 | obado | 111 | <div class="wims_msg info"><b>Nota</b>. Questa operazione è vivamente sconsigliata a meno che questo |
7801 | bpr | 112 | non sia un corso di prova. Si consiglia di fermarsi ora se si sta |
14099 | obado | 113 | parlando di un corso con studenti <em>veri</em>.</div> |
883 | czzmrn | 114 | !exit |
115 | !endif |
||
116 | |||
23 | reyssat | 117 | !if prep_activate=$error |
8255 | bpr | 118 | Si è richiesto di dare inizio al test di autovalutazione $sheet, cioè di renderla |
5850 | bpr | 119 | accessibile agli studenti. |
8255 | bpr | 120 | Ricordiamo che un test in corso non è più modificabile, ma |
5779 | czzmrn | 121 | occorre prima disattivarlo (in questo caso tutti i punteggi acquisiti dagli |
7801 | bpr | 122 | studenti saranno cancellati). |
123 | !if $test_expire!=$empty |
||
124 | <div class="wims_warning"> |
||
7817 | czzmrn | 125 | La data di termine del test è antecedente a oggi, sarà quindi |
126 | modificata nella data di termine del corso. |
||
7801 | bpr | 127 | </div> |
128 | !endif |
||
129 | <p> |
||
23 | reyssat | 130 | Continuare? |
5850 | bpr | 131 | </p> |
132 | <p class="wimscenter"> |
||
5779 | czzmrn | 133 | !set wims_ref_class=wims_button |
16286 | bpr | 134 | !href cmd=reply&save=$wims_name_tosave&job=activate $wims_name_yes, $(wims_name_actionlist[1]) |
14662 | czzmrn | 135 | $ $ |
136 | !set wims_ref_class=wims_button wims_secondary_button |
||
5779 | czzmrn | 137 | !href cmd=resume $wims_name_no, $wims_name_giveup |
16286 | bpr | 138 | </p> |
139 | !exit |
||
23 | reyssat | 140 | !endif |
141 | |||
142 | !if prep_erase=$error |
||
5779 | czzmrn | 143 | Sicuri di voler eliminare il test numero $sheet ($title)? |
5850 | bpr | 144 | <p class="wimscenter"> |
7973 | bpr | 145 | !set wims_ref_class=wims_button wims_warning |
5779 | czzmrn | 146 | !href cmd=reply&job=erase $wims_name_yes, $wims_name_erase |
14662 | czzmrn | 147 | $ $ |
5779 | czzmrn | 148 | !set wims_ref_class=wims_button |
149 | !href cmd=resume $wims_name_no, $wims_name_giveup |
||
16286 | bpr | 150 | </p> |
151 | !exit |
||
23 | reyssat | 152 | !endif |
153 | |||
154 | !if prep_expire=$error |
||
300 | czzmrn | 155 | Il test di autovalutazione numero $sheet ($title) dovrebbe durare fino |
156 | al $expday |
||
23 | reyssat | 157 | !item $expmon of $months |
158 | $expyear. Concluderla ora? |
||
14662 | czzmrn | 159 | <p class="wimscenter"> |
160 | !set wims_ref_class=wims_button wims_warning |
||
16286 | bpr | 161 | !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2]) |
14662 | czzmrn | 162 | $ $ |
163 | !set wims_ref_class=wims_button |
||
16286 | bpr | 164 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
165 | </p> |
||
166 | <p><b>Nota.</b> Gli studenti non possono più lavorare su un test |
||
167 | terminato. I voti fin qui acquisiti vengono conservati (e le statistiche |
||
168 | ne tengono conto) e possono essere consultati dal |
||
169 | docente in qualsiasi momento.</p> |
||
170 | !exit |
||
23 | reyssat | 171 | !endif |
172 | |||
173 | !if prep_putsource=$error |
||
5779 | czzmrn | 174 | <p> |
8255 | bpr | 175 | Se si è provveduto in precedenza a salvare su file |
176 | le istruzioni Wims, è possibile inserire i comandi |
||
7801 | bpr | 177 | e salvarli cliccando su <span class="wims_button disabled">$wims_name_send</span>. |
14662 | czzmrn | 178 | </p><p> |
8255 | bpr | 179 | è anche possibile inserire |
2009 | czzmrn | 180 | il sorgente di un test pubblico mediante copia&incolla. |
5779 | czzmrn | 181 | </p> |
1780 | bpr | 182 | !set wims_menu_items=!append line sheetadmin,1,cmd=resume \ |
1591 | czzmrn | 183 | to $wims_menu_items |
184 | |||
17206 | guerimand | 185 | !set wims_form_method=post |
23 | reyssat | 186 | !form reply |
17180 | bpr | 187 | <input type="hidden" name="job" value="putsource"><p class="wimscenter"> |
17206 | guerimand | 188 | <textarea cols="55" rows="10" name="source">$ssource</textarea></p> |
17180 | bpr | 189 | <p class="wimscenter"><input type="submit" value="$wims_name_send"></p> |
7801 | bpr | 190 | |
5926 | bpr | 191 | !formend |
7801 | bpr | 192 | <span class="wims_warning">$wims_name_warning</span>. |
4552 | bpr | 193 | Non inserire file di istruzioni modificate. Potrebbero |
23 | reyssat | 194 | essere inutilizzabili dal server. |
195 | !exit |
||
196 | !endif |
||
197 | |||
198 | !if prep_modify=$error |
||
199 | !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
200 | !if $modif>$cnt or $modif<1 |
||
3985 | bpr | 201 | La richiesta non è valida. |
23 | reyssat | 202 | !else |
203 | !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
1998 | czzmrn | 204 | !read exomodify.phtml $exo |
23 | reyssat | 205 | !endif |
1764 | czzmrn | 206 | !exit |
23 | reyssat | 207 | !endif |
208 | |||
1764 | czzmrn | 209 | !if $error=toolate |
11035 | bpr | 210 | !read adm/lang/date.phtml.$moduclass_lang $class_expiration |
211 | <p>$name_expiration1 ($l_date_out). $name_expiration2 </p> |
||
212 | !set wims_ref_class=wims_button |
||
14662 | czzmrn | 213 | !href cmd=resume&save=$empty&job=$empty $wims_name_back2 |
16286 | bpr | 214 | ($wims_name_sheetmanagement) |
215 | !exit |
||
1998 | czzmrn | 216 | !endif |
1764 | czzmrn | 217 | |
1998 | czzmrn | 218 | !if $error=srcnoexo |
17180 | bpr | 219 | Questo test di autovalutazione non contiene alcun esercizio: il file sorgente è vuoto.<br> |
16286 | bpr | 220 | !href cmd=resume torna alla pagina di configurazione del test |
221 | !exit |
||
1764 | czzmrn | 222 | !endif |
1998 | czzmrn | 223 | |
15859 | guerimand | 224 | !if $error=depindiv |
225 | <div class="wims_msg alert"> |
||
226 | <strong>$wims_name_Error:</strong> |
||
15951 | czzmrn | 227 | Non è possibile utilizzare punteggi con dipendenza se si utilizza la |
228 | personalizzazione del test tramite variabile tecnica. |
||
17180 | bpr | 229 | <br> |
15951 | czzmrn | 230 | Dovete scegliere una delle due opzioni per poter attivare questo test. |
15859 | guerimand | 231 | !reset error |
232 | </div> |
||
16286 | bpr | 233 | <div class="wimscenter"> |
15947 | guerimand | 234 | !set wims_ref_class=wims_button |
15951 | czzmrn | 235 | !href cmd=resume Torna alla pagina di configurazione del test |
15947 | guerimand | 236 | </div> |
15859 | guerimand | 237 | !exit |
238 | !endif |
||
239 | |||
16195 | guerimand | 240 | !if badtechvarname iswordof $error |
241 | <div class="wims_msg alert"> |
||
242 | <strong>$wims_name_Error:</strong> |
||
17327 | guerimand | 243 | !let code=!word 2 to -1 of $error |
244 | !if $code=_ |
||
245 | une des conditions <span class="wims_code_words">Condition pour cacher la feuille aux participants</span> n'a pas de nom de variable |
||
246 | !else |
||
247 | Un des noms de variable ( |
||
248 | !let code=!listcomplement _ in $code |
||
249 | $code |
||
17329 | guerimand | 250 | ) n'est pas un nom correct de variable technique. Les noms incorrects de variable technique |
251 | ont été supprimés du champs <span class="wims_code_words">Condition pour cacher la feuille aux participants</span>. |
||
17327 | guerimand | 252 | !endif |
16195 | guerimand | 253 | </div> |
254 | <div class="wimscenter"> |
||
255 | !set wims_ref_class=wims_button |
||
256 | !reset error |
||
257 | !href cmd=resume Retour |
||
258 | </div> |
||
259 | !exit |
||
260 | !endif |
||
261 | |||
16729 | guerimand | 262 | !if toomanyexo=$error |
263 | <div class="wims_msg alert"> |
||
264 | Le nombre d'exercices dans une feuille est limité à $max_exos. Vous devez supprimer des exercices avant de pouvoir |
||
265 | l'activer. |
||
266 | </div> |
||
267 | !exit |
||
268 | !endif |
||
269 | |||
16798 | guerimand | 270 | !if $error=badallowshare |
271 | <div class="wims_msg alert"> |
||
272 | <strong>$wims_name_Error:</strong> |
||
273 | La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre |
||
17180 | bpr | 274 | classe. |
16798 | guerimand | 275 | Vous ne pouvez donc pas propager ces réglages aux autres classes en partage. |
276 | </div> |
||
277 | <div class="wimscenter"> |
||
278 | !set wims_ref_class=wims_button |
||
279 | !reset error |
||
280 | !href cmd=resume Retour |
||
281 | </div> |
||
282 | !exit |
||
283 | !endif |
||
284 | |||
17327 | guerimand | 285 | !if $error=hiddenbadtechvar |
286 | Attention, la <span class="wims_code_words">condition pour cacher la feuille aux participants</span> en utilisant une variable technique est incorrecte. Vous devez la corriger. |
||
287 | !exit |
||
288 | !endif |
||
289 | |||
23 | reyssat | 290 | !msg $error |