exit; } if (isset($_POST["ZarafaIMAPsEnable"])) { zarafa_settings_imap_save(); exit; } if (isset($_GET["ZarafaApachePort"])) { SAVE(); exit; } if (isset($_GET["DbAttachConverter-popup"])) { DbAttachConverter_popup(); exit; } if (isset($_GET["DbAttachConverterPerform"])) { DbAttachConverter_Perform(); exit; } if (isset($_GET["popup-server"])) { zarafa_settings_server(); exit; } if (isset($_GET["popup-imap"])) { zarafa_settings_imap(); exit; } js(); function js() { $page = CurrentPageName(); $users = new usersMenus();
$user=new usersMenus(); if($user->AsMailBoxAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_POST["ZarafaApacheEnable"])){zarafa_settings_webmail_save();exit;} if(isset($_POST["ZarafaEnableServer"])){zarafa_settings_server_save();exit;} if(isset($_POST["ZarafaIMAPsEnable"])){zarafa_settings_imap_save();exit;} if(isset($_GET["ZarafaApachePort"])){SAVE();exit;} if(isset($_GET["DbAttachConverter-popup"])){DbAttachConverter_popup();exit;} if(isset($_GET["DbAttachConverterPerform"])){DbAttachConverter_Perform();exit;} if(isset($_GET["popup-server"])){zarafa_settings_server();exit;} if(isset($_GET["popup-imap"])){zarafa_settings_imap();exit;} js(); function js(){ $page=CurrentPageName(); $users=new usersMenus(); $tpl=new templates(); $start="APP_ZARAFA_WEB()"; if(isset($_GET["in-line"])){$start="APP_ZARAFA_WEB_INLINE()";} $title=$tpl->_ENGINE_parse_body('{APP_ZARAFA_WEB}');