Rev 17327 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !set wims_module_log=error: $error |
2 | |||
3 | !if not_supervisor=$error |
||
4 | Spreminjanje delovnih listov je dovoljeno le skrbniku! |
||
5 | !exit |
||
6 | !endif |
||
7 | |||
8 | !if bad_class=$error |
||
9 | Čudno, vaša učilnica se zdi neveljavna. |
||
10 | !exit |
||
11 | !endif |
||
12 | |||
3951 | bpr | 13 | !if bad_series=$error |
16286 | bpr | 14 | Strange, but I do not find the exercise series to modify !! |
15 | !exit |
||
3951 | bpr | 16 | !endif |
17 | |||
23 | reyssat | 18 | !if bad_source=$error |
19 | Element številka $bad_source v vašem delovnem listu je neveljaven. |
||
17206 | guerimand | 20 | !href cmd=reply&job=prep_putsource $name_correctsource |
1780 | bpr | 21 | . |
16286 | bpr | 22 | !exit |
23 | reyssat | 23 | !endif |
24 | |||
3951 | bpr | 25 | !if active_sheet=$error |
16286 | bpr | 26 | Cette feuille est active. Son contenu ne peut pas ętre modifié. |
27 | !exit |
||
3951 | bpr | 28 | !endif |
29 | |||
1755 | bpr | 30 | !if bad_sheet=$error |
16286 | bpr | 31 | Številka vašega delovnega lista je neveljavna. Hrošč v programski opremi? |
32 | !exit |
||
1755 | bpr | 33 | !endif |
34 | |||
3062 | bpr | 35 | !if bad_maxsheet=$error |
8255 | bpr | 36 | The number of worksheets is limited to $max_sheets. You may not create another worksheet. |
3062 | bpr | 37 | !exit |
38 | !endif |
||
39 | |||
23 | reyssat | 40 | !if no_title=$error |
16286 | bpr | 41 | Poskušate registrirati delovni list brez naslova, kar ni priporočljivo. |
42 | Gre za pomoto? |
||
43 | !exit |
||
23 | reyssat | 44 | !endif |
45 | |||
1755 | bpr | 46 | !if $error=not_secure |
16286 | bpr | 47 | This action can only be done from a secure host. |
48 | !if $sec=$empty |
||
49 | You have not defined a secure host. Access denied. You may ask the webmaster |
||
50 | to do it for you. |
||
51 | !else |
||
52 | Access denied. |
||
53 | !endif |
||
54 | !exit |
||
1755 | bpr | 55 | !endif |
56 | |||
57 | !if $error=sharing_sheet |
||
16286 | bpr | 58 | You are sharing worksheets with other classes! |
59 | !if $wims_ismanager<2 |
||
60 | You must ask the webmaster to deactivate the worksheet for you. |
||
61 | !exit |
||
62 | !endif |
||
63 | Deactivating this worksheet may disrupted neighboring classes. |
||
64 | This action is therefore <b>strongly discouraged</b>. |
||
65 | <p>Do you still want to deactivate the worksheet?</p> |
||
66 | <p class="wimscenter"> |
||
67 | !set wims_ref_class=wims_button |
||
68 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes, $(wims_name_actionlist[3]) |
||
69 | $ $ |
||
70 | !set wims_ref_class=wims_button wims_secondary_button |
||
71 | !href cmd=resume $wims_name_no, $wims_name_giveup |
||
72 | </p><p> |
||
73 | <b>Before continuing, ask at least the supervisors of your class neighbors to |
||
74 | save their classes!</b> |
||
75 | </p> |
||
1755 | bpr | 76 | !exit |
77 | !endif |
||
78 | |||
14395 | bpr | 79 | !if sheet_in_exam iswordof $error |
80 | !set exa=!word 2 of $error |
||
81 | Impossible to deactivate this worksheet, because you have exams based on its |
||
82 | content (for example exam $exa). |
||
16286 | bpr | 83 | !exit |
1755 | bpr | 84 | !endif |
85 | |||
86 | !if $error=non_empty_activities |
||
14099 | obado | 87 | <p class="wims_msg warning">You want to deactivate worksheet $sheet, although participants have already |
88 | started to work on it!</p> |
||
7801 | bpr | 89 | |
16286 | bpr | 90 | !if share iswordof $confirmed |
91 | <p>Moreover, the worksheet is shared with other classes where there may be scores too. |
||
92 | It is therefore not allowed to deactivate it.</p> |
||
93 | !exit |
||
94 | !endif |
||
95 | <p> |
||
96 | All scores obtained on this worksheet will be <b>erased</b>, if you deactivate it. |
||
97 | Do you still want to proceed? |
||
98 | </p> |
||
99 | <p class="wimscenter"> |
||
100 | !set wims_ref_class=wims_button |
||
101 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes, $(wims_name_actionlist[3]) |
||
102 | |
||
103 | !set wims_ref_class=wims_button wims_secondary_button |
||
104 | !href cmd=resume $wims_name_no, $wims_name_giveup |
||
105 | </p> |
||
106 | List of students having worked on this worksheet: |
||
107 | <p class="tt">$worktest</p> |
||
108 | |||
109 | <div class="wims_msg info"><b>Note</b>. Only deactivate if you are using this class as a test.</div> |
||
1755 | bpr | 110 | !exit |
111 | !endif |
||
112 | |||
23 | reyssat | 113 | !if prep_activate=$error |
5850 | bpr | 114 | You want to activate worksheet $sheet. |
16286 | bpr | 115 | <p>By activating a worksheet, you make it visible to the participants of the class. Once activated, |
7801 | bpr | 116 | a worksheet cannot be modified, unless deactivated first. However, deactiviting an activated |
3951 | bpr | 117 | worksheet will result in losing the scores and grades of the participants. |
7801 | bpr | 118 | !if $test_expire!=$empty |
119 | <div class="wims_warning"> |
||
120 | The expiration date of the sheet is previous to today, it will be |
||
121 | updated at the expiration date of your class. |
||
122 | </div> |
||
123 | !endif |
||
124 | <p> |
||
23 | reyssat | 125 | Ali želite nadaljevati? |
5850 | bpr | 126 | </p> <div class="wimscenter"> |
16286 | bpr | 127 | !href cmd=reply&save=$wims_name_tosave&job=activate $wims_name_yes; $(wims_name_actionlist[1]) |
23 | reyssat | 128 | . |
1755 | bpr | 129 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 130 | .</div> |
23 | reyssat | 131 | !exit |
132 | !endif |
||
133 | |||
134 | !if prep_erase=$error |
||
135 | Ali res želite izbrisati ta list #$sheet ($title)? |
||
5764 | bpr | 136 | <div class="wimscenter"> |
7973 | bpr | 137 | !set wims_ref_class=wims_button wims_warning |
1755 | bpr | 138 | !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase |
7973 | bpr | 139 | !set wims_ref_class=wims_button |
1755 | bpr | 140 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
7973 | bpr | 141 | </div> |
23 | reyssat | 142 | !exit |
143 | !endif |
||
1755 | bpr | 144 | |
23 | reyssat | 145 | !if prep_expire=$error |
146 | Ta list #$sheet ($title) naj bi bil zaključen na dan $expday |
||
147 | !item $expmon $months |
||
148 | $expyear. Ali ga želite zaključiti takoj? |
||
5764 | bpr | 149 | <div class="wimscenter"> |
3245 | guerimand | 150 | !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2]) |
23 | reyssat | 151 | . |
1755 | bpr | 152 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
5764 | bpr | 153 | . </div><b>Opomba.</b> Uporabniki na zaključenem delovnem listu ne morejo več pridobivati točk. Že doseženi rezultati pa bodo ostali shranjeni in upoštevani v statistiki. |
23 | reyssat | 154 | !exit |
155 | !endif |
||
156 | |||
157 | !if prep_putsource=$error |
||
16286 | bpr | 158 | If you have saved the source code of a worksheet previously, you can insert this code |
159 | into the current worksheet, by copying this code into the window below, |
||
7801 | bpr | 160 | then clicking on the button <span class="wims_button disabled">$wims_name_send</span>. |
16286 | bpr | 161 | You may also insert the |
162 | source code of a public worksheet by cutting and pasting. |
||
163 | <p> |
||
1755 | bpr | 164 | !set wims_menu_items=!append line sheetadmin,1,cmd=resume \ |
165 | to $wims_menu_items |
||
166 | |||
17206 | guerimand | 167 | !set wims_form_method=post |
23 | reyssat | 168 | !form reply |
17180 | bpr | 169 | <input type="hidden" name="job" value="putsource"><p class="wimscenter"> |
17206 | guerimand | 170 | <textarea cols="55" rows="10" name="source">$ssource</textarea></p> |
17180 | bpr | 171 | <p class="wimscenter"><input type="submit" value="$wims_name_send"> |
5926 | bpr | 172 | </p> |
173 | !formend |
||
7801 | bpr | 174 | <span class="wims_warning">$wims_name_warning</span>. |
4552 | bpr | 175 | It is advised not to modify the source code of the worksheet as it may abort the |
3951 | bpr | 176 | worksheet. |
23 | reyssat | 177 | !exit |
178 | !endif |
||
179 | |||
180 | !if prep_modify=$error |
||
181 | !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
182 | !if $modif>$cnt or $modif<1 |
||
183 | You have sent an invalid request. Ignored. |
||
184 | !else |
||
185 | !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
4528 | bpr | 186 | !read exomodify.phtml $exo |
23 | reyssat | 187 | !endif |
188 | !exit |
||
189 | !endif |
||
190 | |||
1755 | bpr | 191 | !if $error=toolate |
11035 | bpr | 192 | !read adm/lang/date.phtml.$moduclass_lang $class_expiration |
193 | <p>$name_expiration1 ($l_date_out). $name_expiration2 </p> |
||
194 | !set wims_ref_class=wims_button |
||
12089 | guerimand | 195 | !href cmd=resume&job=$empty&save=$empty $wims_name_back2 |
1755 | bpr | 196 | ($wims_name_sheetmanagement) |
3951 | bpr | 197 | !exit |
198 | !endif |
||
1755 | bpr | 199 | |
3951 | bpr | 200 | !if $error=srcnoexo |
17180 | bpr | 201 | This worksheet does not have any exercises yet, so the source code is empty.<br> |
16286 | bpr | 202 | !href cmd=resume Back to edit the worksheet |
203 | !exit |
||
23 | reyssat | 204 | !endif |
15859 | guerimand | 205 | |
206 | !if $error=depindiv |
||
207 | <div class="wims_msg alert"> |
||
208 | <strong>$wims_name_Error:</strong> |
||
16286 | bpr | 209 | Il n'est pas possible de définir des dépendances de score en męme temps que |
15946 | guerimand | 210 | l'activation de l'individualisation des feuilles de travail avec une variable technique. |
17180 | bpr | 211 | <br> |
15859 | guerimand | 212 | Vous devez choisir entre les deux avant de pouvoir activer cette feuille. |
213 | !reset error |
||
214 | </div> |
||
15947 | guerimand | 215 | <div class="wimscenter"> |
216 | !set wims_ref_class=wims_button |
||
217 | !href cmd=resume Retour |
||
218 | </div> |
||
15859 | guerimand | 219 | !exit |
220 | !endif |
||
16195 | guerimand | 221 | |
222 | !if badtechvarname iswordof $error |
||
223 | <div class="wims_msg alert"> |
||
224 | <strong>$wims_name_Error:</strong> |
||
17327 | guerimand | 225 | !let code=!word 2 to -1 of $error |
226 | !if $code=_ |
||
227 | une des conditions <span class="wims_code_words">Condition pour cacher la feuille aux participants</span> n'a pas de nom de variable |
||
228 | !else |
||
229 | Un des noms de variable ( |
||
230 | !let code=!listcomplement _ in $code |
||
231 | $code |
||
17329 | guerimand | 232 | ) n'est pas un nom correct de variable technique. Les noms incorrects de variable technique |
233 | ont été supprimés du champs <span class="wims_code_words">Condition pour cacher la feuille aux participants</span>. |
||
17327 | guerimand | 234 | !endif |
16195 | guerimand | 235 | </div> |
236 | <div class="wimscenter"> |
||
237 | !set wims_ref_class=wims_button |
||
238 | !reset error |
||
239 | !href cmd=resume Retour |
||
240 | </div> |
||
241 | !exit |
||
242 | !endif |
||
243 | |||
16729 | guerimand | 244 | !if toomanyexo=$error |
245 | <div class="wims_msg alert"> |
||
246 | Le nombre d'exercices dans une feuille est limité ŕ $max_exos. Vous devez supprimer des exercices avant de pouvoir |
||
247 | l'activer. |
||
248 | </div> |
||
249 | !exit |
||
250 | !endif |
||
251 | |||
16798 | guerimand | 252 | !if $error=badallowshare |
253 | <div class="wims_msg alert"> |
||
254 | <strong>$wims_name_Error:</strong> |
||
255 | La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre |
||
17180 | bpr | 256 | classe. |
16798 | guerimand | 257 | Vous ne pouvez donc pas propager ces réglages aux autres classes en partage. |
258 | </div> |
||
259 | <div class="wimscenter"> |
||
260 | !set wims_ref_class=wims_button |
||
261 | !reset error |
||
262 | !href cmd=resume Retour |
||
263 | </div> |
||
264 | !exit |
||
265 | !endif |
||
266 | |||
17327 | guerimand | 267 | !if $error=hiddenbadtechvar |
268 | Attention, la <span class="wims_code_words">condition pour cacher la feuille aux participants</span> en utilisant une variable technique est incorrecte. Vous devez la corriger. |
||
269 | !exit |
||
270 | !endif |
||
271 | |||
1755 | bpr | 272 | !msg $error |