You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.0 KiB
76 lines
2.0 KiB
<table border="0" class="normal" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td colspan="2">
|
|
<?php if (isset($feedback)) echo $feedback; ?>
|
|
<?php echo $security_text; ?><br><br>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
if (isset($val->error["currentpassword"]))
|
|
{
|
|
?>
|
|
<tr>
|
|
<td class="Error" colspan="2">
|
|
<?php echo $val->error["currentpassword"]; ?>
|
|
</td>
|
|
</tr>
|
|
<?php } ?>
|
|
<tr>
|
|
<td align="right" nowrap><?php echo $security_current_password; ?>: </td>
|
|
<td ><input size="40" class="textbox" type="password" name="currentpassword" maxlength="20"></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
<?php
|
|
if (isset($val->error["newpass1"]))
|
|
{
|
|
?>
|
|
<tr>
|
|
<td class="Error" colspan="2">
|
|
<?php echo $val->error["newpass1"]; ?>
|
|
</td>
|
|
</tr>
|
|
<?php } ?>
|
|
<tr>
|
|
<td align="right" nowrap><?php echo $security_new_password; ?>: </td>
|
|
<td ><input size="40" class="textbox" type="password" name="newpass1" maxlength="20"></td>
|
|
</tr>
|
|
<?php
|
|
if (isset($val->error["newpass2"]))
|
|
{
|
|
?>
|
|
<tr>
|
|
<td class="Error" colspan="2">
|
|
<?php echo $val->error["newpass2"]; ?>
|
|
</td>
|
|
</tr>
|
|
<?php } ?>
|
|
<tr>
|
|
<td align="right" nowrap><?php echo $security_confirm_password; ?>: </td>
|
|
<td ><input size="40" class="textbox" type="password" name="newpass2" maxlength="20"></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
<tr height="25">
|
|
<td colspan="99"><?php
|
|
/*$button = new button($cmdOk, "javascript:_save('change_password', 'true')");
|
|
echo ' ';
|
|
$button = new button($cmdApply, "javascript:_save('change_password', 'false')");
|
|
echo ' ';
|
|
$button = new button($cmdClose, "javascript:document.location='".$return_to ."'");*/
|
|
|
|
$button = new button($cmdSave, "javascript:_save('change_password', 'false')");
|
|
?></td>
|
|
</tr>
|
|
</table>
|
|
<script type="text/javascript">
|
|
function _save(task, close)
|
|
{
|
|
document.forms[0].task.value = task;
|
|
document.forms[0].close.value = close;
|
|
document.forms[0].submit();
|
|
}
|
|
</script>
|
|
|
|
|