dcc202fb249a446ac15c7cf413b9f1b4a3f31b58
Bernd Wurst Verify-Funktion für Kunden-...

Bernd Wurst authored 6 years ago

modules/index/verify.php     1) <?php
modules/index/verify.php     2) /*
modules/index/verify.php     3) This file belongs to the Webinterface of schokokeks.org Hosting
modules/index/verify.php     4) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

modules/contacts/verify.php  5) Written by schokokeks.org Hosting, namely
Bernd Wurst Verify-Funktion für Kunden-...

Bernd Wurst authored 6 years ago

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

Hanno Böck authored 2 years ago

modules/contacts/verify.php  9) This code is published under a 0BSD license.
Bernd Wurst Verify-Funktion für Kunden-...

Bernd Wurst authored 6 years ago

modules/index/verify.php    10) 
modules/index/verify.php    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.
modules/index/verify.php    12) */
modules/index/verify.php    13) 
Bernd Wurst E-Mail-Adresse verifizieren...

Bernd Wurst authored 6 years ago

modules/handles/verify.php  14) require_once('verify.php');
Bernd Wurst Verify-Funktion für Kunden-...

Bernd Wurst authored 6 years ago

modules/index/verify.php    15) require_once('inc/security.php');
modules/index/verify.php    16) 
modules/index/verify.php    17) title("E-Mail-Adresse bestätigen");
Bernd Wurst Umbenennung Datenbank handl...

Bernd Wurst authored 6 years ago

modules/contacts/verify.php 18) $section = 'contacts_list';
Bernd Wurst Verify-Funktion für Kunden-...

Bernd Wurst authored 6 years ago

modules/index/verify.php    19) 
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

modules/contacts/verify.php 20) if (isset($_REQUEST['token'])) {
modules/contacts/verify.php 21)     $token = $_REQUEST['token'];
modules/contacts/verify.php 22)     $daten = verify_mail_token($token);
modules/contacts/verify.php 23)     if ($daten == null) {
modules/contacts/verify.php 24)         system_failure('Die E-Mail-Adresse konnte nicht verifiziert werden. Vielleicht ist der Link bereits abgelaufen.');
modules/contacts/verify.php 25)     } else {
modules/contacts/verify.php 26)         update_mailaddress($daten);
modules/contacts/verify.php 27)         upload_changed_contact($daten['contact']);
modules/contacts/verify.php 28)         success_msg('Die E-Mail-Adresse wurde erfolgreich geändert');
modules/contacts/verify.php 29)         header('Location: /');
modules/contacts/verify.php 30)     }