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