36 lines
1.5 KiB
PHP
36 lines
1.5 KiB
PHP
<?php
|
|
if(!defined('OSTSCPINC') || !is_object($thisuser)) die('Kwaheri');
|
|
$rep=Format::htmlchars($rep);
|
|
?>
|
|
<div class="msg">Passwort ändern</div>
|
|
<table width="100%" border="0" cellspacing=0 cellpadding=2>
|
|
<form action="profile.php" method="post">
|
|
<input type="hidden" name="t" value="passwd">
|
|
<input type="hidden" name="id" value="<?=$thisuser->getId()?>">
|
|
<tr>
|
|
<td width="120">Derzeitiges Passwort:</td>
|
|
<td>
|
|
<input type="password" name="password" AUTOCOMPLETE=OFF value="<?=$rep['password']?>">
|
|
<font class="error">* <?=$errors['password']?></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Neues Passwort:</td>
|
|
<td>
|
|
<input type="password" name="npassword" AUTOCOMPLETE=OFF value="<?=$rep['npassword']?>">
|
|
<font class="error">* <?=$errors['npassword']?></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Wiederholung Passwort:</td>
|
|
<td>
|
|
<input type="password" name="vpassword" AUTOCOMPLETE=OFF value="<?=$rep['vpassword']?>">
|
|
<font class="error">* <?=$errors['vpassword']?></font></td>
|
|
</tr>
|
|
<tr><td > </td>
|
|
<td><br/>
|
|
<input class="button" type="submit" name="submit" value="Bestätigen">
|
|
<input class="button" type="reset" name="reset" value="Zurücksetzen">
|
|
<input class="button" type="button" name="cancel" value="Abbrechen" onClick='window.location.href="profile.php"'>
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|