!if $(module_title_$moduclass_lang)!=$empty
!set module_title=$(module_title_$moduclass_lang)
!endif
!read adm/class/class.lang names.phtml
!read adm/css.phtml
!header1
!read adm/class/classname.phtml $wims_classname\
$wims_institutionname
!read adm/title.phtml 1\
$classname\
$module_title
!set wims_menu_items=!append line SE_config,1,module=adm/class/config to $wims_menu_items
!if $error!=$empty
<div class="wims_msg alert">
!read lang/msg.phtml.$moduclass_lang
</div>
!set wims_ref_class=wims_button
<p class="wimscenter">
!href module=home $wims_name_back2
</p>
!endif
!form reply
!if $wims_user=supervisor
!default job=user
!if $job=none
!set ch_$job=checked
<fieldset class="property_fields halfwidth blockcenter">
<legend>$wims_name_Password</legend>
<div class="field box">
$name_passwdtype
<br />
<input type="radio" name="job" $ch_user value="user" id="job" />
<label for="job2">$name_userpasswd</label>
!if $part!=$empty and $job=part
<br />
<input type="radio" name="job" $ch_part value="part" id="job2" />
<label for="job2">$name_partpasswd</label>
<div class="formHelp"><span class="tt">$part</span> ($name_warning1)</div>
!endif
<br />
<input type="radio" name="job" $ch_class value="class" id="job3" />
<label for="job3">$name_classpasswd</label>
<div class="formHelp">$name_warning1.</div>
</div>
!else
<fieldset class="property_fields halfwidth blockcenter">
<legend>
!if $class_type>0 and $job=class
$(name_$(job)passwdt)
!else
$(name_$(job)passwdt)
!if $job=part
<span class="tt">$part</span>
!endif
!endif
</legend>
<input type="hidden" name="job" value="$job" />
!endif
!else
<input type="hidden" name="job" value="user" />
<fieldset class="property_fields halfwidth blockcenter">
!endif
!if $job=user or $job=none
<div class="field box">
<label for="old">$name_actualpasswd</label>
<input type="password" size="16" name="old" id="old" />
</div>
!endif
<div class="field box">
<label for="pw1">$name_newpasswd</label>
<input type="password" size="16" name="pw1" id="pw1" required="required"/>
</div>
<div class="field box">
<label for="pw2">$name_newpasswd2</label>
<input type="password" size="16" name="pw2" id="pw2" required="required"/>
</div>
<div class="wimscenter wimsform">
<input type="submit" value="$wims_name_tosave" />
!set wims_ref_class=wims_button wims_secondary_button
!href module=home $wims_name_giveup
</div>
</fieldset>
<p class="small">$name_jetable
!set wims_ref_class=wims_button_help
!href target=wims_mhelp cmd=help $wims_name_help
</p>
!formend
<p>
$name_alphanumer
!if $wims_user=supervisor
($name_emptypasswd).
!endif
</p>
!endif
!tail
!distribute item $ into job,pw1,pw2,old