Subversion Repositories wimsdev

Rev

Rev 17328 | Rev 17338 | 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
 
9687 guerimand 3
!if bad_maxexams=$error
4
 Le nombre d'examens est limité à $max_exams.
5
 !exit
6
!endif
7
 
23 reyssat 8
!if not_supervisor=$error
9
 Sorry, but the operation of preparation / modification of an exam
10
 is reserved to registered supervisor of a class.
11
 !exit
12
!endif
13
 
14
!if $error=no_sheet
6037 czzmrn 15
 <p>
23 reyssat 16
 The content of an exam must be taken from activated worksheets (active or
17
 expired).
6037 czzmrn 18
 </p><p>
23 reyssat 19
 Your class does not have activated worksheets yet. Please define your
20
 worksheets, put works into them then activate them,
21
 before defining an exam for the class.
6037 czzmrn 22
 </p>
23 reyssat 23
 !exit
24
!endif
25
 
26
!if bad_exam=$error
27
 Your exam number is not valid. Bug of the software?
28
 !exit
29
!endif
30
 
31
!if $error=simuchange
32
 This exam sheet has just changed its status. Please
33
 !href cmd=reply&job=scorereg click here
34
 to terminate your session.
35
 !exit
36
!endif
37
 
38
!if already_registered=$error
39
 Your score is already registered.
40
 !exit
41
!endif
42
 
43
!if no_more_registration=$error
44
 This exam allows you to register your score only $stries times. You can
45
 make no more registrations.
46
 !exit
47
!endif
48
 
49
!if bad_source=$error
3957 bpr 50
 The item number $bad_source in the source code you just submitted is not
23 reyssat 51
 valid.
52
 !href cmd=reply&job=prep_putsource&source=$source Correct the source
53
 .
54
 !exit
55
!endif
56
 
57
!if no_title=$error
58
 You want to register a exam without title, which is not advisable.
59
 Error of manipulation?
60
 !exit
61
!endif
62
 
63
!if prep_activate=$error
64
 You have asked to activate the exam $exam, that is, to make it accessible
13528 obado 65
 to participants of the class.<p>
2872 reyssat 66
 Please take note that once activated, you can no longer modify the exam.
13528 obado 67
 Do you want to continue?</p>
68
 <div class="wimscenter">
69
  !set wims_ref_class=wims_button wims_warning
70
  !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1])
71
  &nbsp;
72
  !set wims_ref_class=wims_button wims_secondary_button
73
  !href cmd=resume $wims_name_no; $wims_name_giveup
74
 </div>
23 reyssat 75
 !exit
76
!endif
77
 
78
!if prep_erase=$error
79
 Do you really want to erase this exam #$exam ($title)?
5764 bpr 80
  <div class="wimscenter">
7973 bpr 81
 !set wims_ref_class=wims_button wims_warning
3984 bpr 82
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
7973 bpr 83
 !set wims_ref_class=wims_button
3984 bpr 84
 !href cmd=resume $wims_name_no; $wims_name_giveup
5764 bpr 85
 . </div>
23 reyssat 86
 !exit
87
!endif
3984 bpr 88
 
23 reyssat 89
!if prep_expire=$error
90
 This exam #$exam ($title) expires normally expires on $expday
91
 !item $expmon of $months
92
 $expyear. Do you want to expire it now?
5764 bpr 93
  <div class="wimscenter">
3984 bpr 94
 !href cmd=reply&job=expire $wims_name_yes; $(wims_name_actionlist[2])
23 reyssat 95
 .&nbsp;&nbsp;
3984 bpr 96
 !href cmd=resume $wims_name_no; $wims_name_giveup
5764 bpr 97
 . </div><b>Remark.</b> Your students cannot continue to work on a
23 reyssat 98
 expired exam. But their earlier scores will be conserved (and will be taken into
99
 account in the statistics), and you can always consult these scores.
100
 !exit
101
!endif
102
 
103
!if prep_putsource=$error
104
 If you have a source of a exam saved earlier, you can insert this source
105
 into the current exam, by copying this source into the window below,
106
 then clicking on the button `Send'.
107
 <p>
108
 Otherwise,
109
 !href cmd=resume Return to the main page of the exam.
110
 !form reply
17229 bpr 111
 <input type="hidden" name="job" value="putsource"><div class="wimscenter">
3984 bpr 112
 <textarea cols="55" rows="10" name="source">$source</textarea>
17229 bpr 113
 <br><input type="submit" value="Send">
5926 bpr 114
 </div>
115
!formend
3950 bpr 116
 <b>Warning</b>. Do not insert modified source file! You risk to make your
23 reyssat 117
 workexam useless.
118
 !exit
119
!endif
120
 
976 bpr 121
!if nodeactivate=$error
122
  The exam cannot be desactivated because
123
  !if badstructure isin $deactivate
124
   of the class structure.
125
  !else
126
   !if score isin $deactivate
127
    some participants have already begun to work on this exam !
128
   !else
129
    your exams are shared with another class !
130
   !endif
131
  !endif
132
!endif
133
 
2329 guerimand 134
!if active_exam=$error
2334 schaersvoo 135
 Sorry, this exam is activated, hence non-modifiable. No exercise in it can be changed.
2329 guerimand 136
 !exit
7973 bpr 137
!endif
2329 guerimand 138
 
2766 bpr 139
!if $error=prep_noexercise
140
  The content of the exercise $exo of the exam is empty. Try again.
141
  !exit
142
!endif
3984 bpr 143
 
10477 guerimand 144
!if $error=addexook
145
  Ajout de l'exercice effectué correctement.
146
  !exit
147
!endif
148
 
16006 guerimand 149
!if exam_hidden iswordof $error
150
  Cet examen n'est pas accessible pour vous. Ne jouez pas avec la barre d'adresse !!
151
  !exit
152
!endif
153
 
16195 guerimand 154
!if badtechvarname iswordof $error
17328 guerimand 155
  !let code=!word 2 to -1 of $error
156
  !if $code=_
157
    une des conditions <span class="wims_code_words">Condition pour cacher la feuille aux participants</span> n'a pas de nom de variable
158
  !else
159
    Un des noms de variable (
160
    !let code=!listcomplement _ in $code
161
    $code
17329 guerimand 162
    ) n'est pas un nom correct de variable technique. Les noms incorrects de variable technique
163
    ont été supprimés du champs <span class="wims_code_words">Condition pour cacher l'examen aux participants</span>.
17328 guerimand 164
  !endif
16195 guerimand 165
  !exit
166
!endif
167
 
16799 guerimand 168
!if $error=badallowshare
169
  La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre
17229 bpr 170
  classe.
16799 guerimand 171
  Vous ne pouvez donc pas propager ces réglages aux autres classes en partage.
172
  !exit
173
!endif
174
 
17117 guerimand 175
!if $error=noclass
176
  Vous n'êtes pas connecté à une classe. Cette situation peut se produire si vous étiez en train de travailler
177
  sur un examen et que votre enseignant a cloturé votre session. Il vous faut vous reconnecter à la classe.
178
 !exit
179
!endif
180
 
17216 guerimand 181
!if other_exam isin $error
182
 Vous avez déjà commencé un autre examen (le numéro
183
 !word 2 of $error
184
 ). Vous ne pouvez pas en commencer un autre tant que vous ne l'avez pas terminé.
185
 !exit
186
!endif
187
 
17328 guerimand 188
!if $error=hiddenbadtechvar
189
  Attention, la <span class="wims_code_words">condition pour cacher l'examen aux participants</span> en utilisant une variable technique est incorrecte. Vous devez la corriger.
190
  !exit
191
!endif
192
 
7973 bpr 193
!msg $error