dcc202fb249a446ac15c7cf413b9f1b4a3f31b58
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

5) Written by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

6)   Bernd Wurst <bernd@schokokeks.org>
7)   Hanno Böck <hanno@schokokeks.org>
8) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

9) This code is published under a 0BSD license.
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

10) 
11) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
12) */
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

13) 
14) require_once('inc/base.php');
15) 
16) require_once('useraccounts.php');
17) 
18) require_role(ROLE_CUSTOMER);
19) 
20) 
bernd Benutze überall title() sta...

bernd authored 14 years ago

21) title("Passwort neu setzen");
bernd Systemuser-Modul sollte übe...

bernd authored 14 years ago

22) $section = "systemuser_account";
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

23) 
24) $account = get_account_details($_GET['uid']);
25) 
26) 
bernd Benutze überall title() sta...

bernd authored 14 years ago

27) headline("Rücksetzen des Passworts für Benutzer »{$account['username']}«");
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

28) 
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

29) if (customer_useraccount($account['uid'])) {
30)     system_failure('Zum Ändern des Passwortes für den Hauptbenutzer verwenden Sie bitte die entsprechende Funktion im Hauptmenü!');
31) }