Subversion Repositories wimsdev

Rev

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

Rev 6235 Rev 7801
Line 54... Line 54...
54
 You are sharing worksheets with other classes!
54
 You are sharing worksheets with other classes!
55
 !if $wims_ismanager<2
55
 !if $wims_ismanager<2
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> Do you still want to deactivate the worksheet?</p>
61
 <p> Do you still want to deactivate the worksheet?</p>
62
 <p style="text-align:center">
62
 <p style="text-align:center">
63
 !set wims_ref_class=wims_button
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])
Line 82... Line 82...
82
!if $error=non_empty_activities
82
!if $error=non_empty_activities
83
 You want to deactivate worksheet $sheet, although participants have already
83
 You want to deactivate worksheet $sheet, although participants have already
84
 started to work on it!
84
 started to work on it!
85
 <p>
85
 <p>
86
  !if share iswordof $confirmed
86
  !if share iswordof $confirmed
87
   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.
88
   It is therefore not allowed to deactivate it.
88
   It is therefore not allowed to deactivate it.
89
   !exit
89
   !exit
90
  !endif
90
  !endif
91
  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.
92
  Do you still want to proceed?
92
  Do you still want to proceed?
Line 107... Line 107...
107
!endif
107
!endif
108
 
108
 
109
!if prep_activate=$error
109
!if prep_activate=$error
110
 You want to activate worksheet $sheet.
110
 You want to activate worksheet $sheet.
111
 <p>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,
112
 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
113
 worksheet will result in losing the scores and grades of the participants.</p>
113
 worksheet will result in losing the scores and grades of the participants.</p>
-
 
114
 !if $test_expire!=$empty
-
 
115
  <div class="wims_warning">
-
 
116
   The expiration date of the sheet is previous to today, it will be
-
 
117
   updated at the expiration date of your class.
-
 
118
  </div>
-
 
119
 !endif
114
 <p>Do you want to continue?</p>
120
 <p>Do you want to continue?</p>
115
 <p style="text-align:center">
121
 <p style="text-align:center">
116
  !set wims_ref_class=wims_button
122
  !set wims_ref_class=wims_button
117
  !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1])
123
  !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1])
118
  &nbsp;&nbsp;
124
  &nbsp;&nbsp;
Line 122... Line 128...
122
 !exit
128
 !exit
123
!endif
129
!endif
124
 
130
 
125
!if prep_erase=$error
131
!if prep_erase=$error
126
 Do you really want to erase worksheet #$sheet ($title)?
132
 Do you really want to erase worksheet #$sheet ($title)?
127
 <p style="text-align:center">
133
 <p style="text-align:center">
128
 !set wims_ref_class=wims_button
134
 !set wims_ref_class=wims_button
129
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
135
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
130
 &nbsp;&nbsp;
136
 &nbsp;&nbsp;
131
 !set wims_ref_class=wims_button
137
 !set wims_ref_class=wims_button
132
 !href cmd=resume $wims_name_no ; $wims_name_giveup
138
 !href cmd=resume $wims_name_no ; $wims_name_giveup
133
 </p>
139
 </p>
134
 !exit
140
 !exit
135
!endif
141
!endif
136
 
142
 
137
!if prep_expire=$error
143
!if prep_expire=$error
138
 Worksheet #$sheet ($title) normally expires on $expday
144
 Worksheet #$sheet ($title) normally expires on $expday
139
 !item $expmon of $months
145
 !item $expmon of $months
Line 152... Line 158...
152
!endif
158
!endif
153
 
159
 
154
!if prep_putsource=$error
160
!if prep_putsource=$error
155
 If you have saved the source code of a worksheet previously, you can insert this code
161
 If you have saved the source code of a worksheet previously, you can insert this code
156
 into the current worksheet, by copying this code into the window below,
162
 into the current worksheet, by copying this code into the window below,
157
 then clicking on the button <span class="wims_button disabled">$wims_name_send</span>. 
163
 then clicking on the button <span class="wims_button disabled">$wims_name_send</span>.
158
 You may also insert the
164
 You may also insert the
159
 source code of a public worksheet by cutting and pasting.
165
 source code of a public worksheet by cutting and pasting.
160
<p>
166
<p>
161
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
167
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
162
to $wims_menu_items
168
to $wims_menu_items
Line 164... Line 170...
164
 !form reply
170
 !form reply
165
  <input type="hidden" name="job" value="putsource" /><p class="wimscenter">
171
  <input type="hidden" name="job" value="putsource" /><p class="wimscenter">
166
  <textarea cols="55" rows="10" name="source">$source</textarea>
172
  <textarea cols="55" rows="10" name="source">$source</textarea>
167
  </p>
173
  </p>
168
  <p class="wimscenter"><input type="submit" value="$wims_name_send" /></p>
174
  <p class="wimscenter"><input type="submit" value="$wims_name_send" /></p>
169
 
175
 
170
!formend
176
!formend
171
 <span class="wims_warning">$wims_name_warning</span>. 
177
 <span class="wims_warning">$wims_name_warning</span>.
172
 It is advised not to modify the source code of the worksheet as it may abort the
178
 It is advised not to modify the source code of the worksheet as it may abort the
173
 worksheet.
179
 worksheet.
174
 !exit
180
 !exit
175
!endif
181
!endif
176
 
182
 
Line 184... Line 190...
184
 !endif
190
 !endif
185
 !exit
191
 !exit
186
!endif
192
!endif
187
 
193
 
188
!if $error=toolate
194
!if $error=toolate
189
 $name_expiration1 ($l_date). $name_expiration2 
195
 $name_expiration1 ($l_date). $name_expiration2
190
 <p>
196
 <p>
191
  !href cmd=resume $wims_name_back2
197
  !href cmd=resume $wims_name_back2
192
  ($wims_name_sheetmanagement)
198
  ($wims_name_sheetmanagement)
193
 </p>
199
 </p>
194
 !exit
200
 !exit