modules/index/menu.php
defbfa55
 <?php
 
 $role = $_SESSION['role'];
 
ce0caaf4
 if ($role == ROLE_ANONYMOUS) {
63a0529b
   $menu["index_login"] = array("label" => "Login", "file" => "index", "weight" => 0);
ce0caaf4
 } else {
   if ($role & (ROLE_SYSTEMUSER | ROLE_CUSTOMER)) {
63a0529b
     $menu["index_chpass"] = array("label" => "Passwort ändern", "file" => "chpass", "weight" => 98);
ce0caaf4
   }
 
63a0529b
   $menu["index_logout"] = array("label" => "Logout", "file" => "logout", "weight" => 99);
   $menu["index_index"] = array("label" => "√úbersicht", "file" => "index", "weight" => 0);
defbfa55
 }
 
deedc3e3
 
defbfa55
 ?>