354c05a4ddd678c49bcbba458bffa7d13482139a
bernd webinterface => /webinterface

bernd authored 17 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 webinterface => /webinterface

bernd authored 17 years ago

13) 
14) require_once('session/start.php');
15) 
16) require_once('inc/error.php');
17) 
Bernd Wurst Cookie-based autologin when...

Bernd Wurst authored 11 years ago

18) if (isset($_COOKIE['CLIENTCERT_AUTOLOGIN'])) {
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

19)     setcookie('CLIENTCERT_AUTOLOGIN', false, 0, '/');
Bernd Wurst Cookie-based autologin when...

Bernd Wurst authored 11 years ago

20) }
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

21) if (!session_destroy()) {
22)     logger(LOG_INFO, "modules/index/logout", "logout", "session timed out.");
23)     system_failure('Die Sitzung konnte nicht geschlossen werden, eventuell ist die Wartezeit abgelaufen und die Sitzung wurde daher schon beendet.');
bernd webinterface => /webinterface

bernd authored 17 years ago

24) }
bernd role auf anonymous setzen,...

bernd authored 14 years ago

25) $_SESSION['role'] = ROLE_ANONYMOUS;
bernd webinterface => /webinterface

bernd authored 17 years ago

26) 
bernd Logger mit Logleveln

bernd authored 14 years ago

27) logger(LOG_INFO, "modules/index/logout", "logout", "logged out");
bernd eliminate .php extensions f...

bernd authored 15 years ago

28) 
bernd Benutze überall title() sta...

bernd authored 13 years ago

29) title("Abmeldung");
bernd webinterface => /webinterface

bernd authored 17 years ago

30) output('
31) 
32) <p>Sie wurden vom System abgemeldet.</p>
33) 
Hanno Böck Spaces between string conca...

Hanno Böck authored 6 months ago

34) <p>Um sich neu anzumelden, klicken Sie bitte hier: ' . internal_link("index", "Anmeldung") . '.</p>