コード例 #1
0
	$user=new usersMenus();
	
	if($user->AsSquidAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}	
	
	
	
	if(isset($_GET["move-item-js"])){move_items_js();exit;}
	if(isset($_POST["move-item"])){move_items();exit;}
	if(isset($_POST["enable-item"])){enable_save();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["parent-js"])){parent_js();exit;}
	if(isset($_GET["enable-js"])){enable_js();exit;}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["edit-proxy-parent"])){parent_tab();exit;}
	if(isset($_GET["parent-delete-js"])){parent_delete_js();exit;}
	
	
	if(isset($_GET["edit-proxy-parent-popup"])){parent_config();exit;}
	if(isset($_GET["SaveParentProxy"])){parent_save();exit;}
	
	if(isset($_GET["edit-proxy-parent-optionslist"])){parent_options_table();exit;}
	
	if(isset($_GET["edit-proxy-parent-options"])){parent_options_popup();exit;}
	if(isset($_GET["edit-proxy-parent-options-explain"])){parent_options_explain();exit;}
	if(isset($_GET["extract-options"])){extract_options();exit;}
	if(isset($_POST["AddSquidParentOptionOrginal"])){construct_options();exit;}
コード例 #2
0
    exit;
}
if (isset($_POST["enable-item"])) {
    enable_save();
    exit;
}
if (isset($_GET["status"])) {
    status();
    exit;
}
if (isset($_GET["parent-js"])) {
    parent_js();
    exit;
}
if (isset($_GET["enable-js"])) {
    enable_js();
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["edit-proxy-parent"])) {
    parent_tab();
    exit;
}
if (isset($_GET["parent-delete-js"])) {
    parent_delete_js();
    exit;
}
if (isset($_GET["edit-proxy-parent-popup"])) {