Subversion Repositories personal-webbase

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. <?php
  2.  
  3. if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
  4.  
  5. echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'oldpwd\').focus();"', $header);
  6.  
  7. if (!isset($vonmodul)) $vonmodul = $modul;
  8. if (!isset($vonseite)) $vonseite = 'main';
  9.  
  10. echo '<h1>'.htmlentities($module_information->caption).'</h1>';
  11. echo 'Hier k&ouml;nnen Sie das Passwort f&uuml;r den Administrationsbereich &auml;ndern.<br><br>';
  12.  
  13. echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform">
  14. <input type="hidden" name="seite" value="operate">
  15. <input type="hidden" name="action" value="changepwd">
  16. <input type="hidden" name="modul" value="'.$modul.'">
  17. <input type="hidden" name="vonseite" value="'.$vonseite.'">
  18. <input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; ?>
  19.  
  20. <table cellpadding="0" cellspacing="0" border="0">
  21.         <tr>
  22.                 <td>Aktuelles Passwort:</td>
  23.                 <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
  24.                 <td><input type="password" name="oldpwd" id="oldpwd" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
  25.         </tr>
  26.         <tr>
  27.                 <td>Neues Passwort:</td>
  28.                 <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
  29.                 <td><input type="password" name="newpwd" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
  30.         </tr>
  31.         <tr>
  32.                 <td>Wiederholung:</td>
  33.                 <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
  34.                 <td><input type="password" name="newpwd2" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
  35.         </tr>
  36. </table><br>
  37.  
  38.         <input type="button" onclick="document.location.href='<?php echo $_SERVER['PHP_SELF']; ?>?modul=<?php echo $vonmodul; ?>&amp;seite=<?php echo $vonseite; ?>';" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';" value="Zur&uuml;ck">
  39.         &nbsp;&nbsp;&nbsp;
  40.         <input type="submit" value="&Auml;ndern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';">
  41.  
  42.         </form>
  43.  
  44.         <?php
  45.  
  46. echo $footer;
  47.  
  48. ?>