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
 
2766 bpr 2
!if $error=prep_noexercise
3
  The content of the exercise $exo of the exam is empty. Try again.
4
  !exit
5
!endif!set wims_module_log=error: $error
6
 
23 reyssat 7
!if not_supervisor=$error
8
 Sorry, but the operation of preparation / modification of an exam
9
 is reserved to registered supervisor of a class.
10
 !exit
11
!endif
12
 
13
!if bad_class=$error
14
 Strange, but I find that your class is not valid!
15
 !exit
16
!endif
17
 
18
!if $error=no_sheet
19
 The content of an exam must be taken from activated worksheets (active or
20
 expired).
21
 <p>
22
 Your class does not have activated worksheets yet. Please define your
23
 worksheets, put works into them then activate them,
24
 before defining an exam for the class.
25
 !exit
26
!endif
27
 
28
!if bad_exam=$error
29
 Your exam number is not valid. Bug of the software?
30
 !exit
31
!endif
32
 
1813 bpr 33
!if $error=simuchange
34
 This exam sheet has just changed its status. Please
35
 !href cmd=reply&job=scorereg click here
36
 to terminate your session.
37
 !exit
38
!endif
39
 
23 reyssat 40
!if already_registered=$error
41
 Your score is already registered.
42
 !exit
43
!endif
44
 
45
!if no_more_registration=$error
46
 This exam allows you to register your score only $stries times. You can
47
 make no more registrations.
48
 !exit
49
!endif
50
 
51
!if bad_source=$error
52
 The item number $bad_source in the source you just submitted is not
53
 valid.
54
 !href cmd=reply&job=prep_putsource&source=$source Correct the source
55
 .
56
 !exit
57
!endif
58
 
59
!if no_title=$error
60
 You want to register a exam without title, which is not advisable.
61
 Error of manipulation?
62
 !exit
63
!endif
64
 
65
!if prep_activate=$error
66
 You have asked to activate the exam $exam, that is, to make it accessible
67
 to participants of the class. <p>
2872 reyssat 68
 Please take note that once activated, you can no longer modify the exam.
23 reyssat 69
 Do you want to continue?
70
 <p><center>
71
 !href cmd=reply&job=activate Yes; activate
72
 .&nbsp;&nbsp;
73
 !href cmd=resume No; abandon
74
 .</center>
75
 !exit
76
!endif
77
 
78
!if prep_erase=$error
79
 Do you really want to erase this exam #$exam ($title)?
80
 <p><center>
81
 !href cmd=reply&job=erase Yes; erase
82
 .&nbsp;&nbsp;
83
 !href cmd=resume No; abandon
84
 .</center>
85
 !exit
86
!endif
87
 
88
!if prep_expire=$error
89
 This exam #$exam ($title) expires normally expires on $expday
90
 !item $expmon of $months
91
 $expyear. Do you want to expire it now?
92
 <p><center>
93
 !href cmd=reply&job=expire Yes; expire
94
 .&nbsp;&nbsp;
95
 !href cmd=resume No; abandon
96
 . </center>
97
 <p><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
3049 bpr 111
 <input type=hidden name="job" value=putsource><center>
112
 <textarea cols=55 rows=10 name="source">$source</textarea>
23 reyssat 113
 <p><input type=submit value="Send">
114
 </center></form>
115
 <b>Warning</b>. Don't insert modified source file! You risk to make your
116
 workexam useless.
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
136
!endif 
137