d4974d1cdb1e372414a5ba85f62a6e460a11db7c
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 1 year 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 1 year 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 13 years ago

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

bernd authored 13 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 13 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 5 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) }
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

32) 
Hanno Böck Spaces between string conca...

Hanno Böck authored 6 months ago

33) output(html_form('systemuser_pwchange', 'save', 'action=pwchange&uid=' . $account['uid'], '
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

34) 
35) <h5>Neues Passwort</h5>
36) <div style="margin-left: 2em;"> 
37)   <p>Geben Sie bitte Ihr neues Passwort zweimal ein. Bitte verzichten Sie auf Anführungszeichen!</p>
Hanno Böck Add autocomplete for passwo...

Hanno Böck authored 4 months ago

38)   <p><label for="newpass1">Neues Passwort für »<strong>' . $account['username'] . '</strong>«:</label> <input type="password" name="newpass1" id="newpass1" autocomplete="new-password" /></p>
39)   <p><label for="newpass2">Wiederholung des Passworts:</label> <input type="password" name="newpass2" id="newpass2" autocomplete="new-password" /></p>