help.verua.ch/include/staff/changepasswd.inc.php
2026-01-05 08:46:20 +01:00

36 lines
1.5 KiB
PHP

<?php
if(!defined('OSTSCPINC') || !is_object($thisuser)) die('Kwaheri');
$rep=Format::htmlchars($rep);
?>
<div class="msg">Passwort &auml;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']?>">
&nbsp;<font class="error">*&nbsp;<?=$errors['password']?></font></td>
</tr>
<tr>
<td>Neues Passwort:</td>
<td>
<input type="password" name="npassword" AUTOCOMPLETE=OFF value="<?=$rep['npassword']?>">
&nbsp;<font class="error">*&nbsp;<?=$errors['npassword']?></font></td>
</tr>
<tr>
<td>Wiederholung Passwort:</td>
<td>
<input type="password" name="vpassword" AUTOCOMPLETE=OFF value="<?=$rep['vpassword']?>">
&nbsp;<font class="error">*&nbsp;<?=$errors['vpassword']?></font></td>
</tr>
<tr><td >&nbsp;</td>
<td><br/>
<input class="button" type="submit" name="submit" value="Best&auml;tigen">
<input class="button" type="reset" name="reset" value="Zur&uuml;cksetzen">
<input class="button" type="button" name="cancel" value="Abbrechen" onClick='window.location.href="profile.php"'>
</td>
</tr>
</form>
</table>