Subversion Repositories wimsdev

Rev

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