git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
8d3da69
Branches
Tags
master
ticket
webinterface.git
modules
email
menu.php
Großer VMail-move
bernd
commited
8d3da69
at 2008-04-03 10:38:22
menu.php
Blame
History
Raw
<?php $role = $_SESSION['role']; require_once('include/hasdomain.php'); require_once('include/hasaccount.php'); if ($role & ROLE_SYSTEMUSER) { $menu["email_vmail"] = array("label" => "E-Mail", "file" => "vmail.php", "weight" => 3); } if ($role & (ROLE_VMAIL_ACCOUNT | ROLE_MAILACCOUNT)) { $menu['email_chpass'] = array("label" => "Passwort ändern", "file" => "chpass.php", "weight" => 15); } if ($role & ROLE_SYSTEMUSER) { $menu["email_domains"] = array("label" => "Mail-Verwaltung", "file" => "domains.php", "weight" => 2, "submenu" => "domains_domains"); } if ($role & ROLE_SYSTEMUSER && (user_has_accounts() || ! user_has_vmail_domain() || user_has_regular_domain() ) ) { $menu["email_imap"] = array("label" => "IMAP/POP3", "file" => "imap.php", "weight" => 10, 'submenu' => "email_vmail"); } ?>