Subversion Repositories wimsdev

Rev

Rev 17329 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17329 Rev 17338
Line 1... Line -...
1
!set wims_module_log=error: $error
-
 
2
 
-
 
3
!if bad_maxexams=$error
-
 
4
 Le nombre d'examens est limité à $max_exams.
-
 
5
 !exit
-
 
6
!endif
-
 
7
 
-
 
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
-
 
15
 <p>
-
 
16
 The content of an exam must be taken from activated worksheets (active or
-
 
17
 expired).
-
 
18
 </p><p>
-
 
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.
-
 
22
 </p>
-
 
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
-
 
65
 to participants of the class.<p>
-
 
66
 Please take note that once activated, you can no longer modify the exam.
-
 
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>
-
 
75
 !exit
-
 
76
!endif
-
 
77
 
-
 
78
!if prep_erase=$error
-
 
79
 Do you really want to erase this exam #$exam ($title)?
-
 
80
  <div class="wimscenter">
-
 
81
 !set wims_ref_class=wims_button wims_warning
-
 
82
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
-
 
83
 !set wims_ref_class=wims_button
-
 
84
 !href cmd=resume $wims_name_no; $wims_name_giveup
-
 
85
  </div>
-
 
86
 !exit
-
 
87
!endif
-
 
88
 
-
 
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?
-
 
93
  <div class="wimscenter">
-
 
94
 !href cmd=reply&job=expire $wims_name_yes; $(wims_name_actionlist[2])
-
 
95
 .&nbsp;&nbsp;
-
 
96
 !href cmd=resume $wims_name_no; $wims_name_giveup
-
 
97
 . </div><b>Remark.</b> Your students cannot continue to work on a
-
 
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
-
 
111
 <input type="hidden" name="job" value="putsource">
-
 
112
 <div class="wimscenter">
-
 
113
 <textarea cols="55" rows="10" name="source">$source</textarea>
-
 
114
 <br><input type="submit" value="Send">
-
 
115
 </div>
-
 
116
!formend
-
 
117
 <b>Warning</b>. Do not insert modified source file! You risk to make your
-
 
118
 exam useless.
-
 
119
 !exit
-
 
120
!endif
-
 
121
 
-
 
122
!if nodeactivate=$error
-
 
123
  The exam cannot be desactivated because
-
 
124
  !if badstructure isin $deactivate
-
 
125
   of the class structure.
1
!changeto lang/msg.phtml.en
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
 
-
 
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
-
 
138
!endif
-
 
139
 
-
 
140
!if $error=prep_noexercise
-
 
141
  The content of the exercise $exo of the exam is empty. Try again.
-
 
142
  !exit
-
 
143
!endif
-
 
144
 
-
 
145
!if $error=addexook
-
 
146
  Ajout de l'exercice effectué correctement.
-
 
147
  !exit
-
 
148
!endif
-
 
149
 
-
 
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
 
-
 
155
!if badtechvarname iswordof $error
-
 
156
  !let code=!word 2 to -1 of $error
-
 
157
  !if $code=_
-
 
158
    une des conditions <span class="wims_code_words">Condition pour cacher la feuille aux participants</span> n'a pas de nom de variable
-
 
159
  !else
-
 
160
    Un des noms de variable (
-
 
161
    !let code=!listcomplement _ in $code
-
 
162
    $code
-
 
163
    ) n'est pas un nom correct de variable technique. Les noms incorrects de variable technique
-
 
164
    ont été supprimés du champs <span class="wims_code_words">Condition pour cacher l'examen aux participants</span>.
-
 
165
  !endif
-
 
166
  !exit
-
 
167
!endif
-
 
168
 
-
 
169
!if $error=badallowshare
-
 
170
  La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre
-
 
171
  classe.
-
 
172
  Vous ne pouvez donc pas propager ces réglages aux autres classes en partage.
-
 
173
  !exit
-
 
174
!endif
-
 
175
 
-
 
176
!if $error=noclass
-
 
177
  Vous n'êtes pas connecté à une classe. Cette situation peut se produire si vous étiez en train de travailler
-
 
178
  sur un examen et que votre enseignant a cloturé votre session. Il vous faut vous reconnecter à la classe.
-
 
179
 !exit
-
 
180
!endif
-
 
181
 
-
 
182
!if other_exam isin $error
-
 
183
 Vous avez déjà commencé un autre examen (le numéro
-
 
184
 !word 2 of $error
-
 
185
 ). Vous ne pouvez pas en commencer un autre tant que vous ne l'avez pas terminé.
-
 
186
 !exit
-
 
187
!endif
-
 
188
 
-
 
189
!if $error=hiddenbadtechvar
-
 
190
  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.
-
 
191
  !exit
-
 
192
!endif
-
 
193
 
-
 
194
!msg $error
-