Subversion Repositories wimsdev

Rev

Rev 16798 | Rev 17206 | 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.
1755 bpr 20
 !href cmd=reply&job=prep_putsource&source=$source $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
   &nbsp;&nbsp;
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
 .&nbsp;&nbsp;
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
 .&nbsp;&nbsp;
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
 
23 reyssat 167
 !form reply
17180 bpr 168
 <input type="hidden" name="job" value="putsource"><p class="wimscenter">
5850 bpr 169
 <textarea cols="55" rows="10" name="source">$source</textarea></p>
17180 bpr 170
 <p class="wimscenter"><input type="submit" value="$wims_name_send">
5926 bpr 171
 </p>
172
!formend
7801 bpr 173
 <span class="wims_warning">$wims_name_warning</span>.
4552 bpr 174
 It is advised not to modify the source code of the worksheet as it may abort the
3951 bpr 175
 worksheet.
23 reyssat 176
 !exit
177
!endif
178
 
179
!if prep_modify=$error
180
 !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
181
 !if $modif>$cnt or $modif<1
182
  You have sent an invalid request. Ignored.
183
 !else
184
  !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet
4528 bpr 185
  !read exomodify.phtml $exo
23 reyssat 186
 !endif
187
 !exit
188
!endif
189
 
1755 bpr 190
!if $error=toolate
11035 bpr 191
!read adm/lang/date.phtml.$moduclass_lang $class_expiration
192
 <p>$name_expiration1 ($l_date_out). $name_expiration2 </p>
193
 !set wims_ref_class=wims_button
12089 guerimand 194
 !href cmd=resume&job=$empty&save=$empty $wims_name_back2
1755 bpr 195
 ($wims_name_sheetmanagement)
3951 bpr 196
 !exit
197
!endif
1755 bpr 198
 
3951 bpr 199
!if $error=srcnoexo
17180 bpr 200
  This worksheet does not have any exercises yet, so the source code is empty.<br>
16286 bpr 201
  !href cmd=resume Back to edit the worksheet
202
  !exit
23 reyssat 203
!endif
15859 guerimand 204
 
205
!if $error=depindiv
206
  <div class="wims_msg alert">
207
    <strong>$wims_name_Error:</strong>
16286 bpr 208
    Il n'est pas possible de définir des dépendances de score en męme temps que
15946 guerimand 209
    l'activation de l'individualisation des feuilles de travail avec une variable technique.
17180 bpr 210
    <br>
15859 guerimand 211
    Vous devez choisir entre les deux avant de pouvoir activer cette feuille.
212
    !reset error
213
  </div>
15947 guerimand 214
  <div class="wimscenter">
215
   !set wims_ref_class=wims_button
216
   !href cmd=resume Retour
217
  </div>
15859 guerimand 218
  !exit
219
!endif
16195 guerimand 220
 
221
!if badtechvarname iswordof $error
222
  <div class="wims_msg alert">
223
    <strong>$wims_name_Error:</strong>
224
    Un des noms de variable (
225
    !word 2 to -1 of $error
226
    ) n'est pas un nom correct de variable technique. Les noms de variable technique
227
    incorrect ont été supprimés du champs <span class="wims_code_words">Condition pour cacher la feuille aux participants</span>.
228
  </div>
229
  <div class="wimscenter">
230
   !set wims_ref_class=wims_button
231
   !reset error
232
   !href cmd=resume Retour
233
  </div>
234
  !exit
235
!endif
236
 
16729 guerimand 237
!if toomanyexo=$error
238
  <div class="wims_msg alert">
239
    Le nombre d'exercices dans une feuille est limité ŕ $max_exos. Vous devez supprimer des exercices avant de pouvoir
240
    l'activer.
241
  </div>
242
  !exit
243
!endif
244
 
16798 guerimand 245
!if $error=badallowshare
246
  <div class="wims_msg alert">
247
    <strong>$wims_name_Error:</strong>
248
  La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre
17180 bpr 249
  classe.
16798 guerimand 250
  Vous ne pouvez donc pas propager ces réglages aux autres classes en partage.
251
  </div>
252
  <div class="wimscenter">
253
   !set wims_ref_class=wims_button
254
   !reset error
255
   !href cmd=resume Retour
256
  </div>
257
  !exit
258
!endif
259
 
1755 bpr 260
!msg $error