3ef995c2108fe77d22c0b556fb9717cb848bc48f
bernd webinterface => /webinterface

bernd authored 17 years ago

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

Hanno Böck authored 1 week ago

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

Bernd Wurst authored 13 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 2 years ago

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

Bernd Wurst authored 13 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 2 years ago

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

Bernd Wurst authored 13 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 17 years ago

14) 
15) $role = $_SESSION['role'];
16) 
bernd Auch mailaccounts können si...

bernd authored 17 years ago

17) if ($role == ROLE_ANONYMOUS) {
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 3 years ago

18)     $menu["index_login"] = ["label" => "Login", "file" => "index", "weight" => 0];
bernd Auch mailaccounts können si...

bernd authored 17 years ago

19) } else {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

20)     if ($role & (ROLE_SYSTEMUSER | ROLE_SUBUSER | ROLE_VMAIL_ACCOUNT)) {
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 3 years ago

21)         $menu["index_cert"] = ["label" => "Client-Zertifikat", "file" => "cert", "weight" => 10, "submenu" => "index_index"];
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

22)     }
23)     if ($role & (ROLE_SYSTEMUSER | ROLE_CUSTOMER)) {
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 3 years ago

24)         $menu["index_chpass"] = ["label" => "Passwort ändern", "file" => "chpass", "weight" => 98];
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

25)     }
26) 
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 3 years ago

27)     $menu["index_logout"] = ["label" => "Logout", "file" => "logout", "weight" => 99];
28)     $menu["index_index"] = ["label" => "Übersicht", "file" => "index", "weight" => 0];