<?php
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.');
echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'oldpwd\').focus();"', $header);
if (!isset($vonmodul)) $vonmodul = $modul;
if (!isset($vonseite)) $vonseite = 'main';
echo '<h1>'.htmlentities($module_information->caption).'</h1>';
echo 'Hier können Sie das Passwort für den Administrationsbereich ändern.<br><br>';
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform">
<input type="hidden" name="seite" value="operate">
<input type="hidden" name="action" value="changepwd">
<input type="hidden" name="modul" value="'.$modul.'">
<input type="hidden" name="vonseite" value="'.$vonseite.'">
<input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; ?>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>Aktuelles Passwort:</td>
<td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
<td><input type="password" name="oldpwd" id="oldpwd" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
</tr>
<tr>
<td>Neues Passwort:</td>
<td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
<td><input type="password" name="newpwd" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
</tr>
<tr>
<td>Wiederholung:</td>
<td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
<td><input type="password" name="newpwd2" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
</tr>
</table><br>
<input type="button" onclick="document.location.href='<?php echo $_SERVER['PHP_SELF']; ?>?modul=<?php echo $vonmodul; ?>&seite=<?php echo $vonseite; ?>';" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';" value="Zurück">
<input type="submit" value="Ändern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';">
</form>
<?php
echo $footer;
?>