git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
984013b
Branches
Tags
master
ticket
webinterface.git
modules
index
menu.php
Ermögliche Client-Cert-Login auch für VMail-Accounts
bernd
commited
984013b
at 2012-03-05 06:19:25
menu.php
Blame
History
Raw
<?php $role = $_SESSION['role']; if ($role == ROLE_ANONYMOUS) { $menu["index_login"] = array("label" => "Login", "file" => "index", "weight" => 0); $menu["certlogin"] = array("label" => "Client-Zertifikat", "file" => "certinfo", "weight" => 10); } else { if ($role & (ROLE_SYSTEMUSER | ROLE_SUBUSER | ROLE_VMAIL_ACCOUNT)) $menu["index_cert"] = array("label" => "Client-Zertifikat", "file" => "cert", "weight" => 10, "submenu" => "index_index"); 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); } ?>