Subversion Repositories personal-webbase

Rev

Go to most recent revision | 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&uuml;hrt werden.');
4
 
5
echo $header;
6
 
7
 
8
echo '<h1>'.htmlentities($module_information->caption).'</h1>';
9
        if (isset($fertig) && ($fertig))
10
        {
11
                echo 'Die &Auml;nderung wurde &uuml;bernommen.';
12
        }
13
        else
14
        {
15
                if ($wb_user_type == '0')
16
                {
17
                        echo 'In diesem Bereich k&ouml;nnen Benutzer ihr Passwort &auml;ndern bzw. das Konto l&ouml;schen, sofern der Administrator dies erlaubt.<br><br><span class="red">Diese Funktion ist im Gastzugang nicht verf&uuml;gbar.</span>';
18
                }
19
                else
20
                {
21
                        echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST">
22
<input type="hidden" name="seite" value="operate">
23
<input type="hidden" name="aktion" value="pwd_aendern">
24
<input type="hidden" name="modul" value="'.$modul.'">
25
 
26
Hier k&ouml;nnen Sie Ihr Benutzerkonto verwalten.<br><br>';
27
                        echo '<b>Passwort &auml;ndern</b><br><br>
28
 
29
<table cellspacing="0" cellpadding="2" border="0">
30
<tr>
31
        <td>Aktuelles Passwort:</td>
32
        <td><img src="designs/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>
34
</tr>
35
<tr>
36
        <td>Neues Passwort:</td>
37
        <td><img src="designs/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>
39
</tr>
40
<tr>
41
        <td>Wiederholung:</td>
42
        <td><img src="designs/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>
44
</tr>
45
</table><br>
46
 
47
<input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Passwort &auml;ndern"></form>
48
 
49
<b>Konto l&ouml;schen</b><br><br>';
50
 
51
                        if ($configuration[$modul]['allow_user_selfdelete'] == '1')
52
                        {
53
                                echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST">
54
<input type="hidden" name="seite" value="operate">
55
<input type="hidden" name="aktion" value="acc_dele">
56
<input type="hidden" name="modul" value="'.$seite.'">
57
 
58
Bitte geben Sie zum L&ouml;schen des Personal WebBase-Accounts das Wort &quot;OK&quot; in das Sicherheitsfeld ein.<br><br>
59
 
60
<table cellspacing="0" cellpadding="2" border="0">
61
<tr>
62
        <td>Aktuelles Passwort:</td>
63
        <td><img src="designs/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>
65
</tr>
66
<tr>
67
        <td>Sicherheitsfrage:</td>
68
        <td><img src="designs/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>
70
</tr>
71
</table><br><input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Konto l&ouml;schen"></form>';
72
                        }
73
                        else
74
                        {
75
                                        echo 'Information: Der Serveradministrator hat die Benutzer-Selbstl&ouml;schung deaktiviert.';
76
                                }
77
                }
78
        }
79
 
80
        echo $footer;
81
 
82
?>