Rev 16518 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16518 | Rev 17180 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !if $test=yes |
2 | !if $test=yes |
3 | <div id="userlogo" class="float_right"> |
3 | <div id="userlogo" class="float_right"> |
4 | <img src="$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=photoboard/$getuser" alt="$getuser photo" |
4 | <img src="$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=photoboard/$getuser" alt="$getuser photo"> |
5 | </div> |
5 | </div> |
6 | !else |
6 | !else |
7 | !if $user_photourl!=$empty |
7 | !if $user_photourl!=$empty |
8 | <div id="userlogo" class="float_right"> |
8 | <div id="userlogo" class="float_right"> |
9 | <img src="$user_photourl" alt="user photo" |
9 | <img src="$user_photourl" alt="user photo"> |
10 | </div> |
10 | </div> |
11 | !endif |
11 | !endif |
12 | !endif |
12 | !endif |
13 | !read adm/title.phtml 1\ |
13 | !read adm/title.phtml 1\ |
14 | $classname\ |
14 | $classname\ |
Line 31... | Line 31... | ||
31 | !endif |
31 | !endif |
32 | 32 | ||
33 | 33 | ||
34 | !set wims_form_method=file |
34 | !set wims_form_method=file |
35 | !form reply |
35 | !form reply |
36 | <input type="hidden" name="job" value="userprop" |
36 | <input type="hidden" name="job" value="userprop"> |
37 | <input type="hidden" name="getuser" value="$getuser" |
37 | <input type="hidden" name="getuser" value="$getuser"> |
38 | <fieldset class="property_fields halfwidth blockcenter"> |
38 | <fieldset class="property_fields halfwidth blockcenter"> |
39 | <legend>$wims_name_properties</legend> |
39 | <legend>$wims_name_properties</legend> |
40 | 40 | ||
41 | !if $allowchange!=yes and $wims_realuser!=$class_Supervisor |
41 | !if $allowchange!=yes and $wims_realuser!=$class_Supervisor |
42 | <div class="wimscenter"> |
42 | <div class="wimscenter"> |
Line 119... | Line 119... | ||
119 | !if $(ltclassname[$k;1]) isitemof $user_supervise |
119 | !if $(ltclassname[$k;1]) isitemof $user_supervise |
120 | !let check=checked="checked" |
120 | !let check=checked="checked" |
121 | !else |
121 | !else |
122 | !let check=$empty |
122 | !let check=$empty |
123 | !endif |
123 | !endif |
124 | <input type="checkbox" name="up_supervise" id="up_supervise_$k" value="$(ltclassname[$k;1])" $check |
124 | <input type="checkbox" name="up_supervise" id="up_supervise_$k" value="$(ltclassname[$k;1])" $check> |
125 | <label for="up_supervise_$k">$(ltclassname[$k;2])</label> |
125 | <label for="up_supervise_$k">$(ltclassname[$k;2])</label> |
126 | </li> |
126 | </li> |
127 | !next k |
127 | !next k |
128 | </ul> |
128 | </ul> |
129 | !else |
129 | !else |
Line 167... | Line 167... | ||
167 | <label for="up_mkclass">$name_mkclass</label> |
167 | <label for="up_mkclass">$name_mkclass</label> |
168 | !set up_mkclass=$user_mkclass |
168 | !set up_mkclass=$user_mkclass |
169 | !default up_mkclass=yes |
169 | !default up_mkclass=yes |
170 | !formselect up_mkclass list yes,no prompt $wims_name_yes,$wims_name_no |
170 | !formselect up_mkclass list yes,no prompt $wims_name_yes,$wims_name_no |
171 | !else |
171 | !else |
172 | $name_mkclass |
172 | $name_mkclass |
173 | !if $user_mkclass=no |
173 | !if $user_mkclass=no |
174 | $wims_name_no |
174 | $wims_name_no |
175 | !else |
175 | !else |
176 | $wims_name_yes |
176 | $wims_name_yes |
177 | !endif |
177 | !endif |
178 | !endif |
178 | !endif |
179 | </div> |
179 | </div> |
180 | !endif |
180 | !endif |
181 | |
181 | |
182 | !endif |
182 | !endif |
183 | !! --------------------- endif user_supervisable=yes |
183 | !! --------------------- endif user_supervisable=yes |
184 | !endif |
184 | !endif |
185 | 185 | ||
186 | !if $user_supervisable=yes and $getuser!=$wims_realuser and $type_class notwordof 2 4 |
186 | !if $user_supervisable=yes and $getuser!=$wims_realuser and $type_class notwordof 2 4 |
Line 210... | Line 210... | ||
210 | !let wims_name_regnum=$name_regnum |
210 | !let wims_name_regnum=$name_regnum |
211 | !for lab in lastname,firstname,regnum |
211 | !for lab in lastname,firstname,regnum |
212 | <div class="field box"> |
212 | <div class="field box"> |
213 | <label for="up_$lab">$(wims_name_$lab)</label> |
213 | <label for="up_$lab">$(wims_name_$lab)</label> |
214 | !if $allowchange=yes |
214 | !if $allowchange=yes |
215 | <input size="$inplen" name="up_$lab" id="up_$lab" value="$(user_$lab)" |
215 | <input size="$inplen" name="up_$lab" id="up_$lab" value="$(user_$lab)"> |
216 | !else |
216 | !else |
217 | <span class="user_prop_value">$(user_$lab)</span> |
217 | <span class="user_prop_value">$(user_$lab)</span> |
218 | !endif |
218 | !endif |
219 | </div> |
219 | </div> |
220 | !next lab |
220 | !next lab |
221 | <div class="field box"> |
221 | <div class="field box"> |
222 | <label for="up_email">$(wims_name_email)</label> |
222 | <label for="up_email">$(wims_name_email)</label> |
223 | !if $allowchange=yes and ($wims_mail_hidden=no or $wims_user!=supervisor or $user_supervisable=yes) |
223 | !if $allowchange=yes and ($wims_mail_hidden=no or $wims_user!=supervisor or $user_supervisable=yes) |
224 | <input size="$inplen" name="up_email" id="up_email" value="$(user_email)" |
224 | <input size="$inplen" name="up_email" id="up_email" value="$(user_email)"> |
225 | !else |
225 | !else |
226 | <span class="user_prop_value"> |
226 | <span class="user_prop_value"> |
227 | !if $wims_mail_hidden=no or $wims_user!=supervisor or $user_supervisable=yes |
227 | !if $wims_mail_hidden=no or $wims_user!=supervisor or $user_supervisable=yes |
228 | $(user_email) |
228 | $(user_email) |
229 | !else |
229 | !else |
Line 235... | Line 235... | ||
235 | !endif |
235 | !endif |
236 | </div> |
236 | </div> |
237 | !if $allowchange=yes |
237 | !if $allowchange=yes |
238 | <div class="field box"> |
238 | <div class="field box"> |
239 | <label for="up_photourl">$name_photourl</label> |
239 | <label for="up_photourl">$name_photourl</label> |
240 | <input type="url" size="$inplen" name="up_photourl" id="up_photourl" value="$user_photourl" |
240 | <input type="url" size="$inplen" name="up_photourl" id="up_photourl" value="$user_photourl"> |
241 | <br |
241 | <br> |
242 | <label for="photofile">$name_photofile</label> |
242 | <label for="photofile">$name_photofile</label> |
243 | <input type="file" size="35" name="wims_deposit" id="photofile" accept="image/*"> |
243 | <input type="file" size="35" name="wims_deposit" id="photofile" accept="image/*"> |
244 | !set wims_ref_class=wims_button wims_warning |
244 | !set wims_ref_class=wims_button wims_warning |
245 | !href module=adm/class/usermanage&cmd=reply&job=userprop&getuser=$getuser&job2=photoerase $wims_name_delete |
245 | !href module=adm/class/usermanage&cmd=reply&job=userprop&getuser=$getuser&job2=photoerase $wims_name_delete |
246 | </div> |
246 | </div> |
Line 248... | Line 248... | ||
248 | <div class="field box"> |
248 | <div class="field box"> |
249 | <label for="up_comments">$name_comments</label> |
249 | <label for="up_comments">$name_comments</label> |
250 | !readproc adm/class/mkcomment val |
250 | !readproc adm/class/mkcomment val |
251 | !let class_version=!record 0 of wimshome/log/classes/$wims_class/version |
251 | !let class_version=!record 0 of wimshome/log/classes/$wims_class/version |
252 | !if $wims_user=supervisor |
252 | !if $wims_user=supervisor |
253 | <input size="$inplen" name="up_comments" id="up_comments" value="$scriptout" |
253 | <input size="$inplen" name="up_comments" id="up_comments" value="$scriptout"> |
254 | <div class="formHelp"> |
254 | <div class="formHelp"> |
255 | !if $class_version<6 |
255 | !if $class_version<6 |
256 | $name_commentmessv5 |
256 | $name_commentmessv5 |
257 | !else |
257 | !else |
258 | $name_commentmess |
258 | $name_commentmess |
Line 269... | Line 269... | ||
269 | 269 | ||
270 | !! ---------- display regvar |
270 | !! ---------- display regvar |
271 | !for j=1 to $[min($regvars_cnt,$limit_regvars)] |
271 | !for j=1 to $[min($regvars_cnt,$limit_regvars)] |
272 | <div class="field box"> |
272 | <div class="field box"> |
273 | <label for="regprop$j">$(regvars_class[$j])</label> |
273 | <label for="regprop$j">$(regvars_class[$j])</label> |
274 | <input size="16" name="regprop$j" id="regprop$j" value="$(user_regprop$j)" |
274 | <input size="16" name="regprop$j" id="regprop$j" value="$(user_regprop$j)"> |
275 | </div> |
275 | </div> |
276 | !next j |
276 | !next j |
277 | !readproc adm/vfilter/listvarfilter.proc |
277 | !readproc adm/vfilter/listvarfilter.proc |
278 | !readproc adm/vfilter/uservarfilter.proc $userdef |
278 | !readproc adm/vfilter/uservarfilter.proc $userdef |
279 | !let nb=!linecnt $user_vars |
279 | !let nb=!linecnt $user_vars |
Line 300... | Line 300... | ||
300 | </div> |
300 | </div> |
301 | !endif |
301 | !endif |
302 | !if $wims_user=supervisor |
302 | !if $wims_user=supervisor |
303 | <div class="field box"> |
303 | <div class="field box"> |
304 | <label for="up_external_auth">$name_external_auth</label> |
304 | <label for="up_external_auth">$name_external_auth</label> |
305 | <input size="$inplen" name="up_external_auth" id="up_external_auth" value="$user_external_auth" |
305 | <input size="$inplen" name="up_external_auth" id="up_external_auth" value="$user_external_auth"> |
306 | !set wims_ref_class=wims_button_help float_right |
306 | !set wims_ref_class=wims_button_help float_right |
307 | !href cmd=help&special_parm=authentification $wims_name_help |
307 | !href cmd=help&special_parm=authentification $wims_name_help |
308 | </div> |
308 | </div> |
309 | !endif |
309 | !endif |
310 | 310 | ||
311 | :end |
311 | :end |
312 | !if $allowchange=yes |
312 | !if $allowchange=yes |
313 | <div class="wimscenter wimsform"> |
313 | <div class="wimscenter wimsform"> |
314 | <input type="submit" name="reg" value="$wims_name_tosave" |
314 | <input type="submit" name="reg" value="$wims_name_tosave"> |
315 | <input type="submit" name="abandon" value="$wims_name_giveup" class="wims_secondary_button" |
315 | <input type="submit" name="abandon" value="$wims_name_giveup" class="wims_secondary_button"> |
316 | </div> |
316 | </div> |
317 | !endif |
317 | !endif |
318 | </fieldset> |
318 | </fieldset> |
319 | !formend |
319 | !formend |
320 | 320 |