Rev 3947 | Rev 3960 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3947 | Rev 3951 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | !exit |
5 | !exit |
6 | !endif |
6 | !endif |
7 | 7 | ||
8 | !if bad_class=$error |
8 | !if bad_class=$error |
9 | Strange, but it seems that your class is not valid! |
9 | Strange, but it seems that your class is not valid! |
- | 10 | !exit |
|
- | 11 | !endif |
|
- | 12 | ||
- | 13 | !if bad_series=$error |
|
- | 14 | Strange, but I do not find the exercise series to modify !! |
|
10 | !exit |
15 | !exit |
11 | !endif |
16 | !endif |
12 | 17 | ||
13 | !if bad_source=$error |
18 | !if bad_source=$error |
14 | The item number $bad_source in the source code you just submitted is not |
19 | The item number $bad_source in the source code you just submitted is not |
Line 16... | Line 21... | ||
16 | !href cmd=reply&job=prep_putsource&source=$source $name_correctsource |
21 | !href cmd=reply&job=prep_putsource&source=$source $name_correctsource |
17 | . |
22 | . |
18 | !exit |
23 | !exit |
19 | !endif |
24 | !endif |
20 | 25 | ||
- | 26 | !if active_sheet=$error |
|
- | 27 | Cette feuille est active. Son contenu ne peut pas être modifié. |
|
- | 28 | !exit |
|
- | 29 | !endif |
|
- | 30 | ||
21 | !if bad_sheet=$error |
31 | !if bad_sheet=$error |
22 | Your worksheet number is not valid. Could be this a bug? |
32 | Your worksheet number is not valid. Could be this a bug? |
- | 33 | !exit |
|
- | 34 | !endif |
|
- | 35 | ||
- | 36 | !if bad_maxsheet=$error |
|
- | 37 | Le nombre de feuilles est limité à $max_sheet. Vous ne pouvez donc plus en créer. |
|
23 | !exit |
38 | !exit |
24 | !endif |
39 | !endif |
25 | 40 | ||
26 | !if no_title=$error |
41 | !if no_title=$error |
27 | You want to register a worksheet without a title, which is not advisable. |
42 | You want to register a worksheet without a title, which is not advisable. |
Line 86... | Line 101... | ||
86 | List of students having worked on this worksheet: |
101 | List of students having worked on this worksheet: |
87 | <p> |
102 | <p> |
88 | <tt>$worktest</tt> |
103 | <tt>$worktest</tt> |
89 | <p> |
104 | <p> |
90 | <b>Note</b>. Only deactivate if you are using this class as a test. |
105 | <b>Note</b>. Only deactivate if you are using this class as a test. |
91 | !exit |
106 | !exit |
92 | !endif |
107 | !endif |
93 | 108 | ||
94 | !if prep_activate=$error |
109 | !if prep_activate=$error |
95 | You want to activate worksheet $sheet. <p> |
110 | You want to activate worksheet $sheet. <p> |
96 | By activating a worksheet, you make it visible to the participants of the class. Once activated, |
111 | By activating a worksheet, you make it visible to the participants of the class. Once activated, |
Line 106... | Line 121... | ||
106 | !exit |
121 | !exit |
107 | !endif |
122 | !endif |
108 | 123 | ||
109 | !if prep_erase=$error |
124 | !if prep_erase=$error |
110 | Do you really want to erase worksheet #$sheet ($title)? |
125 | Do you really want to erase worksheet #$sheet ($title)? |
111 | <p><center> |
126 | <p><center> |
112 | !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase |
127 | !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase |
113 | . |
128 | . |
114 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
129 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
115 | .</center> |
130 | .</center> |
116 | !exit |
131 | !exit |
117 | !endif |
132 | !endif |
118 | 133 | ||
119 | !if prep_expire=$error |
134 | !if prep_expire=$error |
Line 126... | Line 141... | ||
126 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
141 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
127 | . </center> |
142 | . </center> |
128 | <p><b>Remark.</b> Your students cannot continue to work on a |
143 | <p><b>Remark.</b> Your students cannot continue to work on a |
129 | expired worksheet. But their earlier scores will be conserved (and will be taken into |
144 | expired worksheet. But their earlier scores will be conserved (and will be taken into |
130 | account in the statistics), and you can always consult these scores. |
145 | account in the statistics), and you can always consult these scores. |
131 | !exit |
146 | !exit |
132 | !endif |
147 | !endif |
133 | 148 | ||
134 | !if prep_putsource=$error |
149 | !if prep_putsource=$error |
135 | If you have saved the source code of a worksheet previously, you can insert this code |
150 | If you have saved the source code of a worksheet previously, you can insert this code |
136 | into the current worksheet, by copying this code into the window below, |
151 | into the current worksheet, by copying this code into the window below, |
137 | then clicking on the button <tt>$wims_name_send</tt>. You may also insert the |
152 | then clicking on the button <tt>$wims_name_send</tt>. You may also insert the |
138 | source code of a public worksheet by cutting and pasting. |
153 | source code of a public worksheet by cutting and pasting. |
139 |
|
154 | <p> |
140 | !set wims_menu_items=!append line sheetadmin,1,cmd=resume \ |
155 | !set wims_menu_items=!append line sheetadmin,1,cmd=resume \ |
141 | to $wims_menu_items |
156 | to $wims_menu_items |
142 | 157 | ||
143 | !form reply |
158 | !form reply |
144 | <input type="hidden" name="job" value="putsource"><center> |
159 | <input type="hidden" name="job" value="putsource"><center> |
145 | <textarea cols="55" rows="10" name="source">$source</textarea> |
160 | <textarea cols="55" rows="10" name="source">$source</textarea> |
146 | <p><input type="submit" value="$wims_name_send"> |
161 | <p><input type="submit" value="$wims_name_send"> |
147 | </center></form> |
162 | </center></form> |
148 | <b>Warning</b>. It is advised not to modify the source code of the worksheet as it may abort the |
163 | <b>Warning</b>. It is advised not to modify the source code of the worksheet as it may abort the |
149 | worksheet. |
164 | worksheet. |
150 | !exit |
165 | !exit |
151 | !endif |
166 | !endif |
152 | 167 | ||
153 | !if prep_modify=$error |
168 | !if prep_modify=$error |
154 | !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
169 | !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
155 | !if $modif>$cnt or $modif<1 |
170 | !if $modif>$cnt or $modif<1 |
156 | You have sent an invalid request. Ignored. |
171 | You have sent an invalid request. Ignored. |
157 | !else |
172 | !else |
158 | !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
173 | !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
159 | !changeto exomodify.phtml $exo |
174 | !changeto exomodify.phtml $exo |
160 | !endif |
175 | !endif |
161 | !exit |
176 | !exit |
162 | !endif |
177 | !endif |
163 | - | ||
164 | !if $error=toolate |
- | |
165 | $name_expiration1 ($l_date). $name_expiration2 |
- | |
166 | 178 | ||
167 |
|
179 | !if $error=toolate |
- | 180 | $name_expiration1 ($l_date). $name_expiration2 <p> |
|
168 | !href cmd=resume $wims_name_back2 |
181 | !href cmd=resume $wims_name_back2 |
169 | ($wims_name_sheetmanagement) |
182 | ($wims_name_sheetmanagement) |
- | 183 | !exit |
|
- | 184 | !endif |
|
170 | 185 | ||
- | 186 | !if $error=srcnoexo |
|
- | 187 | Cette feuille ne contient aucun exercice, donc son source est vide.<br> |
|
- | 188 | !href cmd=resume Back to edit the worksheet |
|
171 | !exit |
189 | !exit |
172 | !endif |
190 | !endif |
- | 191 | ||
173 | !msg $error |
192 | !msg $error |
- | 193 |