Subversion Repositories wimsdev

Rev

Rev 3049 | Rev 3245 | 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
 
13
!if bad_source=$error
14
 Element številka $bad_source v vašem delovnem listu je neveljaven.
1755 bpr 15
 !href cmd=reply&job=prep_putsource&source=$source $name_correctsource
1780 bpr 16
.
23 reyssat 17
 !exit
18
!endif
19
 
1755 bpr 20
!if bad_sheet=$error
21
 Številka vašega delovnega lista je neveljavna. Hrošč v programski opremi?
22
 !exit
23
!endif
24
 
3062 bpr 25
!if bad_maxsheet=$error
26
 The number of sheets is limited to $max_sheet. You may not create another sheet.
27
 !exit
28
!endif
29
 
23 reyssat 30
!if no_title=$error
31
 Poskušate registrirati delovni list brez naslova, kar ni priporočljivo.
32
 Gre za pomoto?
33
 !exit
34
!endif
35
 
1755 bpr 36
!if $error=not_secure
37
 This operation can only be done from a secure host.
38
 !if $sec=$empty
39
  You haven't defined secure host. Access denied. You may ask the site manager
40
  to do it for you.
41
 !else
42
  Access denied.
43
 !endif
44
 !exit
45
!endif
46
 
47
!if $error=sharing_sheet
48
 You are sharing sheets with other classes!
49
 !if $wims_ismanager<2
50
  You must ask the site manager to deactivate the sheet for you.
51
  !exit
52
 !endif
53
 You might put your neighboring classes in total disorder by deactivating
54
 this sheet. This operation is therefore <b>stronly discouraged</b>.
55
 <p>
56
 Do you still want to deactivate the sheet?
57
 <p><center>
58
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(statutaction[3])
59
 .&nbsp;&nbsp;
60
 !href cmd=resume $wims_name_no; $wims_name_giveup
61
 . </center>
62
 <p>
63
 <b>Before continuing, ask at least the supervisors of your class neighbors to
64
 save their classes!</b>
65
 !exit
66
!endif
67
 
68
!if $error=sheet_in_exam
69
 Impossible to deactivate this sheet, because you have exams based on its
70
 content.
71
 !exit
72
!endif
73
 
74
!if $error=non_empty_activities
75
 You want to deactivate the sheet $sheet, while participants have already
76
 started to work on it!
77
 <p>
78
 !if share iswordof $confirmed
79
  Moreover, the sheet is shared with other classes where there may be works
80
  and scores too. It is therefore not allowed to deactivate it.
81
  !exit
82
 !endif
83
 All scores obtained on this sheet will be erased, if you deactivate. Really
84
 want to do it?
85
 <p><center>
86
 !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(statutaction[3])
87
 .&nbsp;&nbsp;
88
 !href cmd=resume $wims_name_no; $wims_name_giveup
89
 . </center> <p>
90
 List of accounts having worked on this sheet:
91
 <p>
92
 <tt>$worktest</tt>
93
 <p>
94
 <b>Note</b>. This action should be taken only if this is a testing class.
95
 Don't go further if the participants are your real students!
96
 !exit
97
!endif
98
 
23 reyssat 99
!if prep_activate=$error
100
 Želeli ste vključiti delovni list $sheet, s čimer bo postal dostopen uporabnikom učilnice. <p>
101
 Pomnite, da vsebine vključenega lista ni mogoče spreminjati, ne da bi ga prej izključili in s tem zbrisali vse rezultate, dosežene na tem listu.
102
 <p>
103
 Ali želite nadaljevati?
104
 <p><center>
1755 bpr 105
 !href cmd=reply&job=activate $wims_name_yes; $(statutaction[1])
23 reyssat 106
 .&nbsp;&nbsp;
1755 bpr 107
 !href cmd=resume $wims_name_no; $wims_name_giveup
108
 . </center>
23 reyssat 109
 !exit
110
!endif
111
 
112
!if prep_erase=$error
113
 Ali res želite izbrisati ta list #$sheet ($title)?
114
 <p><center>
1755 bpr 115
 !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase
1780 bpr 116
.&nbsp;&nbsp;
1755 bpr 117
 !href cmd=resume $wims_name_no ; $wims_name_giveup
1780 bpr 118
.</center>
23 reyssat 119
 !exit
120
!endif
1755 bpr 121
 
23 reyssat 122
!if prep_expire=$error
123
 Ta list #$sheet ($title) naj bi bil zaključen na dan $expday
124
 !item $expmon $months
125
 $expyear. Ali ga želite zaključiti takoj?
126
 <p><center>
1755 bpr 127
 !href cmd=reply&job=expire $wims_name_yes ; $(statutaction[2])
23 reyssat 128
 .&nbsp;&nbsp;
1755 bpr 129
 !href cmd=resume $wims_name_no ; $wims_name_giveup
23 reyssat 130
 . </center>
131
 <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.
132
 !exit
133
!endif
134
 
135
!if prep_putsource=$error
136
 If you have a source of a sheet saved earlier, you can insert this source
137
 into the current sheet, by copying this source into the window below,
138
 then clicking on the button `Send'. This form also allows you to insert the
139
 source of a public work sheet using cut-and-paste.
1755 bpr 140
  <p>
141
 !set wims_menu_items=!append line sheetadmin,1,cmd=resume \
142
to $wims_menu_items
143
 
23 reyssat 144
 !form reply
3049 bpr 145
 <input type=hidden name="job" value=putsource><center>
146
 <textarea cols=55 rows=10 name="source">$source</textarea>
1755 bpr 147
 <p><input type=submit value="$wims_name_send">
23 reyssat 148
 </center></form>
149
 <b>Warning</b>. Don't insert modified source file! You risk to make your
150
 worksheet useless.
151
 !exit
152
!endif
153
 
154
!if prep_modify=$error
155
 !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
156
 !if $modif>$cnt or $modif<1
157
  You have sent an invalid request. Ignored.
158
 !else
159
  !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet
2210 bpr 160
  !changeto exomodify.phtml $exo
23 reyssat 161
 !endif
162
 !exit
163
!endif
164
 
1755 bpr 165
!if $error=toolate
1780 bpr 166
 $name_expiration1 ($l_date). $name_expiration2
23 reyssat 167
 
1755 bpr 168
<p>
169
!href cmd=resume $wims_name_back2
170
 ($wims_name_sheetmanagement)
171
 
23 reyssat 172
 !exit
173
!endif
1755 bpr 174
!msg $error