Subversion Repositories wimsdev

Rev

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