Subversion Repositories wimsdev

Rev

Rev 17329 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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