Rev 17854 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
17854 | czzmrn | 1 | !form reply |
2 | <input type="hidden" name="up_job" value="list"> |
||
3 | <fieldset class="property_fields blockcenter"> |
||
4 | <legend>ID: $wims_class</legend> |
||
5 | <div class="field box"> |
||
6 | !if $supertype notin 24 or $classdepth=1 |
||
7 | <label for="up_institution">$name_name_institution</label> |
||
8 | <input size="50" name="up_institution" id="up_institution" value="$class_institution"> |
||
9 | !else |
||
10 | <strong>$name_name_institution</strong> |
||
11 | $class_institution |
||
12 | !endif |
||
13 | </div> |
||
14 | <div class="field box halfwidth"> |
||
15 | <label for="up_description">$name_name_class</label> |
||
16 | <input size="50" name="up_description" id="up_description" value="$class_description"> |
||
17 | </div> |
||
18 | <div class="field box halfwidth"> |
||
19 | <label for="up_supervisor">$wims_name_nameteacher</label> |
||
20 | !set wims_ref_class=wims_button_help float_right |
||
21 | !href cmd=help&special_parm=config&special_parm2=supervisor $wims_name_help |
||
22 | <input size="40" name="up_supervisor" id="up_supervisor" value="$class_supervisor"> |
||
23 | </div> |
||
24 | <div class="field box halfwidth"> |
||
25 | <label for="up_email">$wims_name_email</label> |
||
26 | !set wims_ref_class=wims_button_help float_right |
||
27 | !href cmd=help&special_parm=config&special_parm2=email $wims_name_help |
||
28 | <input size="40" name="up_email" id="up_email" value="$class_email"> |
||
29 | </div> |
||
30 | <div class="field box halfwidth"> |
||
31 | <label for="up_level">$name_level</label> |
||
32 | !!!set wims_ref_class=wims_button_help float_right |
||
33 | !! !href cmd=help&special_parm=config&special_parm2=level $wims_name_help |
||
34 | !set up_level=$class_level |
||
35 | !formselect up_level list $wims_listlevel prompt $name_wims_listlevel |
||
36 | </div> |
||
37 | <div class="field box halfwidth"> |
||
38 | <label for="up_lang">$wims_name_Language</label> |
||
39 | !set wims_ref_class=wims_button_help float_right |
||
40 | !href cmd=help&special_parm=config&special_parm2=lang $wims_name_help |
||
41 | !set up_lang=$class_lang |
||
42 | !set langs=!words2items $wims_site_languages |
||
43 | !formselect up_lang list $langs |
||
44 | </div> |
||
45 | <div class="field box halfwidth"> |
||
46 | <label for="up_expiration">$name_expirationdate</label> |
||
47 | !set wims_ref_class=wims_button_help float_right |
||
48 | !href cmd=help&special_parm=config&special_parm2=expiration $wims_name_help |
||
49 | !if $class_type notin 13 |
||
50 | !! Date format for input type="date" must be [RFC 3339] (1996-12-19) |
||
51 | !set begin=!sh date --date '1 day ago' +%Y%m%d |
||
52 | !set end=!sh date --date '1 years 3 months' +%Y%m%d |
||
53 | !read adm/datepickerform.phtml $class_expiration\ |
||
54 | up_expiration\ |
||
55 | "$begin","$end" |
||
56 | !else |
||
57 | <span class="tt">$class_expiration</span> |
||
58 | !default up_expiration=$class_expiration |
||
59 | !endif |
||
60 | </div> |
||
61 | <div class="field box halfwidth"> |
||
62 | <label for="up_secure">$name_secure</label> |
||
63 | !set wims_ref_class=wims_button_help float_right |
||
64 | !href cmd=help&special_parm=config&special_parm2=secure $wims_name_help |
||
65 | <input size="40" name="up_secure" id="up_secure" value="$class_secure"> |
||
66 | </div> |
||
67 | <div class="field box halfwidth"> |
||
68 | <label for="up_limit">$name_limit</label> |
||
69 | $ $ |
||
70 | !set wims_ref_class=wims_button_help float_right |
||
71 | !href cmd=help&special_parm=config&special_parm2=limit $wims_name_help |
||
72 | <input size="5" name="up_limit" id="up_limit" value="$class_limit"> |
||
73 | </div> |
||
74 | <div class="field box halfwidth"> |
||
75 | <label for="up_sendmailteacher">$name_sendmailteacher</label> |
||
76 | $ $ |
||
77 | !set wims_ref_class=wims_formradio |
||
78 | !set wims_ref_class=wims_button_help float_right |
||
79 | !href cmd=help&special_parm=config&special_parm2=sendmailteacher $wims_name_help |
||
80 | !let up_sendmailteacher=$class_sendmailteacher |
||
81 | !default up_sendmailteacher=yes |
||
82 | !formselect up_sendmailteacher list yes,no prompt $wims_name_yes,$wims_name_no |
||
83 | </div> |
||
84 | |||
85 | <div class="field box"> |
||
86 | <label for="up_supconnectshowed">$name_config_supconnectshowed</label> |
||
87 | !set up_supconnectshowed=$class_supconnectshowed |
||
88 | !default up_supconnectshowed=no |
||
89 | !formselect up_supconnectshowed list no,yes prompt $wims_name_no,$wims_name_yes |
||
90 | </div> |
||
91 | |||
92 | <div class="field box"> |
||
93 | <label for="up_hideaverage">$name_config_hideaverage</label> |
||
94 | !set up_hideaverage=$class_hideaverage |
||
95 | !default up_hideaverage=no |
||
96 | !formselect up_hideaverage list no,yes prompt $wims_name_no,$wims_name_yes |
||
97 | </div> |
||
98 | |||
99 | !if $wims_show_stat=yes |
||
100 | <div class="field box"> |
||
101 | <label for="up_utime">$name_config_utime</label> |
||
102 | !set up_utime=$class_utime |
||
103 | !default class_utime=15 |
||
104 | <input size="5" name="up_utime" id="up_utime" value="$class_utime"> |
||
105 | <div class="formHelp">$name_utime_help</div> |
||
106 | </div> |
||
107 | !endif |
||
108 | |||
109 | !if $class_type=0 or ($class_type=1 and $wims_typename=class) |
||
110 | <div class="field box halfwidth"> |
||
111 | <label for="up_allowcloning">$name_allowcloning</label> |
||
112 | $ $ |
||
113 | !set wims_ref_class=wims_button_help float_right |
||
114 | !href cmd=help&special_parm=config&special_parm2=cloning $wims_name_help |
||
115 | !set wims_ref_class=wims_formradio |
||
116 | !let up_allowcloning=$class_allowcloning |
||
117 | !default up_allowcloning=no |
||
118 | !formselect up_allowcloning list yes,no prompt $wims_name_yes,$wims_name_no |
||
119 | <br> |
||
120 | <label for="up_cloningpwd">$name_cloningpwd</label> |
||
121 | <input size="5" name="up_cloningpwd" id="up_cloningpwd" value="$class_cloningpwd"> |
||
122 | </div> |
||
123 | !endif |
||
124 | !if $class_type isin 024 |
||
125 | <div class="field box halfwidth"> |
||
126 | <label for="up_regvars">$name_regvars</label> |
||
127 | !set wims_ref_class=wims_button_help float_right |
||
128 | !href cmd=help&special_parm=regvars $wims_name_help |
||
129 | !set wims_ref_class=wims_formradio |
||
130 | !let up_regvars=$class_regvars |
||
131 | <input size="20" name="up_regvars" id="up_regvars" value="$class_regvars"> |
||
132 | </div> |
||
133 | <div class="field box halfwidth"> |
||
134 | <label for="location">$name_location</label> |
||
135 | <input type="text" size="$desclim" name="up_location" value="$class_location" id="location" maxlength="$desclim"> |
||
136 | <label for="geoloc">$name_geoloc</label> |
||
137 | <input type="text" size="$desclim" name="up_geoloc" value="$class_geoloc" id="geoloc" maxlength="$desclim" placeholder="X,Y"> |
||
138 | !! ---------- add to read autocompletion location |
||
139 | !set auto=!lookup $lang in wimshome/log/stat/geoloc.dictionary |
||
140 | !if $auto!=$empty |
||
141 | !read adm/geoloc/$auto |
||
142 | !endif |
||
143 | <div class="formHelp">$name_location_help</div> |
||
144 | </div> |
||
145 | !endif |
||
146 | </fieldset> |
||
147 | |||
148 | <fieldset class="property_fields blockcenter"> |
||
149 | <legend>$wims_name_Sheets</legend> |
||
150 | <div class="field box"> |
||
151 | <label for="up_exolog">$name_register_exo</label> |
||
152 | !set wims_ref_class=wims_button_help float_right |
||
153 | !href cmd=help&special_parm=config&special_parm2=exolog $wims_name_help |
||
154 | !default class_exolog=2 |
||
155 | !let up_exolog=$class_exolog |
||
156 | !formselect up_exolog from 0 to $wims_exolog_limit |
||
157 | </div> |
||
158 | |||
159 | <div class="field box"> |
||
160 | <label for="up_mexolog">$name_config_mexolog</label> |
||
161 | !set up_mexolog=$class_mexolog |
||
162 | !default up_mexolog=no |
||
163 | !formselect up_mexolog list no,yes prompt $wims_name_no,$wims_name_yes |
||
164 | </div> |
||
165 | |||
166 | <div class="field box"> |
||
167 | <label for="up_exotitleform">$name_config_exotitleform </label> |
||
168 | !set up_exotitleform=$class_exotitleform |
||
169 | !default up_exotitleform=0 |
||
170 | !formselect up_exotitleform list -1,0,1,2,3 prompt $name_config_exotitleformoption |
||
171 | </div> |
||
172 | <div class="field box"> |
||
173 | <label for="up_authscoresuspend">$name_config_authscoresuspend</label> |
||
174 | !set up_authscoresuspend=$class_authscoresuspend |
||
175 | !default up_authscoresuspend=yes |
||
176 | !formselect up_authscoresuspend list no,yes prompt $wims_name_no,$wims_name_yes |
||
177 | </div> |
||
178 | !set class_option_=!words2items $class_option |
||
179 | !set class_option=!listintersect $class_option_ and showshexpire,showshweight |
||
180 | !set class_optionsh=!items2words $class_option |
||
181 | <div class="field box"> |
||
182 | <label for="up_option">$name_optionword</label> |
||
183 | !set wims_ref_class=wims_button_help float_right |
||
184 | !href cmd=help&special_parm=config&special_parm2=option $wims_name_help |
||
185 | <input size="40" name="up_option" id="up_option" value="$class_optionsh"> |
||
186 | </div> |
||
187 | <div class="field box"> |
||
188 | <strong>$(name_bestscore[1]):</strong> |
||
189 | !set wims_ref_class=wims_button_help float_right |
||
190 | !href cmd=help&special_parm=config&special_parm2=topscores $wims_name_help |
||
191 | !default class_topscores=0 |
||
192 | !default class_anonymtopscores=yes |
||
193 | !set up_anonymtopscores=$class_anonymtopscores |
||
194 | <label for="up_topscores">$(name_bestscore[2])</label> |
||
195 | <input size="3" name="up_topscores" id="up_topscores" value="$class_topscores"> |
||
196 | / <label for="up_anonymtopscores">$(name_bestscore[3])</label> |
||
197 | !formselect up_anonymtopscores list no,yes prompt $wims_name_no,$wims_name_yes |
||
198 | </div> |
||
199 | </fieldset> |
||
200 | |||
201 | <fieldset class="property_fields blockcenter"> |
||
202 | <legend>$wims_name_Examens</legend> |
||
203 | <div class="field box halfwidth"> |
||
204 | <label for="up_examlog">$name_register_exam</label> |
||
205 | !default class_examlog=$wims_examlog_limit |
||
18453 | bpr | 206 | !let up_examlog=$[min($class_examlog,$wims_examlog_limit)] |
17854 | czzmrn | 207 | !formselect up_examlog from 0 to $wims_examlog_limit |
208 | !set wims_ref_class=wims_button_help float_right |
||
209 | !href cmd=help&special_parm=config&special_parm2=examlog $wims_name_help |
||
210 | </div> |
||
211 | <div class="field box halfwidth"> |
||
212 | <label for="up_examshow">$name_visible</label> |
||
213 | !set wims_ref_class=wims_button_help float_right |
||
214 | !href cmd=help&special_parm=config&special_parm2=examshow $wims_name_help |
||
215 | !default class_examshow=yes |
||
216 | !set up_examshow=$class_examshow |
||
217 | !formselect up_examshow list no,yes prompt $wims_name_no,$wims_name_yes |
||
218 | </div> |
||
219 | <div class="field box fullwidth"> |
||
220 | <label for="up_examscore_withoutip">$name_examscore_withoutip</label> |
||
221 | !let up_examscore_withoutip=$class_examscore_withoutip |
||
222 | !default class_examscore_withoutip=no |
||
223 | !set up_examscore_withoutip=$class_examscore_withoutip |
||
224 | !formselect up_examscore_withoutip list no,yes prompt $wims_name_yes,$wims_name_no |
||
225 | </div> |
||
226 | <div class="field box"> |
||
227 | <label for="up_optionex">$name_optionword</label> |
||
228 | !set wims_ref_class=wims_button_help float_right |
||
229 | !set class_optionex=!listintersect $class_option_ and showexexpire,exrandomlist |
||
230 | !set class_optionex=!items2words $class_optionex |
||
231 | !href cmd=help&special_parm=config&special_parm2=optionex $wims_name_help |
||
232 | <input size="40" name="up_optionex" id="up_optionex" value="$class_optionex"> |
||
233 | </div> |
||
234 | </fieldset> |
||
235 | <fieldset class="property_fields blockcenter"> |
||
236 | <legend>$name_advanced</legend> |
||
237 | <div class="field box"> |
||
238 | !set up_ent=$class_ent |
||
239 | <label for="up_ent">$wims_name_config_ent</label> |
||
240 | !set wims_ref_class=wims_button_help float_right |
||
241 | !href cmd=help&special_parm=config&special_parm2=ent $wims_name_help |
||
242 | <input size="50" name="up_ent" id="up_ent" value="$class_ent"> |
||
243 | </div> |
||
244 | |||
245 | !!! Unuseful now |
||
246 | !!!if $class_type iswordof 0 2 4 |
||
247 | !! !set up_external_auth=$class_external_auth |
||
248 | !! <div class="field box"> |
||
249 | !! <label for="up_external_auth">$wims_name_external_auth</label> |
||
250 | !!!set wims_ref_class=wims_button_help float_right |
||
251 | !!!href cmd=help&special_parm=config&special_parm2=external_auth $wims_name_help |
||
252 | !! <textarea name="up_external_auth" id="up_external_auth" cols="50" rows="6">$class_external_auth</textarea> |
||
253 | !!!!<input size="50" name="up_external_auth" value="$class_external_auth"> |
||
254 | !!!set up_mixed_external_auth=$class_mixed_external_auth |
||
255 | !!!default up_mixed_external_auth=0 |
||
256 | !!!formradio up_mixed_external_auth list 0,1,2 prompt $wims_name_no, $name_mix_auth, $wims_name_yes |
||
257 | !! </div> |
||
258 | !!!endif |
||
259 | |||
260 | !if $wims_supertype!=4 or $class_typename!=class |
||
261 | <div class="field box"> |
||
262 | <strong>$name_devaccount</strong> |
||
263 | !set wims_ref_class=wims_button_help float_right |
||
264 | !href cmd=help&special_parm=config&special_parm2=modtoolchg $wims_name_help |
||
265 | !set modtoolchg=1 |
||
266 | !set wims_ref_class=wims_formradio |
||
267 | !formcheckbox modtoolchg list 0 prompt $wims_name_change |
||
268 | </div> |
||
269 | !endif |
||
270 | |||
271 | !! Lock does not work |
||
272 | !! <div class="field box"> |
||
273 | !! <label for="up_lock">$name_lock_level</label> |
||
274 | !! !set wims_ref_class=wims_button_help float_right |
||
275 | !! !href cmd=help&special_parm=config&special_parm2=lock $wims_name_help |
||
276 | !! !set up_lock=$class_lock |
||
277 | !! !default up_lock=0 |
||
278 | !! !formselect up_lock list 0,2,3,4,5,6,7 |
||
279 | !! </div> |
||
280 | </fieldset> |
||
281 | <div class="wimscenter actions"> |
||
282 | <input type="submit" name="save" value="$wims_name_tosave"> |
||
283 | $ |
||
284 | <input type="submit" name="abandon" value="$wims_name_giveup" class="wims_secondary_button"> |
||
285 | </div> |
||
286 | |||
287 | !formend |
||
288 | |||
289 | !reset up_institution, up_description, up_supervisor, up_email, \ |
||
290 | up_lang, up_level, up_limit, up_topscores, up_anonymtopscores, up_expiration, up_secure, up_lock,\ |
||
291 | up_option,up_optionex,up_exolog,up_examlog,up_examshow,up_ent,up_external_auth,up_mixed_external_auth,\ |
||
292 | pr_homepage, pr_bgcolor, pr_refcolor, pr_ref_menucolor,pr_ref_button_help_bgcolor,pr_ref_button_help_color,\ |
||
293 | pr_ref_button_color,pr_ref_button_bgcolor,pr_bgimg, pr_css, pr_theme, pr_theme_icon, up_mexolog, up_hideaverage |