<p><b><?php print_string("allfieldsrequired") ?></b></p>

<form action="change_password.php" method="post" name="form" id="form">
<table cellpadding="10">
<tr valign="top">
    <td><p><?php print_string("username") ?>:</p></td>
    <td><input type="text" name="username" size="25" value="<?php p($frm->username) ?>" />
    <?php formerr($err->username) ?>
    </td>
</tr>
<tr valign="top">
    <td><p><?php print_string("password") ?>:</p></td>
    <td><input type="password" name="password" size="25" value="<?php p($frm->password) ?>" />
    <?php formerr($err->password) ?>
    </td>
</tr>
<tr valign="top">
    <td><p><?php print_string("newpassword") ?>:</p></td>
    <td><input type="password" name="newpassword1" size="25" value="<?php p($frm->newpassword1) ?>" />
    <?php formerr($err->newpassword1) ?>
    </td>
</tr>
<tr valign="top">
    <td><p><?php print_string("newpassword") ?> (<?php print_string("again") ?>):</p></td>
    <td><input type="password" name="newpassword2" size="25" value="<?php p($frm->newpassword2) ?>" />
    <?php formerr($err->newpassword2) ?>
    </td>
</tr>
<tr>
    <td></td>
    <td><input type="hidden" name="id" value="<?php p($frm->id)?>" />
    <input type="submit" value="<?php print_string("changepassword") ?>" /></td>
    </tr>
  </table>
</form>
