git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
63a0529
Branches
Tags
master
ticket
webinterface.git
modules
index
menu.php
eliminate .php extensions for URLs
bernd
commited
63a0529
at 2008-08-08 19:32:32
menu.php
Blame
History
Raw
<?php $role = $_SESSION['role']; if ($role == ROLE_ANONYMOUS) { $menu["index_login"] = array("label" => "Login", "file" => "index", "weight" => 0); } else { if ($role & (ROLE_SYSTEMUSER | ROLE_CUSTOMER)) { $menu["index_chpass"] = array("label" => "Passwort ändern", "file" => "chpass", "weight" => 98); } $menu["index_logout"] = array("label" => "Logout", "file" => "logout", "weight" => 99); $menu["index_index"] = array("label" => "Übersicht", "file" => "index", "weight" => 0); } ?>