Subversion Repositories wimsdev

Rev

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

Rev 4552 Rev 5657
Line 56... Line 56...
56
  You must ask the webmaster to deactivate the worksheet for you.
56
  You must ask the webmaster to deactivate the worksheet for you.
57
  !exit
57
  !exit
58
 !endif
58
 !endif
59
 Deactivating this worksheet may disrupted neighboring classes. 
59
 Deactivating this worksheet may disrupted neighboring classes. 
60
 This action is therefore <b>strongly discouraged</b>.
60
 This action is therefore <b>strongly discouraged</b>.
61
 <p>
-
 
62
 Do you still want to deactivate the worksheet?
61
 <p> Do you still want to deactivate the worksheet?</p>
63
 <p><center>
62
 <p style="text-align:center">
-
 
63
 !set wims_ref_class=wims_button
64
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
64
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
65
 .&nbsp;&nbsp;
65
 &nbsp;&nbsp;
-
 
66
 !set wims_ref_class=wims_button
66
 !href cmd=resume $wims_name_no; $wims_name_giveup
67
 !href cmd=resume $wims_name_no; $wims_name_giveup
67
 . </center>
68
 </p>
68
 <p>
69
 <p>
69
 <b>Before continuing, ask at least the supervisors of your class neighbors to
70
  <b>Before continuing, ask at least the supervisors of your class neighbors to
70
 save their classes!</b>
71
  save their classes!</b>
-
 
72
 </p>
71
 !exit
73
 !exit
72
!endif
74
!endif
73
 
75
 
74
!if $error=sheet_in_exam
76
!if $error=sheet_in_exam
75
 Impossible to deactivate this worksheet, because you have exams based on its
77
 Impossible to deactivate this worksheet, because you have exams based on its
76
 content.
78
 content.
77
 !exit
79
 !exit
78
!endif
80
!endif
79
 
81
 
80
!if $error=non_empty_activities
82
!if $error=non_empty_activities
81
 You want to deactivate worksheet $sheet, although participants have already
83
 You want to deactivate worksheet $sheet, although participants have already
82
 started to work on it!
84
 started to work on it!
83
 <p>
85
 <p>
84
 !if share iswordof $confirmed
86
  !if share iswordof $confirmed
85
  Moreover, the worksheet is shared with other classes where there may be scores too. 
87
   Moreover, the worksheet is shared with other classes where there may be scores too. 
86
  It is therefore not allowed to deactivate it.
88
   It is therefore not allowed to deactivate it.
87
  !exit
89
   !exit
88
 !endif
90
  !endif
89
 All scores obtained on this worksheet will be <b>erased</b>, if you deactivate it.
91
  All scores obtained on this worksheet will be <b>erased</b>, if you deactivate it.
90
 Do you still want to proceed?
92
  Do you still want to proceed?
91
 <p><center>
93
 </p>
-
 
94
 <p style="text-align:center">
-
 
95
  !set wims_ref_class=wims_button
92
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
96
  !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
93
 .&nbsp;&nbsp;
97
  &nbsp;&nbsp;
-
 
98
  !set wims_ref_class=wims_button
94
 !href cmd=resume $wims_name_no; $wims_name_giveup
99
  !href cmd=resume $wims_name_no; $wims_name_giveup
95
 . </center> <p>
100
 </p>
96
 List of students having worked on this worksheet:
-
 
97
 <p>
101
 <p>
-
 
102
  List of students having worked on this worksheet:
98
 <tt>$worktest</tt>
103
 <tt>$worktest</tt>
99
 <p>
104
 </p>
100
 <b>Note</b>. Only deactivate if you are using this class as a test.
105
 <p><b>Note</b>. Only deactivate if you are using this class as a test.</p>
101
 !exit
106
 !exit
102
!endif
107
!endif
103
 
108
 
104
!if prep_activate=$error
109
!if prep_activate=$error
105
 You want to activate worksheet $sheet. <p>
110
 You want to activate worksheet $sheet.
106
 By activating a worksheet, you make it visible to the participants of the class.  Once activated,
111
 <p>By activating a worksheet, you make it visible to the participants of the class.  Once activated,
107
 a worksheet cannot be modified, unless deactivated first. However, deactiviting an activated 
112
 a worksheet cannot be modified, unless deactivated first. However, deactiviting an activated 
108
 worksheet will result in losing the scores and grades of the participants.
113
 worksheet will result in losing the scores and grades of the participants.</p>
109
 <p>
-
 
110
 Do you want to continue?
114
 <p>Do you want to continue?</p>
111
 <p><center>
115
 <p style="text-align:center">
-
 
116
  !set wims_ref_class=wims_button
112
 !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1])
117
  !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1])
113
 .&nbsp;&nbsp;
118
  &nbsp;&nbsp;
-
 
119
  !set wims_ref_class=wims_button
114
 !href cmd=resume $wims_name_no; $wims_name_giveup
120
  !href cmd=resume $wims_name_no; $wims_name_giveup
115
 .</center>
121
 </p>
116
 !exit
122
 !exit
117
!endif
123
!endif
118
 
124
 
119
!if prep_erase=$error
125
!if prep_erase=$error
120
 Do you really want to erase worksheet #$sheet ($title)?
126
 Do you really want to erase worksheet #$sheet ($title)?
121
 <p><center>
127
 <p style="text-align:center">
-
 
128
 !set wims_ref_class=wims_button
122
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
129
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
123
.&nbsp;&nbsp;
130
 &nbsp;&nbsp;
-
 
131
 !set wims_ref_class=wims_button
124
 !href cmd=resume $wims_name_no ; $wims_name_giveup
132
 !href cmd=resume $wims_name_no ; $wims_name_giveup
125
.</center>
133
 </p>
126
 !exit
134
 !exit
127
!endif
135
!endif
128
 
136
 
129
!if prep_expire=$error
137
!if prep_expire=$error
130
 Worksheet #$sheet ($title) normally expires on $expday
138
 Worksheet #$sheet ($title) normally expires on $expday
131
 !item $expmon of $months
139
 !item $expmon of $months
132
 $expyear. Do you want to expire it now?
140
 $expyear. Do you want to expire it now?
133
 <p><center>
141
 <p style="text-align:center">
-
 
142
 !set wims_ref_class=wims_button
134
 !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2])
143
 !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2])
135
 .&nbsp;&nbsp;
144
 &nbsp;&nbsp;
-
 
145
 !set wims_ref_class=wims_button
136
 !href cmd=resume $wims_name_no ; $wims_name_giveup
146
 !href cmd=resume $wims_name_no ; $wims_name_giveup
137
 . </center>
147
 </p>
138
 <p><b>Remark.</b> Your students cannot continue to work on a
148
 <p><b>Remark.</b> Your students cannot continue to work on a
139
 expired worksheet. But their earlier scores will be conserved (and will be taken into
149
 expired worksheet. But their earlier scores will be conserved (and will be taken into
140
 account in the statistics), and you can always consult these scores.
150
 account in the statistics), and you can always consult these scores.</p>
141
 !exit
151
 !exit
142
!endif
152
!endif
143
 
153
 
144
!if prep_putsource=$error
154
!if prep_putsource=$error
145
 If you have saved the source code of a worksheet previously, you can insert this code
155
 If you have saved the source code of a worksheet previously, you can insert this code
Line 150... Line 160...
150
<p>
160
<p>
151
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
161
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
152
to $wims_menu_items
162
to $wims_menu_items
153
 
163
 
154
 !form reply
164
 !form reply
155
 <input type="hidden" name="job" value="putsource"><center>
165
  <input type="hidden" name="job" value="putsource"><center>
156
 <textarea cols="55" rows="10" name="source">$source</textarea>
166
  <textarea cols="55" rows="10" name="source">$source</textarea>
-
 
167
  </center>
157
 <p><input type="submit" value="$wims_name_send">
168
  <p><input type="submit" value="$wims_name_send"></p>
158
 </center></form>
169
 </form>
159
 <span class="wims_warning">$wims_name_warning</span>. 
170
 <span class="wims_warning">$wims_name_warning</span>. 
160
 It is advised not to modify the source code of the worksheet as it may abort the
171
 It is advised not to modify the source code of the worksheet as it may abort the
161
 worksheet.
172
 worksheet.
162
 !exit
173
 !exit
163
!endif
174
!endif
Line 172... Line 183...
172
 !endif
183
 !endif
173
 !exit
184
 !exit
174
!endif
185
!endif
175
 
186
 
176
!if $error=toolate
187
!if $error=toolate
177
 $name_expiration1 ($l_date). $name_expiration2 <p>
188
 $name_expiration1 ($l_date). $name_expiration2 
-
 
189
 <p>
178
 !href cmd=resume $wims_name_back2
190
  !href cmd=resume $wims_name_back2
179
 ($wims_name_sheetmanagement)
191
  ($wims_name_sheetmanagement)
-
 
192
 </p>
180
 !exit
193
 !exit
181
!endif
194
!endif
182
 
195
 
183
!if $error=srcnoexo
196
!if $error=srcnoexo
184
 This worksheet does not have any exercises yet, so the source code is empty.<br>
197
 This worksheet does not have any exercises yet, so the source code is empty.<br>