webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 1) <?php
|
Added license tags for CC0,...
Bernd Wurst authored 13 years ago
|
modules/index/new_customer_password.php 2) /*
modules/index/new_customer_password.php 3) This file belongs to the Webinterface of schokokeks.org Hosting
modules/index/new_customer_password.php 4)
|
Updated copyright notice (2...
Bernd Wurst authored 12 years ago
|
modules/index/new_customer_password.php 5) Written 2008-2013 by schokokeks.org Hosting, namely
|
Added license tags for CC0,...
Bernd Wurst authored 13 years ago
|
modules/index/new_customer_password.php 6) Bernd Wurst <bernd@schokokeks.org>
modules/index/new_customer_password.php 7) Hanno Böck <hanno@schokokeks.org>
modules/index/new_customer_password.php 8)
modules/index/new_customer_password.php 9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
modules/index/new_customer_password.php 10)
modules/index/new_customer_password.php 11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
modules/index/new_customer_password.php 12) http://creativecommons.org/publicdomain/zero/1.0/
modules/index/new_customer_password.php 13)
modules/index/new_customer_password.php 14) 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.
modules/index/new_customer_password.php 15) */
modules/index/new_customer_password.php 16)
|
Benutze überall title() sta...
bernd authored 14 years ago
|
modules/index/new_customer_password.php 17) title("Neues Passwort beantragen");
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 18)
modules/index/new_password.php 19) //require_once('inc/error.php');
modules/index/new_password.php 20) //system_failure("Diese Funktion ist noch nicht fertiggestellt.");
modules/index/new_password.php 21)
modules/index/new_password.php 22) if (isset($_POST['customerno']))
modules/index/new_password.php 23) {
modules/index/new_password.php 24) require_once('newpass.php');
modules/index/new_password.php 25) if (customer_has_email($_POST['customerno'], $_POST['email']))
modules/index/new_password.php 26) {
modules/index/new_password.php 27) if (create_token($_POST['customerno']))
modules/index/new_password.php 28) {
modules/index/new_password.php 29) require_once('mail.php');
|
Logging aktiviert
bernd authored 17 years ago
|
modules/index/new_password.php 30) require_once('inc/base.php');
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 31) send_customer_token($_POST['customerno']);
|
Logger mit Logleveln
bernd authored 15 years ago
|
modules/index/new_customer_password.php 32) logger(LOG_INFO, "modules/index/new_password", "pwrecovery", "token sent for customer »{$_POST['customerno']}«");
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 33) success_msg('Die angegebenen Daten waren korrekt, Sie sollten umgehend eine E-Mail erhalten.');
modules/index/new_password.php 34) }
modules/index/new_password.php 35) }
modules/index/new_password.php 36) else
modules/index/new_password.php 37) {
modules/index/new_password.php 38) input_error("Die eingegebenen Daten waren nicht korrekt. Sollten Sie nicht mehr wissen, welche E-Mail-Adresse Sie angegeben haben, wenden Sie sich bitte an einen Administrator.");
modules/index/new_password.php 39) }
modules/index/new_password.php 40) }
modules/index/new_password.php 41)
|
Benutze überall title() sta...
bernd authored 14 years ago
|
modules/index/new_customer_password.php 42) output('<p>Sofern Sie bei Ihrer Anmeldung noch kein Passwort für Ihren Kundenaccount festgelegt hatten, können Sie hier ein neues Passwort festlegen. Sie müssen dafür Ihre Kundennummer und die bei der Anmeldung angegebene E-Mail-Adresse eingeben.</p>
|
webinterface => /webinterface
bernd authored 17 years ago
|
modules/index/new_password.php 43) <p>Nach dem Ausfüllen dieses Formulars erhalten Sie eine E-Mail mit einem Link, den Sie in Ihrem Browser öffnen müssen. Dort können Sie dann ein neues Passwort eingeben.</p>
modules/index/new_password.php 44) <form action="" method="post">
modules/index/new_password.php 45) <p><span class="login_label">Kundennummer:</span> <input type="text" name="customerno" size="30" /></p>
modules/index/new_password.php 46) <p><span class="login_label">E-Mail-Adresse:</span> <input type="text" name="email" size="30" /></p>
|
Entities repariert
bernd authored 17 years ago
|
modules/index/new_password.php 47) <p><span class="login_label"> </span> <input type="submit" value="Passwort anfordern" /></p>
|