Subversion Repositories wimsdev

Rev

Rev 15947 | Rev 16286 | 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
 .&nbsp;&nbsp;
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
 
14395 bpr 77
!if sheet_in_exam iswordof $error
78
  !set exa=!word 2 of $error
79
  Impossible to deactivate this worksheet, because you have exams based on its
80
  content (for example exam $exa).
1755 bpr 81
 !exit
82
!endif
83
 
84
!if $error=non_empty_activities
14099 obado 85
 <p class="wims_msg warning">You want to deactivate worksheet $sheet, although participants have already
86
 started to work on it!</p>
7801 bpr 87
 
1755 bpr 88
 !if share iswordof $confirmed
7801 bpr 89
  Moreover, the worksheet is shared with other classes where there may be scores too.
3951 bpr 90
  It is therefore not allowed to deactivate it.
1755 bpr 91
  !exit
92
 !endif
3951 bpr 93
 All scores obtained on this worksheet will be <b>erased</b>, if you deactivate it.
94
 Do you still want to proceed?
5764 bpr 95
  <div class="wimscenter">
3245 guerimand 96
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
1755 bpr 97
 .&nbsp;&nbsp;
98
 !href cmd=resume $wims_name_no; $wims_name_giveup
14102 obado 99
 .</div>
3951 bpr 100
 List of students having worked on this worksheet:
14099 obado 101
 <p class="tt">$worktest</p>
102
 <div class="wims_msg info"><b>Note</b>. Only deactivate if you are using this class as a test.</div>
1755 bpr 103
 !exit
104
!endif
105
 
23 reyssat 106
!if prep_activate=$error
5850 bpr 107
 You want to activate worksheet $sheet.
3951 bpr 108
 By activating a worksheet, you make it visible to the participants of the class.  Once activated,
7801 bpr 109
 a worksheet cannot be modified, unless deactivated first. However, deactiviting an activated
3951 bpr 110
 worksheet will result in losing the scores and grades of the participants.
7801 bpr 111
!if $test_expire!=$empty
112
  <div class="wims_warning">
113
   The expiration date of the sheet is previous to today, it will be
114
   updated at the expiration date of your class.
115
  </div>
116
 !endif
117
  <p>
23 reyssat 118
 Ali želite nadaljevati?
5850 bpr 119
 </p> <div class="wimscenter">
3245 guerimand 120
 !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1])
23 reyssat 121
 .&nbsp;&nbsp;
1755 bpr 122
 !href cmd=resume $wims_name_no; $wims_name_giveup
5764 bpr 123
 .</div>
23 reyssat 124
 !exit
125
!endif
126
 
127
!if prep_erase=$error
128
 Ali res želite izbrisati ta list #$sheet ($title)?
5764 bpr 129
  <div class="wimscenter">
7973 bpr 130
 !set wims_ref_class=wims_button wims_warning
1755 bpr 131
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
7973 bpr 132
!set wims_ref_class=wims_button
1755 bpr 133
 !href cmd=resume $wims_name_no ; $wims_name_giveup
7973 bpr 134
</div>
23 reyssat 135
 !exit
136
!endif
1755 bpr 137
 
23 reyssat 138
!if prep_expire=$error
139
 Ta list #$sheet ($title) naj bi bil zaključen na dan $expday
140
 !item $expmon $months
141
 $expyear. Ali ga želite zaključiti takoj?
5764 bpr 142
  <div class="wimscenter">
3245 guerimand 143
 !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2])
23 reyssat 144
 .&nbsp;&nbsp;
1755 bpr 145
 !href cmd=resume $wims_name_no ; $wims_name_giveup
5764 bpr 146
 . </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 147
 !exit
148
!endif
149
 
150
!if prep_putsource=$error
3921 bpr 151
 If you have a source of a worksheet saved earlier, you can insert this source
152
 into the current worksheet, by copying this source into the window below,
7801 bpr 153
 then clicking on the button <span class="wims_button disabled">$wims_name_send</span>.
4552 bpr 154
 This form also allows you to insert the
3918 bpr 155
 source of a public worksheet using cut-and-paste.
5850 bpr 156
 
1755 bpr 157
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
158
to $wims_menu_items
159
 
23 reyssat 160
 !form reply
6235 bpr 161
 <input type="hidden" name="job" value="putsource" /><p class="wimscenter">
5850 bpr 162
 <textarea cols="55" rows="10" name="source">$source</textarea></p>
6235 bpr 163
 <p class="wimscenter"><input type="submit" value="$wims_name_send" />
5926 bpr 164
 </p>
165
!formend
7801 bpr 166
 <span class="wims_warning">$wims_name_warning</span>.
4552 bpr 167
 It is advised not to modify the source code of the worksheet as it may abort the
3951 bpr 168
 worksheet.
23 reyssat 169
 !exit
170
!endif
171
 
172
!if prep_modify=$error
173
 !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
174
 !if $modif>$cnt or $modif<1
175
  You have sent an invalid request. Ignored.
176
 !else
177
  !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet
4528 bpr 178
  !read exomodify.phtml $exo
23 reyssat 179
 !endif
180
 !exit
181
!endif
182
 
1755 bpr 183
!if $error=toolate
11035 bpr 184
!read adm/lang/date.phtml.$moduclass_lang $class_expiration
185
 <p>$name_expiration1 ($l_date_out). $name_expiration2 </p>
186
 !set wims_ref_class=wims_button
12089 guerimand 187
 !href cmd=resume&job=$empty&save=$empty $wims_name_back2
1755 bpr 188
 ($wims_name_sheetmanagement)
3951 bpr 189
 !exit
190
!endif
1755 bpr 191
 
3951 bpr 192
!if $error=srcnoexo
6235 bpr 193
 Cette feuille ne contient aucun exercice, donc son source est vide.<br />
3951 bpr 194
 !href cmd=resume retour ŕ la page de préparation
23 reyssat 195
 !exit
196
!endif
15859 guerimand 197
 
198
!if $error=depindiv
199
  <div class="wims_msg alert">
200
    <strong>$wims_name_Error:</strong>
201
    Il n'est pas possible de définir des dépendances de score en męme temps que 
15946 guerimand 202
    l'activation de l'individualisation des feuilles de travail avec une variable technique.
15859 guerimand 203
    <br/>
204
    Vous devez choisir entre les deux avant de pouvoir activer cette feuille.
205
    !reset error
206
  </div>
15947 guerimand 207
  <div class="wimscenter">
208
   !set wims_ref_class=wims_button
209
   !href cmd=resume Retour
210
  </div>
15859 guerimand 211
  !exit
212
!endif
16195 guerimand 213
 
214
!if badtechvarname iswordof $error
215
  <div class="wims_msg alert">
216
    <strong>$wims_name_Error:</strong>
217
    Un des noms de variable (
218
    !word 2 to -1 of $error
219
    ) n'est pas un nom correct de variable technique. Les noms de variable technique
220
    incorrect ont été supprimés du champs <span class="wims_code_words">Condition pour cacher la feuille aux participants</span>.
221
  </div>
222
  <div class="wimscenter">
223
   !set wims_ref_class=wims_button
224
   !reset error
225
   !href cmd=resume Retour
226
  </div>
227
  !exit
228
!endif
229
 
1755 bpr 230
!msg $error