Rev 9687 | Rev 13528 | 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 |
||
65 | to participants of the class. <p> |
||
2872 | reyssat | 66 | Please take note that once activated, you can no longer modify the exam. |
23 | reyssat | 67 | Do you want to continue? |
5764 | bpr | 68 | <div class="wimscenter"> |
3984 | bpr | 69 | !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1]) |
23 | reyssat | 70 | . |
3984 | bpr | 71 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 72 | . </div> |
23 | reyssat | 73 | !exit |
74 | !endif |
||
75 | |||
76 | !if prep_erase=$error |
||
77 | Do you really want to erase this exam #$exam ($title)? |
||
5764 | bpr | 78 | <div class="wimscenter"> |
7973 | bpr | 79 | !set wims_ref_class=wims_button wims_warning |
3984 | bpr | 80 | !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase |
7973 | bpr | 81 | !set wims_ref_class=wims_button |
3984 | bpr | 82 | !href cmd=resume $wims_name_no; $wims_name_giveup |
7973 | bpr | 83 | </div> |
23 | reyssat | 84 | !exit |
85 | !endif |
||
3984 | bpr | 86 | |
23 | reyssat | 87 | !if prep_expire=$error |
88 | This exam #$exam ($title) expires normally expires on $expday |
||
89 | !item $expmon of $months |
||
90 | $expyear. Do you want to expire it now? |
||
5764 | bpr | 91 | <div class="wimscenter"> |
3984 | bpr | 92 | !href cmd=reply&job=expire $wims_name_yes; $(wims_name_actionlist[2]) |
23 | reyssat | 93 | . |
3984 | bpr | 94 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 95 | . </div><b>Remark.</b> Your students cannot continue to work on a |
23 | reyssat | 96 | expired exam. But their earlier scores will be conserved (and will be taken into |
97 | account in the statistics), and you can always consult these scores. |
||
98 | !exit |
||
99 | !endif |
||
100 | |||
101 | !if prep_putsource=$error |
||
102 | If you have a source of a exam saved earlier, you can insert this source |
||
103 | into the current exam, by copying this source into the window below, |
||
104 | then clicking on the button `Send'. |
||
105 | <p> |
||
106 | Otherwise, |
||
107 | !href cmd=resume Return to the main page of the exam. |
||
108 | !form reply |
||
6235 | bpr | 109 | <input type="hidden" name="job" value="putsource" /> |
5926 | bpr | 110 | <div class="wimscenter"> |
3984 | bpr | 111 | <textarea cols="55" rows="10" name="source">$source</textarea> |
6235 | bpr | 112 | <br /><input type="submit" value="Send" /> |
5926 | bpr | 113 | </div> |
114 | !formend |
||
3950 | bpr | 115 | <b>Warning</b>. Do not insert modified source file! You risk to make your |
116 | exam useless. |
||
23 | reyssat | 117 | !exit |
118 | !endif |
||
119 | |||
976 | bpr | 120 | !if nodeactivate=$error |
121 | The exam cannot be desactivated because |
||
122 | !if badstructure isin $deactivate |
||
123 | of the class structure. |
||
124 | !else |
||
125 | !if score isin $deactivate |
||
126 | some participants have already begun to work on this exam ! |
||
127 | !else |
||
128 | your exams are shared with another class ! |
||
129 | !endif |
||
130 | !endif |
||
131 | !endif |
||
132 | |||
2329 | guerimand | 133 | !if active_exam=$error |
134 | Désolé, cet examen est activé, donc non modifiable. On ne peut plus changer les exercices dedans. |
||
135 | !exit |
||
7973 | bpr | 136 | !endif |
2329 | guerimand | 137 | |
2766 | bpr | 138 | !if $error=prep_noexercise |
139 | The content of the exercise $exo of the exam is empty. Try again. |
||
140 | !exit |
||
3984 | bpr | 141 | !endif |
142 | |||
10477 | guerimand | 143 | !if $error=addexook |
144 | Ajout de l'exercice effectué correctement. |
||
145 | !exit |
||
146 | !endif |
||
147 | |||
7973 | bpr | 148 | !msg $error |