Subversion Repositories wimsdev

Rev

Rev 3984 | Rev 5764 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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

Generated by GNU Enscript 1.6.5.90.
136

Generated by GNU Enscript 1.6.5.90.
137
 
137
 
138
 
138
 
139
 
139