예제 #1
0
    exit;
}
if (isset($_POST["popup_template"])) {
    popup_template_save();
    exit;
}
if (isset($_GET["template-options"])) {
    template_options_js();
    exit;
}
if (isset($_GET["template-options-page"])) {
    template_options_page();
    exit;
}
if (isset($_GET["DansGuardianEnableUserArticaIP"])) {
    template_options_save();
    exit;
}
if (isset($_GET["dansguardian-rotate-logs"])) {
    rotate_logs();
    exit;
}
if (isset($_GET["squid-restart-js"])) {
    squid_restart_js();
    exit;
}
if (isset($_GET["squid-restart-perform"])) {
    squid_restart_perform();
    exit;
}
if (isset($_GET["rule_main"])) {
예제 #2
0
	if(isset($_GET["compile-policies-2"])){compile_policies_2();EXIT;}
	
	if(isset($_GET["popup-group-ip"])){ip_group_page();exit;}
	
	if(isset($_GET["add-address-step1"])){ip_group_wizard();exit;}
	if(isset($_GET["add-address-js"])){ip_group_js();exit;}
	if(isset($_GET["ip-group_list-rule"])){ip_group_list($_GET["ip-group_list-rule"]);exit;}
	if(isset($_GET["AddComputerToDansGuardian"])){ip_group_list_add_computer();exit;}
	
	if(isset($_GET["template"])){popup_template();exit;}
	
	
	if(isset($_POST["popup_template"])){popup_template_save();exit;}
	if(isset($_GET["template-options"])){template_options_js();exit;}
	if(isset($_GET["template-options-page"])){template_options_page();exit;}
	if(isset($_GET["DansGuardianEnableUserArticaIP"])){template_options_save();exit;}
	if(isset($_GET["dansguardian-rotate-logs"])){rotate_logs();exit;}
	if(isset($_GET["squid-restart-js"])){squid_restart_js();exit;}
	if(isset($_GET["squid-restart-perform"])){squid_restart_perform();exit;}
	
	
	if(isset($_GET["rule_main"])){main_rules_switch();exit;}
	
	
	
function squid_restart_js(){
$page=CurrentPageName();

$html="
	var x_squid_restart_start= function (obj) {
		var res=obj.responseText;