Subversion Repositories wimsdev

Rev

Rev 17216 | Rev 17230 | 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
50
 The item number $bad_source in the source you just submitted is not
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
7973 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">
5926 bpr 112
 <div class="wimscenter">
3984 bpr 113
 <textarea cols="55" rows="10" name="source">$source</textarea>
6235 bpr 114
 <br /><input type="submit" value="Send" />
5926 bpr 115
 </div>
116
!formend
3950 bpr 117
 <b>Warning</b>. Do not insert modified source file! You risk to make your
118
 exam useless.
23 reyssat 119
 !exit
120
!endif
121
 
976 bpr 122
!if nodeactivate=$error
123
  The exam cannot be desactivated because
124
  !if badstructure isin $deactivate
125
   of the class structure.
126
  !else
127
   !if score isin $deactivate
128
    some participants have already begun to work on this exam !
129
   !else
130
    your exams are shared with another class !
131
   !endif
132
  !endif
133
!endif
134
 
2329 guerimand 135
!if active_exam=$error
136
   Désolé, cet examen est activé, donc non modifiable. On ne peut plus changer les exercices dedans.
137
 !exit
7973 bpr 138
!endif
2329 guerimand 139
 
2766 bpr 140
!if $error=prep_noexercise
141
  The content of the exercise $exo of the exam is empty. Try again.
142
  !exit
3984 bpr 143
!endif
144
 
10477 guerimand 145
!if $error=addexook
146
  Ajout de l'exercice effectué correctement.
147
  !exit
148
!endif
149
 
16006 guerimand 150
!if exam_hidden iswordof $error
151
  Cet examen n'est pas accessible pour vous. Ne jouez pas avec la barre d'adresse !!
152
  !exit
153
!endif
154
 
16195 guerimand 155
!if badtechvarname iswordof $error
156
  Un des noms de variable (
157
  !word 2 to -1 of $error
158
  ) n'est pas un nom correct de variable technique. Les noms de variable technique
159
  incorrect ont été supprimés du champs <span class="wims_code_words">Condition pour cacher l'examen aux participants</span>.
160
  !exit
161
!endif
162
 
16799 guerimand 163
!if $error=badallowshare
164
  La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre
17229 bpr 165
  classe.
16799 guerimand 166
  Vous ne pouvez donc pas propager ces réglages aux autres classes en partage.
167
  !exit
168
!endif
169
 
17117 guerimand 170
!if $error=noclass
171
  Vous n'êtes pas connecté à une classe. Cette situation peut se produire si vous étiez en train de travailler
172
  sur un examen et que votre enseignant a cloturé votre session. Il vous faut vous reconnecter à la classe.
173
 !exit
174
!endif
175
 
17216 guerimand 176
!if other_exam isin $error
177
 Vous avez déjà commencé un autre examen (le numéro
178
 !word 2 of $error
179
 ). Vous ne pouvez pas en commencer un autre tant que vous ne l'avez pas terminé.
180
 !exit
181
!endif
182
 
7973 bpr 183
!msg $error