git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
ce0caaf
Branches
Tags
master
ticket
webinterface.git
modules
index
menu.php
Auch mailaccounts können sich einloggen
bernd
commited
ce0caaf
at 2007-08-13 13:15:55
menu.php
Blame
History
Raw
<?php $menu = array(); $role = $_SESSION['role']; if ($role == ROLE_ANONYMOUS) { $menu["index_login"] = array("label" => "Login", "file" => "index.php", "weight" => 0); } else { if ($role & (ROLE_SYSTEMUSER | ROLE_CUSTOMER)) { $menu["index_chpass"] = array("label" => "Passwort ändern", "file" => "chpass.php", "weight" => 98); } $menu["index_logout"] = array("label" => "Logout", "file" => "logout.php", "weight" => 99); $menu["index_index"] = array("label" => "Übersicht", "file" => "index.php", "weight" => 0); } if (empty($menu)) $menu = false; ?>