if (!CheckSambaUniqueRights()) { $tpl = new templates(); $ERROR_NO_PRIVS = $tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}"); echo "<H1>{$ERROR_NO_PRIVS}</H1>"; die; } if (isset($_GET["SharedFolderListJS"])) { echo SharedFolderListJS(); exit; } if (isset($_GET["main-params-js"])) { main_parameters_js(); exit; } if (isset($_GET["RestartServices"])) { restart_services(); exit; } if (isset($_GET["script"])) { popup_js(); exit; } if (isset($_GET["popup"])) { popup_page(); exit; } if (isset($_GET["SaveGeneralSettings"])) { SaveConf(); exit; } if (isset($_GET["status"])) {
if(isset($_POST["DeleteAllFolderSecu"])){folder_security_clean_priv();exit;} if(isset($_GET["main"])){main_switch();exit;} if(isset($_POST["ChangeShareNameOrg"])){folder_change_sharename();exit;} if(isset($_POST["ArticaSambaAutomAskCreation"])){main_artica_for_samba_save();exit;} if(isset($_POST["recycle_vfs"])){recycle_vfs_save();exit;} if(isset($_GET["jsaddons"])){echo jsaddons();exit;} if(!CheckSambaUniqueRights()){ $tpl=new templates(); $ERROR_NO_PRIVS=$tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}"); echo "<H1>$ERROR_NO_PRIVS</H1>";die(); } if(isset($_GET["SharedFolderListJS"])){echo SharedFolderListJS();exit;} if(isset($_GET["main-params-js"])){main_parameters_js();exit;} if(isset($_GET["RestartServices"])){restart_services();exit;} if(isset($_GET["script"])){popup_js();exit;} if(isset($_GET["popup"])){popup_page();exit;} if(isset($_GET["SaveGeneralSettings"])){SaveConf();exit;} if(isset($_GET["status"])){echo main_status();exit;} if(isset($_GET["GetTreeFolders"])){browser();exit;} if(isset($_GET["AddTreeFolders"])){AddShareFolder();exit;} if(isset($_GET["UserSecurityInfos"])){echo folder_UserSecurityInfos();exit;} if(isset($_GET["prop"])){folder_properties_switch();exit;} if(isset($_GET["SaveFolderProp"])){SaveFolderProp();exit;} if(isset($_GET["security"])){folder_security_users();exit;} if(isset($_GET["finduserandgroup"])){folder_security_users_find();exit;} if(isset($_GET["UseAVbasesSet"])){main_kav4samba_save();exit;} if(isset($_GET["kav_actions"])){main_kav4samba_save_actions();exit;} if(isset($_GET["vfs_object"])){save_folder_vfs();exit;}