Rev 5926 | Rev 6235 | 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 | |||
3 | !if not_supervisor=$error |
||
4 | Sorry, but the operation of preparation / modification of an exam |
||
5 | is reserved to registered supervisor of a class. |
||
6 | !exit |
||
7 | !endif |
||
8 | |||
9 | !if $error=no_sheet |
||
6037 | czzmrn | 10 | <p> |
23 | reyssat | 11 | The content of an exam must be taken from activated worksheets (active or |
12 | expired). |
||
6037 | czzmrn | 13 | </p><p> |
23 | reyssat | 14 | Your class does not have activated worksheets yet. Please define your |
15 | worksheets, put works into them then activate them, |
||
16 | before defining an exam for the class. |
||
6037 | czzmrn | 17 | </p> |
23 | reyssat | 18 | !exit |
19 | !endif |
||
20 | |||
21 | !if bad_exam=$error |
||
22 | Your exam number is not valid. Bug of the software? |
||
23 | !exit |
||
24 | !endif |
||
25 | |||
26 | !if $error=simuchange |
||
27 | This exam sheet has just changed its status. Please |
||
28 | !href cmd=reply&job=scorereg click here |
||
29 | to terminate your session. |
||
30 | !exit |
||
31 | !endif |
||
32 | |||
33 | !if already_registered=$error |
||
34 | Your score is already registered. |
||
35 | !exit |
||
36 | !endif |
||
37 | |||
38 | !if no_more_registration=$error |
||
39 | This exam allows you to register your score only $stries times. You can |
||
40 | make no more registrations. |
||
41 | !exit |
||
42 | !endif |
||
43 | |||
44 | !if bad_source=$error |
||
45 | The item number $bad_source in the source you just submitted is not |
||
46 | valid. |
||
47 | !href cmd=reply&job=prep_putsource&source=$source Correct the source |
||
48 | . |
||
49 | !exit |
||
50 | !endif |
||
51 | |||
52 | !if no_title=$error |
||
53 | You want to register a exam without title, which is not advisable. |
||
54 | Error of manipulation? |
||
55 | !exit |
||
56 | !endif |
||
57 | |||
58 | !if prep_activate=$error |
||
59 | You have asked to activate the exam $exam, that is, to make it accessible |
||
60 | to participants of the class. <p> |
||
2872 | reyssat | 61 | Please take note that once activated, you can no longer modify the exam. |
23 | reyssat | 62 | Do you want to continue? |
5764 | bpr | 63 | <div class="wimscenter"> |
3984 | bpr | 64 | !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1]) |
23 | reyssat | 65 | . |
3984 | bpr | 66 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 67 | . </div> |
23 | reyssat | 68 | !exit |
69 | !endif |
||
70 | |||
71 | !if prep_erase=$error |
||
72 | Do you really want to erase this exam #$exam ($title)? |
||
5764 | bpr | 73 | <div class="wimscenter"> |
3984 | bpr | 74 | !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase |
23 | reyssat | 75 | . |
3984 | bpr | 76 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 77 | . </div> |
23 | reyssat | 78 | !exit |
79 | !endif |
||
3984 | bpr | 80 | |
23 | reyssat | 81 | !if prep_expire=$error |
82 | This exam #$exam ($title) expires normally expires on $expday |
||
83 | !item $expmon of $months |
||
84 | $expyear. Do you want to expire it now? |
||
5764 | bpr | 85 | <div class="wimscenter"> |
3984 | bpr | 86 | !href cmd=reply&job=expire $wims_name_yes; $(wims_name_actionlist[2]) |
23 | reyssat | 87 | . |
3984 | bpr | 88 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 89 | . </div><b>Remark.</b> Your students cannot continue to work on a |
23 | reyssat | 90 | expired exam. But their earlier scores will be conserved (and will be taken into |
91 | account in the statistics), and you can always consult these scores. |
||
92 | !exit |
||
93 | !endif |
||
94 | |||
95 | !if prep_putsource=$error |
||
96 | If you have a source of a exam saved earlier, you can insert this source |
||
97 | into the current exam, by copying this source into the window below, |
||
98 | then clicking on the button `Send'. |
||
99 | <p> |
||
100 | Otherwise, |
||
101 | !href cmd=resume Return to the main page of the exam. |
||
102 | !form reply |
||
5926 | bpr | 103 | <input type="hidden" name="job" value="putsource"/> |
104 | <div class="wimscenter"> |
||
3984 | bpr | 105 | <textarea cols="55" rows="10" name="source">$source</textarea> |
5926 | bpr | 106 | <br/><input type="submit" value="Send"/> |
107 | </div> |
||
108 | !formend |
||
3950 | bpr | 109 | <b>Warning</b>. Do not insert modified source file! You risk to make your |
110 | exam useless. |
||
23 | reyssat | 111 | !exit |
112 | !endif |
||
113 | |||
976 | bpr | 114 | !if nodeactivate=$error |
115 | The exam cannot be desactivated because |
||
116 | !if badstructure isin $deactivate |
||
117 | of the class structure. |
||
118 | !else |
||
119 | !if score isin $deactivate |
||
120 | some participants have already begun to work on this exam ! |
||
121 | !else |
||
122 | your exams are shared with another class ! |
||
123 | !endif |
||
124 | !endif |
||
125 | !endif |
||
126 | |||
2329 | guerimand | 127 | !if active_exam=$error |
128 | Désolé, cet examen est activé, donc non modifiable. On ne peut plus changer les exercices dedans. |
||
129 | !exit |
||
130 | !endif |
||
131 | |||
2766 | bpr | 132 | !if $error=prep_noexercise |
133 | The content of the exercise $exo of the exam is empty. Try again. |
||
134 | !exit |
||
3984 | bpr | 135 | !endif |
136 | |||
137 | !msg $error |