exit; } if (isset($_GET["show-content-group-js"])) { show_content_group_js(); exit; } if (isset($_GET["show-content-group"])) { show_content_group(); exit; } if (isset($_POST["DenySquidWriteConf"])) { DenySquidWriteConf(); exit; } if (isset($_POST["SQUID_CONTENT"])) { SQUID_CONTENT(); exit; } if (isset($_POST["SQUID_PORT_CONTENT"])) { SQUID_PORT_CONTENT(); exit; } if (isset($_POST["SQUID_SSL_CONTENT"])) { SQUID_SSL_CONTENT(); exit; } if (isset($_POST["SQUID_EXTERNAL_CONTENT"])) { SQUID_EXTERNAL_CONTENT(); exit; } js();
$user=new usersMenus(); if($user->AsSquidAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["acls"])){acls();exit;} if(isset($_GET["caches"])){caches();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["show-content-group-js"])){show_content_group_js();exit;} if(isset($_GET["show-content-group"])){show_content_group();exit;} if(isset($_POST["DenySquidWriteConf"])){DenySquidWriteConf();exit;} if(isset($_POST["SQUID_CONTENT"])){SQUID_CONTENT();exit;} js(); function js(){ $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{APP_SQUID}::{configuration_file}"); header("content-type: application/x-javascript"); $html="YahooWin4('1200','$page?tabs=yes','$title');"; echo $html; } function show_content_group_js(){ $page=CurrentPageName();