984013bcb4e9c0a81917df0cb7a614a618fa0074
bernd webinterface => /webinterface

bernd authored 17 years ago

1) <?php
2) 
3) $role = $_SESSION['role'];
4) 
bernd Auch mailaccounts können si...

bernd authored 17 years ago

5) if ($role == ROLE_ANONYMOUS) {
bernd eliminate .php extensions f...

bernd authored 16 years ago

6)   $menu["index_login"] = array("label" => "Login", "file" => "index", "weight" => 0);
bernd Menü-Einträge nicht gleich...

bernd authored 14 years ago

7)   $menu["certlogin"] = array("label" => "Client-Zertifikat", "file" => "certinfo", "weight" => 10);
bernd Auch mailaccounts können si...

bernd authored 17 years ago

8) } else {
bernd Ermögliche Client-Cert-Logi...

bernd authored 12 years ago

9)   if ($role & (ROLE_SYSTEMUSER | ROLE_SUBUSER | ROLE_VMAIL_ACCOUNT))
bernd Menü-Einträge nicht gleich...

bernd authored 14 years ago

10)     $menu["index_cert"] = array("label" => "Client-Zertifikat", "file" => "cert", "weight" => 10, "submenu" => "index_index");
bernd Passwort-Ändern geht jetzt...

bernd authored 14 years ago

11)   if ($role & (ROLE_SYSTEMUSER | ROLE_CUSTOMER)) {
bernd eliminate .php extensions f...

bernd authored 16 years ago

12)     $menu["index_chpass"] = array("label" => "Passwort ändern", "file" => "chpass", "weight" => 98);
bernd Auch mailaccounts können si...

bernd authored 17 years ago

13)   }
14) 
bernd eliminate .php extensions f...

bernd authored 16 years ago

15)   $menu["index_logout"] = array("label" => "Logout", "file" => "logout", "weight" => 99);
16)   $menu["index_index"] = array("label" => "Übersicht", "file" => "index", "weight" => 0);
bernd webinterface => /webinterface

bernd authored 17 years ago

17) }
18) 
bernd Menü-Includes sinnvoller /...

bernd authored 17 years ago

19)