Пример #1
0
    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"])) {
Пример #2
0
	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;}
	if(isset($_GET["upload"])){main_kav4samba_upload_licence();exit;}
	
	if(isset($_GET["neighborhood"])){neighborhood_index();exit;}
	if(isset($_GET["neighborhood-save"])){neighborhood_save();exit;}
	
	if(isset($_GET["DomainAdmin"])){DomainAdmin_index();exit;}
	if(isset($_GET["domain-admin-save"])){DomainAdmin_save();exit;}