Beispiel #1
0
    exit;
}
if (isset($_GET["EnableSquidExternalLDAP"])) {
    ldap_external_auth_save();
    exit;
}
if (isset($_GET["nameserver"])) {
    dns_add();
    exit;
}
if (isset($_GET["DnsDelete"])) {
    dns_del();
    exit;
}
if (isset($_GET["enable_plugins"])) {
    plugins_save();
    exit;
}
if (isset($_GET["website_block"])) {
    url_regex_save();
    exit;
}
if (isset($_GET["website_block_delete"])) {
    url_regex_del();
    exit;
}
if (isset($_GET["force-upgrade-squid"])) {
    force_upgrade_squid();
    exit;
}
if (isset($_POST["DenyWebSiteImportPerform"])) {
Beispiel #2
0
	if(isset($_POST["EnableSquidExternalLDAP"])){ldap_external_auth_save();exit;}
	
	
	if(isset($_GET["nameserver"])){dns_add();exit();}
	if(isset($_GET["DnsDelete"])){dns_del();exit();}
	if(isset($_GET["standard_dns"])){dns_popup_index();exit;}
	if(isset($_GET["dns_cache"])){dns_popup_cache();exit;}
	
	
	
	
	
	
	
	
	if(isset($_GET["enable_plugins"])){plugins_save();exit;}
	if(isset($_GET["website_block"])){url_regex_save();exit;}
	if(isset($_GET["website_block_delete"])){url_regex_del();exit;}
	if(isset($_GET["force-upgrade-squid"])){force_upgrade_squid();exit;}
	if(isset($_POST["DenyWebSiteImportPerform"])){url_regex_popup_import_receive();exit;}
	if(isset($_GET["AllowAllNetworksInSquid"])){AllowAllNetworksInSquid_save();exit;}


	
	function network_js(){
		$page=CurrentPageName();
		$tpl=new templates();
		$your_network=$tpl->_ENGINE_parse_body("{your_network}");
		header("content-type: application/x-javascript");
		echo "				
		YahooWin2(500,'squid.network.php?popup=yes','$your_network','');