Rev 17338 | 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 |
||
17331 | bpr | 4 | Spiacente ma la preparazione / modifica degli esercizi dei test di autovalutazione è limitata ai docenti registrati. |
5 | !exit |
||
23 | reyssat | 6 | !endif |
7 | |||
1998 | czzmrn | 8 | !if bad_series=$error |
17331 | bpr | 9 | Spiacente, il gruppo di esercizi da modificare non esiste!! |
10 | !exit |
||
1998 | czzmrn | 11 | !endif |
12 | |||
23 | reyssat | 13 | !if bad_source=$error |
17331 | bpr | 14 | L'elemento $bad_source nei comandi inseriti non è |
15 | valido. |
||
17411 | czzmrn | 16 | Deve essere presente un titolo (riga 5), un peso non nullo (riga 3) e un numero di punti (multiplo di 10) |
17 | (riga 4). |
||
17331 | bpr | 18 | !href cmd=reply&job=prep_putsource $name_correctsource |
19 | . |
||
20 | !exit |
||
23 | reyssat | 21 | !endif |
22 | |||
1998 | czzmrn | 23 | !if active_sheet=$error |
17331 | bpr | 24 | Questo test è attivo. Non è quindi possibile effettuare modifiche. |
25 | !exit |
||
1998 | czzmrn | 26 | !endif |
27 | |||
883 | czzmrn | 28 | !if bad_sheet=$error |
16286 | bpr | 29 | Il numero del test di autovalutazione non è valido. Errore del software? |
30 | !exit |
||
883 | czzmrn | 31 | !endif |
32 | |||
3062 | bpr | 33 | !if bad_maxsheet=$error |
16286 | bpr | 34 | Il numero massimo di test di autovalutazione consentiti è $max_sheets. Non è possibile creare altri test di autovalutazione. |
35 | !exit |
||
3062 | bpr | 36 | !endif |
37 | |||
23 | reyssat | 38 | !if no_title=$error |
17331 | bpr | 39 | Per registrare un corso è necessario inserire il titolo. |
40 | Correggere. |
||
41 | !exit |
||
23 | reyssat | 42 | !endif |
43 | |||
883 | czzmrn | 44 | !if $error=not_secure |
16286 | bpr | 45 | Questa operazione è effettuabile solo da un IP sicuro. |
46 | !if $sec=$empty |
||
47 | Non sono stati definiti IP sicuri, accesso non consentito. Consulta |
||
48 | il manager del sito. |
||
49 | !else |
||
50 | Accesso non consentito. |
||
51 | !endif |
||
52 | !exit |
||
883 | czzmrn | 53 | !endif |
54 | |||
55 | !if $error=sharing_sheet |
||
17331 | bpr | 56 | Questi test sono condivisi con altri corsi! |
57 | !if $wims_ismanager<2 |
||
58 | Solo il site manager può disattivare il test. |
||
59 | !exit |
||
60 | !endif |
||
61 | Disattivandoli puoi danneggiare anche le configurazioni dei corsi |
||
62 | che li condividono. Si <strong>sconsiglia vivamente</strong> di |
||
17411 | czzmrn | 63 | disattivare test di autovalutazione condivisi. |
64 | <p> |
||
65 | Sei sicuro di voler disattivare il test? |
||
66 | </p><p class="wimscenter"> |
||
16286 | bpr | 67 | !set wims_ref_class=wims_button |
5779 | czzmrn | 68 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes, $(wims_name_actionlist[3]) |
14662 | czzmrn | 69 | $ $ |
13313 | obado | 70 | !set wims_ref_class=wims_button wims_secondary_button |
7801 | bpr | 71 | !href cmd=resume $wims_name_no, $wims_name_giveup |
17331 | bpr | 72 | </p><p> |
73 | <b>Prima di continuare, è per lo meno consigliabile di chiedere ai docenti |
||
74 | dei corsi che li condividono di fare un backup del proprio corso!</b> Si |
||
75 | fa però presente che in caso di problemi, che potrebbero verificarsi anche |
||
76 | dopo mesi, sarete obbligati a ripristinare questo backup e di conseguenza la |
||
77 | configurazione PRECEDENTE la disattivazione, perdendo così tutti i risultati registrati SUCCESSIVAMENTE, |
||
78 | per tutti i corsi che condividono il test. |
||
79 | </p> |
||
80 | !exit |
||
883 | czzmrn | 81 | !endif |
82 | |||
14395 | bpr | 83 | !if sheet_in_exam iswordof $error |
84 | !set exa=!word 2 of $error |
||
85 | Non è possibile disattivare questo test, in quanto alcuni esami |
||
14662 | czzmrn | 86 | ne utilizzano i contenuti (per esempio l'esame $exa). |
14395 | bpr | 87 | !exit |
883 | czzmrn | 88 | !endif |
89 | |||
90 | !if $error=non_empty_activities |
||
16286 | bpr | 91 | <p class="wims_msg warning">Stai per disattivare il test $sheet, mentre alcuni studenti hanno |
92 | già cominciato a lavorarci!</p> |
||
93 | !if share iswordof $confirmed |
||
94 | <p>Inoltre, il test è condiviso con altri corsi, dove pure gli |
||
95 | studenti potrebbero aver già cominciato a lavorare. Pertanto |
||
96 | non è possibile disattivarlo.</p> |
||
97 | !exit |
||
98 | !endif |
||
99 | <p>Tutti i punteggi ottenuti per questo test di autovalutazione saranno perduti |
||
100 | se il test viene disattivato. Vuoi veramente disattivare il test?</p> |
||
101 | <p class="wimscenter"> |
||
17331 | bpr | 102 | !set wims_ref_class=wims_button |
103 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes, $(wims_name_actionlist[3]) |
||
5779 | czzmrn | 104 | |
13313 | obado | 105 | !set wims_ref_class=wims_button wims_secondary_button |
5779 | czzmrn | 106 | !href cmd=resume $wims_name_no, $wims_name_giveup |
17331 | bpr | 107 | </p> |
108 | Elenco degli studenti che hanno già cominciato a lavorare su questo |
||
109 | test di autovalutazione: |
||
7801 | bpr | 110 | |
17331 | bpr | 111 | <p class="tt">$worktest</p> |
5779 | czzmrn | 112 | |
17331 | bpr | 113 | <div class="wims_msg info"><b>Nota</b>. Questa operazione è vivamente sconsigliata a meno che questo |
114 | non sia un corso di prova. Si consiglia di fermarsi ora se si sta |
||
115 | parlando di un corso con studenti <em>veri</em>.</div> |
||
116 | !exit |
||
883 | czzmrn | 117 | !endif |
118 | |||
23 | reyssat | 119 | !if prep_activate=$error |
17331 | bpr | 120 | Si è richiesto di dare inizio al test di autovalutazione $sheet, cioè di renderla |
121 | accessibile agli studenti. |
||
122 | Ricordiamo che un test in corso non è più modificabile, ma |
||
123 | occorre prima disattivarlo (in questo caso tutti i punteggi acquisiti dagli |
||
124 | studenti saranno cancellati). |
||
125 | !if $test_expire!=$empty |
||
126 | <div class="wims_warning"> |
||
127 | La data di termine del test è antecedente a oggi, sarà quindi |
||
128 | modificata nella data di termine del corso. |
||
129 | </div> |
||
130 | !endif |
||
7801 | bpr | 131 | <p> |
17331 | bpr | 132 | Continuare? |
133 | </p> |
||
134 | <p class="wimscenter"> |
||
5779 | czzmrn | 135 | !set wims_ref_class=wims_button |
16286 | bpr | 136 | !href cmd=reply&save=$wims_name_tosave&job=activate $wims_name_yes, $(wims_name_actionlist[1]) |
14662 | czzmrn | 137 | $ $ |
138 | !set wims_ref_class=wims_button wims_secondary_button |
||
5779 | czzmrn | 139 | !href cmd=resume $wims_name_no, $wims_name_giveup |
16286 | bpr | 140 | </p> |
141 | !exit |
||
23 | reyssat | 142 | !endif |
143 | |||
144 | !if prep_erase=$error |
||
5779 | czzmrn | 145 | Sicuri di voler eliminare il test numero $sheet ($title)? |
5850 | bpr | 146 | <p class="wimscenter"> |
7973 | bpr | 147 | !set wims_ref_class=wims_button wims_warning |
5779 | czzmrn | 148 | !href cmd=reply&job=erase $wims_name_yes, $wims_name_erase |
14662 | czzmrn | 149 | $ $ |
5779 | czzmrn | 150 | !set wims_ref_class=wims_button |
151 | !href cmd=resume $wims_name_no, $wims_name_giveup |
||
16286 | bpr | 152 | </p> |
153 | !exit |
||
23 | reyssat | 154 | !endif |
155 | |||
156 | !if prep_expire=$error |
||
300 | czzmrn | 157 | Il test di autovalutazione numero $sheet ($title) dovrebbe durare fino |
158 | al $expday |
||
23 | reyssat | 159 | !item $expmon of $months |
160 | $expyear. Concluderla ora? |
||
14662 | czzmrn | 161 | <p class="wimscenter"> |
162 | !set wims_ref_class=wims_button wims_warning |
||
16286 | bpr | 163 | !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2]) |
14662 | czzmrn | 164 | $ $ |
165 | !set wims_ref_class=wims_button |
||
16286 | bpr | 166 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
167 | </p> |
||
168 | <p><b>Nota.</b> Gli studenti non possono più lavorare su un test |
||
169 | terminato. I voti fin qui acquisiti vengono conservati (e le statistiche |
||
170 | ne tengono conto) e possono essere consultati dal |
||
17411 | czzmrn | 171 | docente in qualsiasi momento. |
172 | </p> |
||
16286 | bpr | 173 | !exit |
23 | reyssat | 174 | !endif |
175 | |||
176 | !if prep_putsource=$error |
||
17338 | bpr | 177 | <p> |
178 | Se si è provveduto in precedenza a salvare su file |
||
179 | le istruzioni Wims, è possibile inserire i comandi |
||
180 | e salvarli cliccando su <span class="wims_button disabled">$wims_name_send</span>. |
||
181 | </p><p> |
||
182 | è anche possibile inserire |
||
183 | il sorgente di un test pubblico mediante copia&incolla. |
||
184 | </p> |
||
185 | !set wims_menu_items=!append line sheetadmin,1,cmd=resume \ |
||
1591 | czzmrn | 186 | to $wims_menu_items |
187 | |||
17331 | bpr | 188 | !set wims_form_method=post |
189 | !form reply |
||
190 | <input type="hidden" name="job" value="putsource"><p class="wimscenter"> |
||
17338 | bpr | 191 | <textarea cols="55" rows="10" name="source">$ssource</textarea> |
192 | </p> |
||
17331 | bpr | 193 | <p class="wimscenter"><input type="submit" value="$wims_name_send"></p> |
7801 | bpr | 194 | |
17331 | bpr | 195 | !formend |
7801 | bpr | 196 | <span class="wims_warning">$wims_name_warning</span>. |
4552 | bpr | 197 | Non inserire file di istruzioni modificate. Potrebbero |
23 | reyssat | 198 | essere inutilizzabili dal server. |
17331 | bpr | 199 | !exit |
23 | reyssat | 200 | !endif |
201 | |||
202 | !if prep_modify=$error |
||
17331 | bpr | 203 | !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
204 | !if $modif>$cnt or $modif<1 |
||
205 | La richiesta non è valida. |
||
206 | !else |
||
207 | !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
208 | !read exomodify.phtml $exo |
||
209 | !endif |
||
210 | !exit |
||
23 | reyssat | 211 | !endif |
212 | |||
1764 | czzmrn | 213 | !if $error=toolate |
17338 | bpr | 214 | !read adm/lang/date.phtml.$moduclass_lang $class_expiration |
215 | <p>$name_expiration1 ($l_date_out). $name_expiration2 </p> |
||
216 | !set wims_ref_class=wims_button |
||
14662 | czzmrn | 217 | !href cmd=resume&save=$empty&job=$empty $wims_name_back2 |
16286 | bpr | 218 | ($wims_name_sheetmanagement) |
219 | !exit |
||
1998 | czzmrn | 220 | !endif |
1764 | czzmrn | 221 | |
1998 | czzmrn | 222 | !if $error=srcnoexo |
17180 | bpr | 223 | Questo test di autovalutazione non contiene alcun esercizio: il file sorgente è vuoto.<br> |
16286 | bpr | 224 | !href cmd=resume torna alla pagina di configurazione del test |
225 | !exit |
||
1764 | czzmrn | 226 | !endif |
1998 | czzmrn | 227 | |
15859 | guerimand | 228 | !if $error=depindiv |
229 | <div class="wims_msg alert"> |
||
230 | <strong>$wims_name_Error:</strong> |
||
15951 | czzmrn | 231 | Non è possibile utilizzare punteggi con dipendenza se si utilizza la |
232 | personalizzazione del test tramite variabile tecnica. |
||
17180 | bpr | 233 | <br> |
15951 | czzmrn | 234 | Dovete scegliere una delle due opzioni per poter attivare questo test. |
15859 | guerimand | 235 | !reset error |
236 | </div> |
||
16286 | bpr | 237 | <div class="wimscenter"> |
15947 | guerimand | 238 | !set wims_ref_class=wims_button |
15951 | czzmrn | 239 | !href cmd=resume Torna alla pagina di configurazione del test |
15947 | guerimand | 240 | </div> |
15859 | guerimand | 241 | !exit |
242 | !endif |
||
243 | |||
16195 | guerimand | 244 | !if badtechvarname iswordof $error |
245 | <div class="wims_msg alert"> |
||
246 | <strong>$wims_name_Error:</strong> |
||
17327 | guerimand | 247 | !let code=!word 2 to -1 of $error |
248 | !if $code=_ |
||
17411 | czzmrn | 249 | una delle condizioni <span class="wims_code_words">Nascondi agli studenti (secondo una variabile tecnica)</span> non indica alcuna variabile |
17327 | guerimand | 250 | !else |
17411 | czzmrn | 251 | Una delle variabili utilizzate ( |
17327 | guerimand | 252 | !let code=!listcomplement _ in $code |
253 | $code |
||
17411 | czzmrn | 254 | ) non corrisponde a una variabile tecnica del corso. Le variabili non corrette devono essere |
255 | tolte dall'opzione <span class="wims_code_words">Nascondi agli studenti (secondo una variabile tecnica)</span>. |
||
17327 | guerimand | 256 | !endif |
16195 | guerimand | 257 | </div> |
258 | <div class="wimscenter"> |
||
259 | !set wims_ref_class=wims_button |
||
260 | !reset error |
||
17411 | czzmrn | 261 | !href cmd=resume Indietro |
16195 | guerimand | 262 | </div> |
263 | !exit |
||
264 | !endif |
||
265 | |||
16729 | guerimand | 266 | !if toomanyexo=$error |
267 | <div class="wims_msg alert"> |
||
17411 | czzmrn | 268 | Il numero massimo di esercizi inseribili in un test è $max_exos. Il |
269 | limite è stato raggiunto: per poter attivare il test è necessario cancellare |
||
270 | qualche esercizio. |
||
16729 | guerimand | 271 | </div> |
272 | !exit |
||
273 | !endif |
||
274 | |||
16798 | guerimand | 275 | !if $error=badallowshare |
276 | <div class="wims_msg alert"> |
||
277 | <strong>$wims_name_Error:</strong> |
||
17411 | czzmrn | 278 | La variabile tecnica utilizzata non è disponibili in tutti i corsi che |
279 | condividono risorse con questo corso. |
||
280 | Non è quindi possibile trasmettere questa configurazione agli altri corsi. |
||
16798 | guerimand | 281 | </div> |
282 | <div class="wimscenter"> |
||
283 | !set wims_ref_class=wims_button |
||
284 | !reset error |
||
17411 | czzmrn | 285 | !href cmd=resume Indietro |
16798 | guerimand | 286 | </div> |
287 | !exit |
||
288 | !endif |
||
289 | |||
17327 | guerimand | 290 | !if $error=hiddenbadtechvar |
17411 | czzmrn | 291 | Attenzione, il parametro <span class="wims_code_words">Nascondi agli studenti (secondo una variabile tecnica)</span> non è corretto. Correggere. |
17327 | guerimand | 292 | !exit |
293 | !endif |
||
294 | |||
17333 | guerimand | 295 | !if techvardiscord iswordof $error |
17411 | czzmrn | 296 | È presente una personalizzazione di questo testo che utilizza valori |
297 | non definiti della variabile tecnica associata (Questo può succedere se si |
||
298 | importa un il codice sorgente di un test, oppore si ripristina un backup o |
||
299 | si importa il test da un'altro corso, o, infine, se si modifica nel menu |
||
300 | <span class="wims_code_words">Varibile tecnica per la personalizzazione di questo test</span> |
||
301 | il nome della variabile avendo già incominciato a configurare la |
||
302 | personalizzazione). |
||
303 | Per correggere l'errore è possibile: |
||
304 | <ul> |
||
305 | <li> |
||
306 | !set wims_ref_class=wims_button |
||
307 | !href cmd=reply&+job=cleantechvar&+sheet=$sheet Eliminare |
||
308 | dalla configurazione del test tutti i riferimenti alla |
||
309 | personalizzazione (questa operazione non è reversibile). |
||
310 | </li> |
||
311 | <li>Correggere il problema creando una nuova varibile tecnica per cui |
||
312 | siano definiti i valori |
||
313 | <span class="tt"> |
||
314 | !word 2 of $error |
||
315 | </span>. Quindi selezionare questa nuova variabile nel menu <span class="wims_code_words">Varibile tecnica per la personalizzazione di questo test</span> |
||
316 | per ripristinare il funzionamento corretto della personalizzazion. |
||
317 | !if $listcompatibletechvar!=$empty |
||
318 | !if , isin $listcompatibletechvar |
||
319 | Le seguenti variabili già definite potrebbero essere compatibili con tali valori: <span class="tt">$listcompatibletechvar</span>. |
||
320 | !else |
||
321 | La variabile <span class="tt">$listcompatibletechvar</span> già definita nel corso potrebbe essere compatibile con tali valori. |
||
322 | !endif |
||
323 | </li> |
||
324 | </ul> |
||
325 | !if $display!=1 |
||
326 | <div class="wimscenter"> |
||
327 | !set wims_ref_class=wims_button wims_secondary_button |
||
328 | !reset error |
||
329 | !href cmd=reply&+job=$empty&+sheet=$sheet Indietro |
||
330 | </div> |
||
331 | !endif |
||
332 | !exit |
||
17333 | guerimand | 333 | !endif |
334 | |||
23 | reyssat | 335 | !msg $error |