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 |
|
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 |
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. |
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 |
|
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 |
33 | This action can only be done from a secure host. |
35 | !if $sec=$empty |
34 | !if $sec=$empty |
36 | You |
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 |
|
49 | Deactivating this worksheet may disrupted neighboring classes. |
51 |
|
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 | . |
55 | . |
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 |
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 |
75 | Moreover, the worksheet is shared with other classes where there may be scores too. |
77 |
|
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 |
79 | All scores obtained on this worksheet will be <b>erased</b>, if you deactivate it. |
81 | want to |
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 | . |
83 | . |
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 |
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>. |
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 |
|
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 |
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 | . |
113 | . |
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 |
|
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 | . |
125 | . |
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 |
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 |
136 | into the current worksheet, by copying this code into the window below, |
140 | then clicking on the button |
137 | then clicking on the button <tt>$wims_name_send</tt>. You may also insert the |
141 | source |
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 |
144 | <input type="hidden" name="job" value="putsource"><center> |
148 | <textarea |
145 | <textarea cols="55" rows="10" name="source">$source</textarea> |
149 | <p><input |
146 | <p><input type="submit" value="$wims_name_send"> |
150 | </center></form> |
147 | </center></form> |
151 | <b>Warning</b>. |
148 | <b>Warning</b>. It is advised not to modify the source code of the worksheet as it may abort the |
152 | worksheet |
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 |