Beispiel #1
0
    exit;
}
if (isset($_GET["http-safe-ports-ssl-list"])) {
    http_safe_ports_ssl_list();
    exit;
}
if (isset($_GET["http-safe-ports-ssl-add"])) {
    http_safe_ports_ssl_add();
    exit;
}
if (isset($_GET["http-safe-ports-ssl-del"])) {
    http_safe_ports_ssl_del();
    exit;
}
if (isset($_GET["allow_squid_localhost"])) {
    allow_squid_localhost_save();
    exit;
}
if (isset($_GET["request_header_max_size"])) {
    sizelimit_save();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{squid_advanced_parameters}");
    $html = "\n\tfunction SquidAVParamStart(){\n\t\tYahooWin('650','{$page}?popup=yes','{$title}');\n\t}\n\tSquidAVParamStart()";
    echo $html;
}
	
	if(isset($_GET["WCCP"])){WCCP_popup();exit;}
	if(isset($_GET["wccp2_enabled"])){WCCP_SAVE();exit;}
	
	if(isset($_GET["http-safe-ports"])){http_safe_ports_popup();exit;}
	if(isset($_GET["http-safe-ports-list"])){http_safe_ports_list();exit;}
	if(isset($_GET["http-safe-ports-add"])){http_safe_ports_add();exit;}
	if(isset($_GET["http-safe-ports-del"])){http_safe_ports_del();exit;}
	
	
	if(isset($_GET["http-safe-ports-ssl"])){http_safe_ports_ssl_popup();exit;}
	if(isset($_GET["http-safe-ports-ssl-list"])){http_safe_ports_ssl_list();exit;}
	if(isset($_GET["http-safe-ports-ssl-add"])){http_safe_ports_ssl_add();exit;}
	if(isset($_GET["http-safe-ports-ssl-del"])){http_safe_ports_ssl_del();exit;}	
	
	if(isset($_GET["allow_squid_localhost"])){allow_squid_localhost_save();exit;}
	
	if(isset($_GET["request_header_max_size"])){sizelimit_save();exit;}
	if(isset($_GET["other"])){other();exit;}
	if(isset($_POST["SquidStoreLogLogging"])){SquidStoreLogLogging_save();exit;}

	
js();

function js(){
	
	$page=CurrentPageName();
	$tpl=new templates();
	$OnLyPorts=null;
	$title=$tpl->_ENGINE_parse_body("{squid_advanced_parameters}");
	if(isset($_GET["OnLyPorts"])){$OnLyPorts="&OnLyPorts=yes&t={$_GET["t"]}";}