Subversion Repositories wimsdev

Rev

Rev 17329 | Rev 17333 | 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
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.
16
  !href cmd=reply&job=prep_putsource $name_correctsource
17
.
18
  !exit
23 reyssat 19
!endif
20
 
1998 czzmrn 21
!if active_sheet=$error
17331 bpr 22
  Questo test è attivo. Non è quindi possibile effettuare modifiche.
23
  !exit
1998 czzmrn 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
17331 bpr 37
  Per registrare un corso è necessario inserire il titolo.
38
  Correggere.
39
  !exit
23 reyssat 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
17331 bpr 54
  Questi test sono condivisi con altri corsi!
55
  !if $wims_ismanager<2
56
    Solo il site manager può disattivare il test.
57
    !exit
58
  !endif
59
  Disattivandoli puoi danneggiare anche le configurazioni dei corsi
60
  che li condividono. Si <strong>sconsiglia vivamente</strong> di
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
17331 bpr 69
  </p><p>
70
  <b>Prima di continuare, è per lo meno consigliabile di chiedere ai docenti
71
  dei corsi che li condividono di fare un backup del proprio corso!</b> Si
72
  fa però presente che in caso di problemi, che potrebbero verificarsi anche
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.
76
  </p>
77
  !exit
883 czzmrn 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>
90
  !if share iswordof $confirmed
91
    <p>Inoltre, il test è condiviso con altri corsi, dove pure gli
92
    studenti potrebbero aver già cominciato a lavorare. Pertanto
93
    non è possibile disattivarlo.</p>
94
    !exit
95
  !endif
96
  <p>Tutti i punteggi ottenuti per questo test di autovalutazione saranno perduti
97
  se il test viene disattivato. Vuoi veramente disattivare il test?</p>
98
  <p class="wimscenter">
17331 bpr 99
  !set wims_ref_class=wims_button
100
  !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes, $(wims_name_actionlist[3])
5779 czzmrn 101
  &nbsp;&nbsp;
13313 obado 102
  !set wims_ref_class=wims_button wims_secondary_button
5779 czzmrn 103
  !href cmd=resume $wims_name_no, $wims_name_giveup
17331 bpr 104
  </p>
105
  Elenco degli studenti che hanno già cominciato a lavorare su questo
106
  test di autovalutazione:
7801 bpr 107
 
17331 bpr 108
  <p class="tt">$worktest</p>
5779 czzmrn 109
 
17331 bpr 110
  <div class="wims_msg info"><b>Nota</b>. Questa operazione è vivamente sconsigliata a meno che questo
111
  non sia un corso di prova. Si consiglia di fermarsi ora se si sta
112
  parlando di un corso con studenti <em>veri</em>.</div>
113
  !exit
883 czzmrn 114
!endif
115
 
23 reyssat 116
!if prep_activate=$error
17331 bpr 117
  Si è richiesto di dare inizio al test di autovalutazione $sheet, cioè di renderla
118
  accessibile agli studenti.
119
  Ricordiamo che un test in corso non è più modificabile, ma
120
  occorre prima disattivarlo (in questo caso tutti i punteggi acquisiti dagli
121
  studenti saranno cancellati).
122
  !if $test_expire!=$empty
123
    <div class="wims_warning">
124
    La data di termine del test è antecedente a oggi, sarà quindi
125
    modificata nella data di termine del corso.
126
    </div>
127
  !endif
7801 bpr 128
  <p>
17331 bpr 129
  Continuare?
130
  </p>
131
  <p class="wimscenter">
5779 czzmrn 132
  !set wims_ref_class=wims_button
16286 bpr 133
  !href cmd=reply&save=$wims_name_tosave&job=activate $wims_name_yes, $(wims_name_actionlist[1])
14662 czzmrn 134
$ $
135
  !set wims_ref_class=wims_button wims_secondary_button
5779 czzmrn 136
  !href cmd=resume $wims_name_no, $wims_name_giveup
16286 bpr 137
  </p>
138
  !exit
23 reyssat 139
!endif
140
 
141
!if prep_erase=$error
5779 czzmrn 142
 Sicuri di voler eliminare il test numero $sheet ($title)?
5850 bpr 143
 <p class="wimscenter">
7973 bpr 144
  !set wims_ref_class=wims_button wims_warning
5779 czzmrn 145
  !href cmd=reply&job=erase $wims_name_yes, $wims_name_erase
14662 czzmrn 146
$ $
5779 czzmrn 147
  !set wims_ref_class=wims_button
148
  !href cmd=resume $wims_name_no, $wims_name_giveup
16286 bpr 149
  </p>
150
  !exit
23 reyssat 151
!endif
152
 
153
!if prep_expire=$error
300 czzmrn 154
 Il test di autovalutazione numero $sheet ($title) dovrebbe durare fino
155
 al $expday
23 reyssat 156
 !item $expmon of $months
157
 $expyear. Concluderla ora?
14662 czzmrn 158
  <p class="wimscenter">
159
  !set wims_ref_class=wims_button wims_warning
16286 bpr 160
  !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2])
14662 czzmrn 161
$ $
162
  !set wims_ref_class=wims_button
16286 bpr 163
  !href cmd=resume $wims_name_no ; $wims_name_giveup
164
  </p>
165
  <p><b>Nota.</b> Gli studenti non possono più lavorare su un test
166
  terminato. I voti fin qui acquisiti vengono conservati (e le statistiche
167
  ne tengono conto) e possono essere consultati dal
168
  docente in qualsiasi momento.</p>
169
  !exit
23 reyssat 170
!endif
171
 
172
!if prep_putsource=$error
5779 czzmrn 173
 <p>
8255 bpr 174
 Se si è provveduto in precedenza a salvare su file
175
 le istruzioni Wims, è possibile inserire i comandi
7801 bpr 176
 e salvarli cliccando su <span class="wims_button disabled">$wims_name_send</span>.
14662 czzmrn 177
  </p><p>
8255 bpr 178
 è anche possibile inserire
2009 czzmrn 179
 il sorgente di un test pubblico mediante copia&amp;incolla.
5779 czzmrn 180
 </p>
1780 bpr 181
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
1591 czzmrn 182
to $wims_menu_items
183
 
17331 bpr 184
  !set wims_form_method=post
185
  !form reply
186
  <input type="hidden" name="job" value="putsource"><p class="wimscenter">
187
  <textarea cols="55" rows="10" name="source">$ssource</textarea></p>
188
  <p class="wimscenter"><input type="submit" value="$wims_name_send"></p>
7801 bpr 189
 
17331 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.
17331 bpr 194
  !exit
23 reyssat 195
!endif
196
 
197
!if prep_modify=$error
17331 bpr 198
  !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
199
  !if $modif>$cnt or $modif<1
200
    La richiesta non è valida.
201
  !else
202
    !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet
203
    !read exomodify.phtml $exo
204
  !endif
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
17180 bpr 218
  Questo test di autovalutazione non contiene alcun esercizio: il file sorgente è vuoto.<br>
16286 bpr 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.
17180 bpr 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>
17327 guerimand 242
    !let code=!word 2 to -1 of $error
243
    !if $code=_
244
      une des conditions <span class="wims_code_words">Condition pour cacher la feuille aux participants</span> n'a pas de nom de variable
245
    !else
246
      Un des noms de variable (
247
        !let code=!listcomplement _ in $code
248
        $code
17329 guerimand 249
      ) n'est pas un nom correct de variable technique. Les noms incorrects de variable technique
250
      ont été supprimés du champs <span class="wims_code_words">Condition pour cacher la feuille aux participants</span>.
17327 guerimand 251
    !endif
16195 guerimand 252
  </div>
253
  <div class="wimscenter">
254
   !set wims_ref_class=wims_button
255
   !reset error
256
   !href cmd=resume Retour
257
  </div>
258
  !exit
259
!endif
260
 
16729 guerimand 261
!if toomanyexo=$error
262
  <div class="wims_msg alert">
263
    Le nombre d'exercices dans une feuille est limité à $max_exos. Vous devez supprimer des exercices avant de pouvoir
264
    l'activer.
265
  </div>
266
  !exit
267
!endif
268
 
16798 guerimand 269
!if $error=badallowshare
270
  <div class="wims_msg alert">
271
    <strong>$wims_name_Error:</strong>
272
  La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre
17180 bpr 273
  classe.
16798 guerimand 274
  Vous ne pouvez donc pas propager ces réglages aux autres classes en partage.
275
  </div>
276
  <div class="wimscenter">
277
   !set wims_ref_class=wims_button
278
   !reset error
279
   !href cmd=resume Retour
280
  </div>
281
  !exit
282
!endif
283
 
17327 guerimand 284
!if $error=hiddenbadtechvar
285
  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.
286
  !exit
287
!endif
288
 
23 reyssat 289
!msg $error