Subversion Repositories wimsdev

Rev

Rev 17180 | Rev 17406 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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