Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
12 | daniel-mar | 1 | <?php |
2 | |||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
||
4 | |||
5 | if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
||
6 | |||
7 | echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'oldpwd\').focus();"', $header); |
||
8 | |||
9 | if (!isset($vonmodul)) $vonmodul = $modul; |
||
10 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
||
11 | |||
12 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
||
13 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
||
14 | echo 'Hier können Sie das Passwort für den Administrationsbereich ändern.<br><br>'; |
||
15 | |||
16 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform"> |
||
17 | <input type="hidden" name="seite" value="kraftsetzung"> |
||
18 | <input type="hidden" name="action" value="changepwd"> |
||
19 | <input type="hidden" name="modul" value="'.$modul.'"> |
||
20 | <input type="hidden" name="vonseite" value="'.$vonseite.'"> |
||
21 | <input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; ?> |
||
22 | |||
23 | <table cellpadding="0" cellspacing="0" border="0"> |
||
24 | <tr> |
||
25 | <td>Aktuelles Passwort:</td> |
||
26 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
27 | <td><input type="password" name="oldpwd" id="oldpwd" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td> |
||
28 | </tr> |
||
29 | <tr> |
||
30 | <td>Neues Passwort:</td> |
||
31 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
32 | <td><input type="password" name="newpwd" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td> |
||
33 | </tr> |
||
34 | <tr> |
||
35 | <td>Wiederholung:</td> |
||
36 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
37 | <td><input type="password" name="newpwd2" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td> |
||
38 | </tr> |
||
39 | </table><br> |
||
40 | |||
41 | <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"> |
||
42 | |
||
43 | <input type="submit" value="Ändern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';"> |
||
44 | |||
45 | </form> |
||
46 | |||
47 | <?php |
||
48 | |||
49 | echo $footer; |
||
50 | |||
51 | ?> |