Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | <?php |
2 | |||
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgefü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önnen Sie das Passwort für den Administrationsbereich ä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; ?>&seite=<?php echo $vonseite; ?>';" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';" value="Zurück"> |
||
39 | |
||
40 | <input type="submit" value="Ändern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';"> |
||
41 | |||
42 | </form> |
||
43 | |||
44 | <?php |
||
45 | |||
46 | echo $footer; |
||
47 | |||
48 | ?> |