Subversion Repositories wimsdev

Rev

Rev 4552 | Rev 5764 | 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
3921 bpr 36
 The number of worksheets is limited to $max_sheet. 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
3951 bpr 63
 Deactivating this worksheet may disrupted neighboring classes. 
64
 This action is therefore <b>strongly discouraged</b>.
1755 bpr 65
 <p>
3921 bpr 66
 Do you still want to deactivate the worksheet?
1755 bpr 67
 <p><center>
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
71
 . </center>
72
 <p>
73
 <b>Before continuing, ask at least the supervisors of your class neighbors to
74
 save their classes!</b>
75
 !exit
76
!endif
77
 
78
!if $error=sheet_in_exam
3921 bpr 79
 Impossible to deactivate this worksheet, because you have exams based on its
1755 bpr 80
 content.
81
 !exit
82
!endif
83
 
84
!if $error=non_empty_activities
3951 bpr 85
 You want to deactivate worksheet $sheet, although participants have already
1755 bpr 86
 started to work on it!
87
 <p>
88
 !if share iswordof $confirmed
3951 bpr 89
  Moreover, the worksheet is shared with other classes where there may be scores too. 
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?
1755 bpr 95
 <p><center>
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
99
 . </center> <p>
3951 bpr 100
 List of students having worked on this worksheet:
1755 bpr 101
 <p>
102
 <tt>$worktest</tt>
103
 <p>
3951 bpr 104
 <b>Note</b>. Only deactivate if you are using this class as a test.
1755 bpr 105
 !exit
106
!endif
107
 
23 reyssat 108
!if prep_activate=$error
3951 bpr 109
 You want to activate worksheet $sheet. <p>
110
 By activating a worksheet, you make it visible to the participants of the class.  Once activated,
111
 a worksheet cannot be modified, unless deactivated first. However, deactiviting an activated 
112
 worksheet will result in losing the scores and grades of the participants.
23 reyssat 113
 <p>
114
 Ali želite nadaljevati?
115
 <p><center>
3245 guerimand 116
 !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1])
23 reyssat 117
 .&nbsp;&nbsp;
1755 bpr 118
 !href cmd=resume $wims_name_no; $wims_name_giveup
3951 bpr 119
 .</center>
23 reyssat 120
 !exit
121
!endif
122
 
123
!if prep_erase=$error
124
 Ali res želite izbrisati ta list #$sheet ($title)?
125
 <p><center>
1755 bpr 126
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
1780 bpr 127
.&nbsp;&nbsp;
1755 bpr 128
 !href cmd=resume $wims_name_no ; $wims_name_giveup
1780 bpr 129
.</center>
23 reyssat 130
 !exit
131
!endif
1755 bpr 132
 
23 reyssat 133
!if prep_expire=$error
134
 Ta list #$sheet ($title) naj bi bil zaključen na dan $expday
135
 !item $expmon $months
136
 $expyear. Ali ga želite zaključiti takoj?
137
 <p><center>
3245 guerimand 138
 !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2])
23 reyssat 139
 .&nbsp;&nbsp;
1755 bpr 140
 !href cmd=resume $wims_name_no ; $wims_name_giveup
23 reyssat 141
 . </center>
142
 <p><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.
143
 !exit
144
!endif
145
 
146
!if prep_putsource=$error
3921 bpr 147
 If you have a source of a worksheet saved earlier, you can insert this source
148
 into the current worksheet, by copying this source into the window below,
4552 bpr 149
 then clicking on the button <span class="wims_button disabled">$wims_name_send</span>. 
150
 This form also allows you to insert the
3918 bpr 151
 source of a public worksheet using cut-and-paste.
1755 bpr 152
  <p>
153
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
154
to $wims_menu_items
155
 
23 reyssat 156
 !form reply
5734 bpr 157
 <input type="hidden" name="job" value="putsource"/><center>
3951 bpr 158
 <textarea cols="55" rows="10" name="source">$source</textarea>
5734 bpr 159
 <p><input type="submit" value="$wims_name_send"/>
23 reyssat 160
 </center></form>
4552 bpr 161
 <span class="wims_warning">$wims_name_warning</span>. 
162
 It is advised not to modify the source code of the worksheet as it may abort the
3951 bpr 163
 worksheet.
23 reyssat 164
 !exit
165
!endif
166
 
167
!if prep_modify=$error
168
 !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
169
 !if $modif>$cnt or $modif<1
170
  You have sent an invalid request. Ignored.
171
 !else
172
  !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet
4528 bpr 173
  !read exomodify.phtml $exo
23 reyssat 174
 !endif
175
 !exit
176
!endif
177
 
1755 bpr 178
!if $error=toolate
3951 bpr 179
 $name_expiration1 ($l_date). $name_expiration2 <p>
180
 !href cmd=resume $wims_name_back2
1755 bpr 181
 ($wims_name_sheetmanagement)
3951 bpr 182
 !exit
183
!endif
1755 bpr 184
 
3951 bpr 185
!if $error=srcnoexo
186
 Cette feuille ne contient aucun exercice, donc son source est vide.<br>
187
 !href cmd=resume retour ŕ la page de préparation
23 reyssat 188
 !exit
189
!endif
1755 bpr 190
!msg $error