Rev 12 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 14 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | echo $header; |
5 | echo $header; |
6 | 6 | ||
7 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
7 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
8 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
8 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
9 | if (isset($fertig) && ($fertig)) |
9 | if (isset($fertig) && ($fertig)) |
10 | { |
10 | { |
11 | echo 'Die Änderung wurde übernommen.'; |
11 | echo 'Die Änderung wurde übernommen.'; |
12 | } |
12 | } |
13 | else |
13 | else |
14 | { |
14 | { |
15 | if ($ib_user_type == '0') |
15 | if ($wb_user_type == '0') |
16 | { |
16 | { |
17 | echo 'In diesem Bereich können Benutzer ihr Passwort ändern bzw. das Konto löschen, sofern der Administrator dies erlaubt.<br><br><font color="#FF0000">Diese Funktion ist im Gastzugang nicht verfügbar.</font>'; |
17 | echo 'In diesem Bereich können Benutzer ihr Passwort ändern bzw. das Konto löschen, sofern der Administrator dies erlaubt.<br><br><font color="#FF0000">Diese Funktion ist im Gastzugang nicht verfügbar.</font>'; |
18 | } |
18 | } |
19 | else |
19 | else |
20 | { |
20 | { |
21 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST"> |
21 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST"> |
22 | <input type="hidden" name="seite" value="kraftsetzung"> |
22 | <input type="hidden" name="seite" value="kraftsetzung"> |
23 | <input type="hidden" name="aktion" value="pwd_aendern"> |
23 | <input type="hidden" name="aktion" value="pwd_aendern"> |
24 | <input type="hidden" name="modul" value="'.$modul.'"> |
24 | <input type="hidden" name="modul" value="'.$modul.'"> |
25 | 25 | ||
26 | Hier können Sie Ihr Benutzerkonto verwalten.<br><br>'; |
26 | Hier können Sie Ihr Benutzerkonto verwalten.<br><br>'; |
27 | echo '<b>Passwort ändern</b><br><br> |
27 | echo '<b>Passwort ändern</b><br><br> |
28 | 28 | ||
29 | <table cellspacing="0" cellpadding="2" border="0"> |
29 | <table cellspacing="0" cellpadding="2" border="0"> |
30 | <tr> |
30 | <tr> |
31 | <td>Aktuelles Passwort:</td> |
31 | <td>Aktuelles Passwort:</td> |
32 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
32 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
33 | <td><input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value=""></td> |
33 | <td><input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value=""></td> |
34 | </tr> |
34 | </tr> |
35 | <tr> |
35 | <tr> |
36 | <td>Neues Passwort:</td> |
36 | <td>Neues Passwort:</td> |
37 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
37 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
38 | <td><input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="newpwd1" value=""></td> |
38 | <td><input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="newpwd1" value=""></td> |
39 | </tr> |
39 | </tr> |
40 | <tr> |
40 | <tr> |
41 | <td>Wiederholung:</td> |
41 | <td>Wiederholung:</td> |
42 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
42 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
43 | <td><input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="newpwd2" value=""></td> |
43 | <td><input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="newpwd2" value=""></td> |
44 | </tr> |
44 | </tr> |
45 | </table><br> |
45 | </table><br> |
46 | 46 | ||
47 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Passwort ändern"></form> |
47 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Passwort ändern"></form> |
48 | 48 | ||
49 | <b>Konto löschen</b><br><br>'; |
49 | <b>Konto löschen</b><br><br>'; |
50 | 50 | ||
51 | if ($konfiguration[$modul]['allow_user_selfdelete'] == '1') |
51 | if ($konfiguration[$modul]['allow_user_selfdelete'] == '1') |
52 | { |
52 | { |
53 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST"> |
53 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST"> |
54 | <input type="hidden" name="seite" value="kraftsetzung"> |
54 | <input type="hidden" name="seite" value="kraftsetzung"> |
55 | <input type="hidden" name="aktion" value="acc_dele"> |
55 | <input type="hidden" name="aktion" value="acc_dele"> |
56 | <input type="hidden" name="modul" value="'.$seite.'"> |
56 | <input type="hidden" name="modul" value="'.$seite.'"> |
57 | 57 | ||
58 | Bitte geben Sie zum Löschen des Personal WebBase-Accounts das Wort "OK" in das Sicherheitsfeld ein.<br><br> |
58 | Bitte geben Sie zum Löschen des Personal WebBase-Accounts das Wort "OK" in das Sicherheitsfeld ein.<br><br> |
59 | 59 | ||
60 | <table cellspacing="0" cellpadding="2" border="0"> |
60 | <table cellspacing="0" cellpadding="2" border="0"> |
61 | <tr> |
61 | <tr> |
62 | <td>Aktuelles Passwort:</td> |
62 | <td>Aktuelles Passwort:</td> |
63 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
63 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
64 | <td><input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value=""></td> |
64 | <td><input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value=""></td> |
65 | </tr> |
65 | </tr> |
66 | <tr> |
66 | <tr> |
67 | <td>Sicherheitsfrage:</td> |
67 | <td>Sicherheitsfrage:</td> |
68 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
68 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
69 | <td><input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="sic" value="" maxlength="2"></td> |
69 | <td><input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="sic" value="" maxlength="2"></td> |
70 | </tr> |
70 | </tr> |
71 | </table><br><input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Konto löschen"></form>'; |
71 | </table><br><input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Konto löschen"></form>'; |
72 | } |
72 | } |
73 | else |
73 | else |
74 | { |
74 | { |
75 | echo 'Information: Der Serveradministrator hat die Benutzer-Selbstlöschung deaktiviert.'; |
75 | echo 'Information: Der Serveradministrator hat die Benutzer-Selbstlöschung deaktiviert.'; |
76 | } |
76 | } |
77 | } |
77 | } |
78 | } |
78 | } |
79 | 79 | ||
80 | echo $footer; |
80 | echo $footer; |
81 | 81 | ||
82 | ?> |
82 | ?> |
83 | 83 |