6e6b6d2f074d7b478a3e6b19c3aa6df1ecdea586
bernd Systemuser-Modul hinzugefügt

bernd authored 16 years ago

1) <?php
2) 
3) require_once('session/start.php');
4) 
5) require_once('useraccounts.php');
6) 
7) require_role(ROLE_CUSTOMER);
8) 
9) 
10) $title = "System-Benutzeraccounts";
bernd Viele XHTML-Fehler korrigie...

bernd authored 16 years ago

11) $section = "systemuser_accounts";
bernd Systemuser-Modul hinzugefügt

bernd authored 16 years ago

12) 
13) $account = get_account_details($_GET['uid']);
14) 
15) output("<h3>Bearbeiten von Benutzer »{$account['username']}«</h3>");
16) 
bernd nicht mehr der user mit der...

bernd authored 16 years ago

17) if (customer_useraccount($account['uid']))
bernd Primärer Useraccount kann d...

bernd authored 16 years ago

18)   system_failure('Aus Sicherheitsgründen können Sie diesen Account nicht ändern!');
19) 
20) 
bernd eliminate .php extensions f...

bernd authored 15 years ago

21) output(html_form('systemuser_edit', 'save', 'action=edit', '
bernd Systemuser-Modul hinzugefügt

bernd authored 16 years ago

22) <table>
23) <tr><td>Benutzername:</td><td><strong>'.$account['username'].'</strong></td></tr>
24) <tr><td>richtiger Name:<br /><span style="font-size:85%;">(wenn nicht »'.$_SESSION['customerinfo']['name'].'«)</span></td><td><input type="text" name="fullname" value="'.$account['name'].'" /></td></tr>
25) <tr><td>Passwort:</td><td><input type="password" name="newpass" value="" /><br /><span style="font-size:85%;">(Bitte leer lassen um das Passwort nicht zu ändern!)</span></td></tr>
26) <tr><td>Wiederholung:</td><td><input type="password" name="newpass2" value="" /></td></tr>
27) </table>
bernd Viele XHTML-Fehler korrigie...

bernd authored 16 years ago

28) <p>
bernd Systemuser-Modul hinzugefügt

bernd authored 16 years ago

29) <input type="hidden" name="uid" value="'.$account['uid'].'" />
30) <input type="submit" name="submit" value="Speichern" />
bernd Viele XHTML-Fehler korrigie...

bernd authored 16 years ago

31) </p>