Subversion Repositories wimsdev

Rev

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
17338 bpr 173
  <p>
174
  Se si è provveduto in precedenza a salvare su file
175
  le istruzioni Wims, è possibile inserire i comandi
176
  e salvarli cliccando su <span class="wims_button disabled">$wims_name_send</span>.
177
   </p><p>
178
  è anche possibile inserire
179
  il sorgente di un test pubblico mediante copia&amp;incolla.
180
  </p>
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">
17338 bpr 187
  <textarea cols="55" rows="10" name="source">$ssource</textarea>
188
  </p>
17331 bpr 189
  <p class="wimscenter"><input type="submit" value="$wims_name_send"></p>
7801 bpr 190
 
17331 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.
17331 bpr 195
  !exit
23 reyssat 196
!endif
197
 
198
!if prep_modify=$error
17331 bpr 199
  !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
200
  !if $modif>$cnt or $modif<1
201
    La richiesta non è valida.
202
  !else
203
    !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet
204
    !read exomodify.phtml $exo
205
  !endif
206
  !exit
23 reyssat 207
!endif
208
 
1764 czzmrn 209
!if $error=toolate
17338 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
 
17333 guerimand 290
!if techvardiscord iswordof $error
291
  !! TODO_lang techvardiscord
292
  !changeto lang/msg.phtml.fr
293
!endif
294
 
23 reyssat 295
!msg $error