Subversion Repositories wimsdev

Rev

Rev 7973 | Rev 10477 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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