Subversion Repositories wimsdev

Rev

Rev 16729 | Rev 17180 | 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.
1764 czzmrn 16
 !href cmd=reply&job=prep_putsource&source=$source $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
  &nbsp;&nbsp;
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&amp;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
 
23 reyssat 185
 !form reply
6235 bpr 186
 <input type="hidden" name="job" value="putsource" /><p class="wimscenter">
5850 bpr 187
 <textarea cols="55" rows="10" name="source">$source</textarea></p>
6235 bpr 188
 <p class="wimscenter"><input type="submit" value="$wims_name_send" /></p>
7801 bpr 189
 
5926 bpr 190
!formend
7801 bpr 191
 <span class="wims_warning">$wims_name_warning</span>.
4552 bpr 192
 Non inserire file di istruzioni modificate. Potrebbero
23 reyssat 193
 essere inutilizzabili dal server.
194
 !exit
195
!endif
196
 
197
!if prep_modify=$error
198
 !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
199
 !if $modif>$cnt or $modif<1
3985 bpr 200
  La richiesta non è valida.
23 reyssat 201
 !else
202
  !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet
1998 czzmrn 203
  !read exomodify.phtml $exo
23 reyssat 204
 !endif
1764 czzmrn 205
 !exit
23 reyssat 206
!endif
207
 
1764 czzmrn 208
!if $error=toolate
11035 bpr 209
!read adm/lang/date.phtml.$moduclass_lang $class_expiration
210
 <p>$name_expiration1 ($l_date_out). $name_expiration2 </p>
211
 !set wims_ref_class=wims_button
14662 czzmrn 212
  !href cmd=resume&save=$empty&job=$empty $wims_name_back2
16286 bpr 213
  ($wims_name_sheetmanagement)
214
  !exit
1998 czzmrn 215
!endif
1764 czzmrn 216
 
1998 czzmrn 217
!if $error=srcnoexo
16286 bpr 218
  Questo test di autovalutazione non contiene alcun esercizio: il file sorgente è vuoto.<br />
219
  !href cmd=resume torna alla pagina di configurazione del test
220
  !exit
1764 czzmrn 221
!endif
1998 czzmrn 222
 
15859 guerimand 223
!if $error=depindiv
224
  <div class="wims_msg alert">
225
    <strong>$wims_name_Error:</strong>
15951 czzmrn 226
    Non è possibile utilizzare punteggi con dipendenza se si utilizza la
227
    personalizzazione del test tramite variabile tecnica.
15859 guerimand 228
    <br/>
15951 czzmrn 229
    Dovete scegliere una delle due opzioni per poter attivare questo test.
15859 guerimand 230
    !reset error
231
  </div>
16286 bpr 232
  <div class="wimscenter">
15947 guerimand 233
   !set wims_ref_class=wims_button
15951 czzmrn 234
   !href cmd=resume Torna alla pagina di configurazione del test
15947 guerimand 235
  </div>
15859 guerimand 236
  !exit
237
!endif
238
 
16195 guerimand 239
!if badtechvarname iswordof $error
240
  <div class="wims_msg alert">
241
    <strong>$wims_name_Error:</strong>
242
    Un des noms de variable (
243
    !word 2 to -1 of $error
244
    ) n'est pas un nom correct de variable technique. Les noms de variable technique
245
    incorrect ont été supprimés du champs <span class="wims_code_words">Condition pour cacher la feuille aux participants</span>.
246
  </div>
247
  <div class="wimscenter">
248
   !set wims_ref_class=wims_button
249
   !reset error
250
   !href cmd=resume Retour
251
  </div>
252
  !exit
253
!endif
254
 
16729 guerimand 255
!if toomanyexo=$error
256
  <div class="wims_msg alert">
257
    Le nombre d'exercices dans une feuille est limité à $max_exos. Vous devez supprimer des exercices avant de pouvoir
258
    l'activer.
259
  </div>
260
  !exit
261
!endif
262
 
16798 guerimand 263
!if $error=badallowshare
264
  <div class="wims_msg alert">
265
    <strong>$wims_name_Error:</strong>
266
  La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre
267
  classe. 
268
  Vous ne pouvez donc pas propager ces réglages aux autres classes en partage.
269
  </div>
270
  <div class="wimscenter">
271
   !set wims_ref_class=wims_button
272
   !reset error
273
   !href cmd=resume Retour
274
  </div>
275
  !exit
276
!endif
277
 
23 reyssat 278
!msg $error