!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
!if $error!=$empty
<div class="wims_alertmsg">
!read lang/msg.phtml.$moduclass_lang
</div>
<p>
!set wims_ref_class=wims_button
!href module=home $wims_name_back2
</p>
!endif
!form reply
!if $wims_user=supervisor
!default job=user
!if $job=none
$name_passwdtype :
<ul>
!set ch_$job=checked
<li><input type="radio" name="job" $ch_user value="user"/> $name_userpasswd</li>
!if $part!=$empty and $job=part
<li><input type="radio" name="job" $ch_part value="part"/> $name_partpasswd <tt>$part</tt> ($name_warning1).</li>
!endif
<li><input type="radio" name="job" $ch_class value="class"/> $name_classpasswd ($name_warning1).</li>
</ul>
$table_header
!else
$table_header
$table_tr
<th colspan="2" align="center">
$(name_$(job)passwd)
!if $job=part
<tt>$part</tt>
!endif
<input type="hidden" name="job" value="$job"/>
</th>
</tr>
!endif
!else
<input type="hidden" name="job" value="user"/>
$table_header
!endif
!if $job=user or $job=none
$table_tr
<td align="right">$name_actualpasswd</td>
<td><input type="password" size="16" name="old"/></td>
</tr>
!endif
$table_tr
<td align="right">$name_newpasswd</td>
<td><input type="password" size="42" name="pw1"/></td>
</tr>
$table_tr
<td align="right">$name_newpasswd2</td>
<td><input type="password" size="42" name="pw2"/></td>
</tr>
$table_tr
<td colspan="2" align="center"><input type="submit" value="$wims_name_tosave"/></td>
</tr>
$table_end
<p>
<small>$name_jetable
!set wims_ref_class=wims_button_help
!href target=wims_mhelp cmd=help $wims_name_help
</small>
</p>
!formend
<p>
$name_alphanumer
!if $wims_user=supervisor
($name_emptypasswd).
!endif
</p>
!endif
!tail
!distribute item $ into job,pw1,pw2,old