exit; } if (isset($_GET["popup-milter-behavior"])) { milter_behavior_popup(); exit; } if (isset($_GET["popup-backup-behavior"])) { backup_popup(); exit; } if (isset($_GET["enable_as_modules"])) { antispam_popup_save(); exit; } if (isset($_GET["enable_milter"])) { milter_behavior_save(); exit; } if (isset($_GET["popup-auth"])) { sasl_popup(); exit; } if (isset($_GET["popup-auth-status"])) { sasl_popup_status(); exit; } if (isset($_GET["popup-auth-mech"])) { sasl_popup_auth(); exit; } if (isset($_GET["save_auth"])) {
$usersmenus=new usersMenus(); if(!$usersmenus->AsAnAdministratorGeneric){ $tpl=new templates(); $alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('$alert');"; die(); } if(isset($_GET["js"])){popup_js();exit;} if(isset($_GET["popup"])){popup_index();exit;} if(isset($_GET["main"])){main_switch();exit;} if(isset($_GET["status"])){services_status();exit;} if(isset($_GET["popup-milter-behavior"])){milter_behavior_popup();exit;} if(isset($_GET["enable_as_modules"])){antispam_popup_save();exit;} if(isset($_GET["enable_milter"])){milter_behavior_save();exit;} if(isset($_GET["smb-status"])){services_status();exit;} die("wrong query"); function popup_js(){ if(GET_CACHED(__FILE__,__FUNCTION__,null)){return true;} $page=CurrentPageName(); $js1=file_get_contents("js/samba.js"); $js2=file_get_contents("js/json.js"); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body('{APP_SAMBA}'); $idmd='SambaIndex_';