modules/imap/menu.php
defbfa55
 <?php
 
9a5176ce
 require_once('include/hasaccount.php');
 
defbfa55
 $role = $_SESSION['role'];
 
9a5176ce
 if ($role & ROLE_SYSTEMUSER && (user_has_accounts() || ! user_has_vmail_domain() || user_has_regular_domain() ) )
defbfa55
 {
63a0529b
   $menu["imap_accounts"] = array("label" => "IMAP/POP3", "file" => "accounts", "weight" => 10);
defbfa55
 }
ce0caaf4
 elseif ($role & ROLE_MAILACCOUNT)
 {
63a0529b
   $menu["imap_chpass"] = array("label" => "Passwort ändern", "file" => "chpass", "weight" => 10);
ce0caaf4
 }
defbfa55
 
deedc3e3
 
defbfa55
 ?>