3ef995c2108fe77d22c0b556fb9717cb848bc48f
bernd webinterface => /webinterface

bernd authored 19 years ago

1) <?php
Hanno Böck Add newlines before comment...

Hanno Böck authored 1 year ago

2) 
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 14 years ago

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

Hanno Böck authored 3 years ago

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

Bernd Wurst authored 14 years ago

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

Hanno Böck authored 3 years ago

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

Bernd Wurst authored 14 years ago

11) 
12) 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.
13) */
bernd webinterface => /webinterface

bernd authored 19 years ago

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

Bernd Wurst authored 13 years ago

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

Hanno authored 7 years ago

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

Bernd Wurst authored 13 years ago

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

Hanno authored 7 years ago

22) if (!session_destroy()) {
23)     logger(LOG_INFO, "modules/index/logout", "logout", "session timed out.");
24)     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 19 years ago

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

bernd authored 16 years ago

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

bernd authored 19 years ago

27) 
bernd Logger mit Logleveln

bernd authored 16 years ago

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

bernd authored 17 years ago

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

bernd authored 15 years ago

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

bernd authored 19 years ago

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

Hanno Böck authored 2 years ago

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