9a5176cea126c2204f24fcf369f13de73ac530b8
bernd webinterface => /webinterface

bernd authored 17 years ago

1) <?php
2) 
bernd IMAP/POP3 nur den usern anz...

bernd authored 16 years ago

3) require_once('include/hasaccount.php');
4) 
bernd webinterface => /webinterface

bernd authored 17 years ago

5) $role = $_SESSION['role'];
6) 
bernd IMAP/POP3 nur den usern anz...

bernd authored 16 years ago

7) if ($role & ROLE_SYSTEMUSER && (user_has_accounts() || ! user_has_vmail_domain() || user_has_regular_domain() ) )
bernd webinterface => /webinterface

bernd authored 17 years ago

8) {
bernd * Initialisierung der Sessi...

bernd authored 16 years ago

9)   $menu["imap_accounts"] = array("label" => "IMAP/POP3", "file" => "accounts.php", "weight" => 10);
bernd webinterface => /webinterface

bernd authored 17 years ago

10) }
bernd Auch mailaccounts können si...

bernd authored 16 years ago

11) elseif ($role & ROLE_MAILACCOUNT)
12) {
13)   $menu["imap_chpass"] = array("label" => "Passwort ändern", "file" => "chpass.php", "weight" => 10);
14) }
bernd webinterface => /webinterface

bernd authored 17 years ago

15) 
bernd Menü-Includes sinnvoller /...

bernd authored 16 years ago

16)