Subversion Repositories wimsdev

Rev

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

Rev 3930 Rev 3947
Line 2... Line 2...
2
 
2
 
3
!if not_supervisor=$error
3
!if not_supervisor=$error
4
 Sorry, but the operation of preparation / modification of a worksheet
-
 
5
 is reserved to registered supervisor of a class.
4
 Sorry, only the registered supervisor of a class can edit a worksheet
6
 !exit
5
 !exit
7
!endif
6
!endif
8
 
7
 
9
!if bad_class=$error
8
!if bad_class=$error
10
 Strange, but I find that your class is not valid!
9
 Strange, but it seems that your class is not valid!
11
 !exit
10
 !exit
12
!endif
11
!endif
13
 
12
 
14
!if bad_source=$error
13
!if bad_source=$error
15
 The item number $bad_source in the source you just submitted is not
14
 The item number $bad_source in the source code you just submitted is not
16
 valid.
15
 valid.
17
 !href cmd=reply&job=prep_putsource&source=$source $name_correctsource
16
 !href cmd=reply&job=prep_putsource&source=$source $name_correctsource
18
.
17
.
19
 !exit
18
 !exit
20
!endif
19
!endif
21
 
20
 
22
!if bad_sheet=$error
21
!if bad_sheet=$error
23
 Your worksheet number is not valid. Bug of the software?
22
 Your worksheet number is not valid. Could be this a bug?
24
 !exit
23
 !exit
25
!endif
24
!endif
26
 
25
 
27
!if no_title=$error
26
!if no_title=$error
28
 You want to register a worksheet without title, which is not advisable.
27
 You want to register a worksheet without a title, which is not advisable.
29
 Error of manipulation?
28
 Did you simply forget?
30
 !exit
29
 !exit
31
!endif
30
!endif
32
 
31
 
33
!if $error=not_secure
32
!if $error=not_secure
34
 This operation can only be done from a secure host.
33
 This action can only be done from a secure host.
35
 !if $sec=$empty
34
 !if $sec=$empty
36
  You haven't defined secure host. Access denied. You may ask the webmaster
35
  You have not defined a secure host. Access denied. You may ask the webmaster
37
  to do it for you.
36
  to do it for you.
38
 !else
37
 !else
39
  Access denied.
38
  Access denied.
40
 !endif
39
 !endif
41
 !exit
40
 !exit
Line 45... Line 44...
45
 You are sharing worksheets with other classes!
44
 You are sharing worksheets with other classes!
46
 !if $wims_ismanager<2
45
 !if $wims_ismanager<2
47
  You must ask the webmaster to deactivate the worksheet for you.
46
  You must ask the webmaster to deactivate the worksheet for you.
48
  !exit
47
  !exit
49
 !endif
48
 !endif
50
 You might put your neighboring classes in total disorder by deactivating
49
 Deactivating this worksheet may disrupted neighboring classes. 
51
 this worksheet. This operation is therefore <b>stronly discouraged</b>.
50
 This action is therefore <b>strongly discouraged</b>.
52
 <p>
51
 <p>
53
 Do you still want to deactivate the worksheet?
52
 Do you still want to deactivate the worksheet?
54
 <p><center>
53
 <p><center>
55
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
54
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
56
 .&nbsp;&nbsp;
55
 .&nbsp;&nbsp;
Line 67... Line 66...
67
 content.
66
 content.
68
 !exit
67
 !exit
69
!endif
68
!endif
70
 
69
 
71
!if $error=non_empty_activities
70
!if $error=non_empty_activities
72
 You want to deactivate the worksheet $sheet, while participants have already
71
 You want to deactivate worksheet $sheet, although participants have already
73
 started to work on it!
72
 started to work on it!
74
 <p>
73
 <p>
75
 !if share iswordof $confirmed
74
 !if share iswordof $confirmed
76
  Moreover, the worksheet is shared with other classes where there may be works
75
  Moreover, the worksheet is shared with other classes where there may be scores too. 
77
  and scores too. It is therefore not allowed to deactivate it.
76
  It is therefore not allowed to deactivate it.
78
  !exit
77
  !exit
79
 !endif
78
 !endif
80
 All scores obtained on this worksheet will be erased, if you deactivate. Really
79
 All scores obtained on this worksheet will be <b>erased</b>, if you deactivate it.
81
 want to do it?
80
 Do you still want to proceed?
82
 <p><center>
81
 <p><center>
83
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
82
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
84
 .&nbsp;&nbsp;
83
 .&nbsp;&nbsp;
85
 !href cmd=resume $wims_name_no; $wims_name_giveup
84
 !href cmd=resume $wims_name_no; $wims_name_giveup
86
 . </center> <p>
85
 . </center> <p>
87
 List of accounts having worked on this worksheet:
86
 List of students having worked on this worksheet:
88
 <p>
87
 <p>
89
 <tt>$worktest</tt>
88
 <tt>$worktest</tt>
90
 <p>
89
 <p>
91
 <b>Note</b>. This action should be taken only if this is a testing class.
90
 <b>Note</b>. Only deactivate if you are using this class as a test.
92
 Don't go further if the participants are your real students!
-
 
93
 !exit
91
 !exit
94
!endif
92
!endif
95
 
93
 
96
!if prep_activate=$error
94
!if prep_activate=$error
97
 Vous demandez d'activer la feuille $sheet, c'est-à-dire la rendre 
-
 
98
 accessible aux participants de la classe. <p>
95
 You want to activate worksheet $sheet. <p>
99
 By activating a worksheet, you make it visible to the participants of the class.  Once activated,
96
 By activating a worksheet, you make it visible to the participants of the class.  Once activated,
100
 a worksheet cannot be modified, unless deactivated first. However, deactiviting an activated 
97
 a worksheet cannot be modified, unless deactivated first. However, deactiviting an activated 
101
 worksheet will result in losing the scores and grades of the participants.
98
 worksheet will result in losing the scores and grades of the participants.
102
 <p>
99
 <p>
103
 Do you want to continue?
100
 Do you want to continue?
Line 108... Line 105...
108
 .</center>
105
 .</center>
109
 !exit
106
 !exit
110
!endif
107
!endif
111
 
108
 
112
!if prep_erase=$error
109
!if prep_erase=$error
113
 Do you really want to erase this worksheet #$sheet ($title)?
110
 Do you really want to erase worksheet #$sheet ($title)?
114
 <p><center>
111
 <p><center>
115
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
112
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
116
.&nbsp;&nbsp;
113
.&nbsp;&nbsp;
117
 !href cmd=resume $wims_name_no ; $wims_name_giveup
114
 !href cmd=resume $wims_name_no ; $wims_name_giveup
118
.</center>
115
.</center>
119
 !exit
116
 !exit
120
!endif
117
!endif
121
 
118
 
122
!if prep_expire=$error
119
!if prep_expire=$error
123
 This worksheet #$sheet ($title) expires normally expires on $expday
120
 Worksheet #$sheet ($title) normally expires on $expday
124
 !item $expmon of $months
121
 !item $expmon of $months
125
 $expyear. Do you want to expire it now?
122
 $expyear. Do you want to expire it now?
126
 <p><center>
123
 <p><center>
127
 !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2])
124
 !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2])
128
 .&nbsp;&nbsp;
125
 .&nbsp;&nbsp;
Line 133... Line 130...
133
 account in the statistics), and you can always consult these scores.
130
 account in the statistics), and you can always consult these scores.
134
 !exit
131
 !exit
135
!endif
132
!endif
136
 
133
 
137
!if prep_putsource=$error
134
!if prep_putsource=$error
138
 If you have a source of a worksheet saved earlier, you can insert this source
135
 If you have saved the source code of a worksheet previously, you can insert this code
139
 into the current worksheet, by copying this source into the window below,
136
 into the current worksheet, by copying this code into the window below,
140
 then clicking on the button `Send'. This form also allows you to insert the
137
 then clicking on the button <tt>$wims_name_send</tt>. You may also insert the
141
 source of a public worksheet using cut-and-paste.
138
 source code of a public worksheet by cutting and pasting.
142
  <p>
139
  <p>
143
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
140
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
144
to $wims_menu_items
141
to $wims_menu_items
145
 
142
 
146
 !form reply
143
 !form reply
147
 <input type=hidden name="job" value=putsource><center>
144
 <input type="hidden" name="job" value="putsource"><center>
148
 <textarea cols=55 rows=10 name="source">$source</textarea>
145
 <textarea cols="55" rows="10" name="source">$source</textarea>
149
 <p><input type=submit value="$wims_name_send">
146
 <p><input type="submit" value="$wims_name_send">
150
 </center></form>
147
 </center></form>
151
 <b>Warning</b>. Don't insert modified source file! You risk to make your
148
 <b>Warning</b>. It is advised not to modify the source code of the worksheet as it may abort the
152
 worksheet useless.
149
 worksheet.
153
 !exit
150
 !exit
154
!endif
151
!endif
155
 
152
 
156
!if prep_modify=$error
153
!if prep_modify=$error
157
 !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
154
 !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet