Rev 14099 | Rev 14395 | 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 |
4044 | bpr | 14 | Strange, but I do not find the exercise series to modify !! |
3951 | bpr | 15 | !exit |
16 | !endif |
||
17 | |||
23 | reyssat | 18 | !if bad_source=$error |
19 | Element številka $bad_source v vašem delovnem listu je neveljaven. |
||
1755 | bpr | 20 | !href cmd=reply&job=prep_putsource&source=$source $name_correctsource |
1780 | bpr | 21 | . |
23 | reyssat | 22 | !exit |
23 | !endif |
||
24 | |||
3951 | bpr | 25 | !if active_sheet=$error |
26 | Cette feuille est active. Son contenu ne peut pas ętre modifié. |
||
27 | !exit |
||
28 | !endif |
||
29 | |||
1755 | bpr | 30 | !if bad_sheet=$error |
31 | Številka vašega delovnega lista je neveljavna. Hrošč v programski opremi? |
||
32 | !exit |
||
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 |
41 | Poskušate registrirati delovni list brez naslova, kar ni priporočljivo. |
||
42 | Gre za pomoto? |
||
43 | !exit |
||
44 | !endif |
||
45 | |||
1755 | bpr | 46 | !if $error=not_secure |
3951 | bpr | 47 | This action can only be done from a secure host. |
1755 | bpr | 48 | !if $sec=$empty |
3951 | bpr | 49 | You have not defined a secure host. Access denied. You may ask the webmaster |
1755 | bpr | 50 | to do it for you. |
51 | !else |
||
52 | Access denied. |
||
53 | !endif |
||
54 | !exit |
||
55 | !endif |
||
56 | |||
57 | !if $error=sharing_sheet |
||
3921 | bpr | 58 | You are sharing worksheets with other classes! |
1755 | bpr | 59 | !if $wims_ismanager<2 |
3930 | bpr | 60 | You must ask the webmaster to deactivate the worksheet for you. |
1755 | bpr | 61 | !exit |
62 | !endif |
||
7801 | bpr | 63 | Deactivating this worksheet may disrupted neighboring classes. |
3951 | bpr | 64 | This action is therefore <b>strongly discouraged</b>. |
1755 | bpr | 65 | <p> |
3921 | bpr | 66 | Do you still want to deactivate the worksheet? |
5850 | bpr | 67 | </p><div class="wimscenter"> |
3245 | guerimand | 68 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3]) |
1755 | bpr | 69 | . |
70 | !href cmd=resume $wims_name_no; $wims_name_giveup |
||
5764 | bpr | 71 | . </div> |
1755 | bpr | 72 | <b>Before continuing, ask at least the supervisors of your class neighbors to |
73 | save their classes!</b> |
||
74 | !exit |
||
75 | !endif |
||
76 | |||
77 | !if $error=sheet_in_exam |
||
3921 | bpr | 78 | Impossible to deactivate this worksheet, because you have exams based on its |
1755 | bpr | 79 | content. |
80 | !exit |
||
81 | !endif |
||
82 | |||
83 | !if $error=non_empty_activities |
||
14099 | obado | 84 | <p class="wims_msg warning">You want to deactivate worksheet $sheet, although participants have already |
85 | started to work on it!</p> |
||
7801 | bpr | 86 | |
1755 | bpr | 87 | !if share iswordof $confirmed |
7801 | bpr | 88 | Moreover, the worksheet is shared with other classes where there may be scores too. |
3951 | bpr | 89 | It is therefore not allowed to deactivate it. |
1755 | bpr | 90 | !exit |
91 | !endif |
||
3951 | bpr | 92 | All scores obtained on this worksheet will be <b>erased</b>, if you deactivate it. |
93 | Do you still want to proceed? |
||
5764 | bpr | 94 | <div class="wimscenter"> |
3245 | guerimand | 95 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3]) |
1755 | bpr | 96 | . |
97 | !href cmd=resume $wims_name_no; $wims_name_giveup |
||
14102 | obado | 98 | .</div> |
3951 | bpr | 99 | List of students having worked on this worksheet: |
14099 | obado | 100 | <p class="tt">$worktest</p> |
101 | <div class="wims_msg info"><b>Note</b>. Only deactivate if you are using this class as a test.</div> |
||
1755 | bpr | 102 | !exit |
103 | !endif |
||
104 | |||
23 | reyssat | 105 | !if prep_activate=$error |
5850 | bpr | 106 | You want to activate worksheet $sheet. |
3951 | bpr | 107 | By activating a worksheet, you make it visible to the participants of the class. Once activated, |
7801 | bpr | 108 | a worksheet cannot be modified, unless deactivated first. However, deactiviting an activated |
3951 | bpr | 109 | worksheet will result in losing the scores and grades of the participants. |
7801 | bpr | 110 | !if $test_expire!=$empty |
111 | <div class="wims_warning"> |
||
112 | The expiration date of the sheet is previous to today, it will be |
||
113 | updated at the expiration date of your class. |
||
114 | </div> |
||
115 | !endif |
||
116 | <p> |
||
23 | reyssat | 117 | Ali želite nadaljevati? |
5850 | bpr | 118 | </p> <div class="wimscenter"> |
3245 | guerimand | 119 | !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1]) |
23 | reyssat | 120 | . |
1755 | bpr | 121 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 122 | .</div> |
23 | reyssat | 123 | !exit |
124 | !endif |
||
125 | |||
126 | !if prep_erase=$error |
||
127 | Ali res želite izbrisati ta list #$sheet ($title)? |
||
5764 | bpr | 128 | <div class="wimscenter"> |
7973 | bpr | 129 | !set wims_ref_class=wims_button wims_warning |
1755 | bpr | 130 | !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase |
7973 | bpr | 131 | !set wims_ref_class=wims_button |
1755 | bpr | 132 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
7973 | bpr | 133 | </div> |
23 | reyssat | 134 | !exit |
135 | !endif |
||
1755 | bpr | 136 | |
23 | reyssat | 137 | !if prep_expire=$error |
138 | Ta list #$sheet ($title) naj bi bil zaključen na dan $expday |
||
139 | !item $expmon $months |
||
140 | $expyear. Ali ga želite zaključiti takoj? |
||
5764 | bpr | 141 | <div class="wimscenter"> |
3245 | guerimand | 142 | !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2]) |
23 | reyssat | 143 | . |
1755 | bpr | 144 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
5764 | bpr | 145 | . </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 | 146 | !exit |
147 | !endif |
||
148 | |||
149 | !if prep_putsource=$error |
||
3921 | bpr | 150 | If you have a source of a worksheet saved earlier, you can insert this source |
151 | into the current worksheet, by copying this source into the window below, |
||
7801 | bpr | 152 | then clicking on the button <span class="wims_button disabled">$wims_name_send</span>. |
4552 | bpr | 153 | This form also allows you to insert the |
3918 | bpr | 154 | source of a public worksheet using cut-and-paste. |
5850 | bpr | 155 | |
1755 | bpr | 156 | !set wims_menu_items=!append line sheetadmin,1,cmd=resume \ |
157 | to $wims_menu_items |
||
158 | |||
23 | reyssat | 159 | !form reply |
6235 | bpr | 160 | <input type="hidden" name="job" value="putsource" /><p class="wimscenter"> |
5850 | bpr | 161 | <textarea cols="55" rows="10" name="source">$source</textarea></p> |
6235 | bpr | 162 | <p class="wimscenter"><input type="submit" value="$wims_name_send" /> |
5926 | bpr | 163 | </p> |
164 | !formend |
||
7801 | bpr | 165 | <span class="wims_warning">$wims_name_warning</span>. |
4552 | bpr | 166 | It is advised not to modify the source code of the worksheet as it may abort the |
3951 | bpr | 167 | worksheet. |
23 | reyssat | 168 | !exit |
169 | !endif |
||
170 | |||
171 | !if prep_modify=$error |
||
172 | !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
173 | !if $modif>$cnt or $modif<1 |
||
174 | You have sent an invalid request. Ignored. |
||
175 | !else |
||
176 | !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
4528 | bpr | 177 | !read exomodify.phtml $exo |
23 | reyssat | 178 | !endif |
179 | !exit |
||
180 | !endif |
||
181 | |||
1755 | bpr | 182 | !if $error=toolate |
11035 | bpr | 183 | !read adm/lang/date.phtml.$moduclass_lang $class_expiration |
184 | <p>$name_expiration1 ($l_date_out). $name_expiration2 </p> |
||
185 | !set wims_ref_class=wims_button |
||
12089 | guerimand | 186 | !href cmd=resume&job=$empty&save=$empty $wims_name_back2 |
1755 | bpr | 187 | ($wims_name_sheetmanagement) |
3951 | bpr | 188 | !exit |
189 | !endif |
||
1755 | bpr | 190 | |
3951 | bpr | 191 | !if $error=srcnoexo |
6235 | bpr | 192 | Cette feuille ne contient aucun exercice, donc son source est vide.<br /> |
3951 | bpr | 193 | !href cmd=resume retour ŕ la page de préparation |
23 | reyssat | 194 | !exit |
195 | !endif |
||
1755 | bpr | 196 | !msg $error |