git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
9a5176c
Branches
Tags
master
ticket
webinterface.git
modules
imap
menu.php
IMAP/POP3 nur den usern anzeigen, die das brauchen
bernd
commited
9a5176c
at 2008-02-02 15:57:35
menu.php
Blame
History
Raw
<?php require_once('include/hasaccount.php'); $role = $_SESSION['role']; if ($role & ROLE_SYSTEMUSER && (user_has_accounts() || ! user_has_vmail_domain() || user_has_regular_domain() ) ) { $menu["imap_accounts"] = array("label" => "IMAP/POP3", "file" => "accounts.php", "weight" => 10); } elseif ($role & ROLE_MAILACCOUNT) { $menu["imap_chpass"] = array("label" => "Passwort ändern", "file" => "chpass.php", "weight" => 10); } ?>