0,0 → 1,51 |
<?php |
|
if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
|
if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
|
echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'oldpwd\').focus();"', $header); |
|
if (!isset($vonmodul)) $vonmodul = $modul; |
if (!isset($vonseite)) $vonseite = 'inhalt'; |
|
if ($modulueberschrift == '') $modulueberschrift = $modul; |
echo '<h1>'.my_htmlentities($modulueberschrift).'</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="kraftsetzung"> |
<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="design/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="design/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="design/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; |
|
?> |