Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["Zoom-js"])) {
    ZOOM_JS();
    exit;
}
if (isset($_GET["table"])) {
    table();
    exit;
}
if (isset($_GET["searchTemplates"])) {
    table_items();
    exit;
}
if (isset($_GET["TEMPLATE_TAB"])) {
    TEMPLATE_TABS();
    exit;
}
if (isset($_GET["TEMPLATE_SETTINGS"])) {
    TEMPLATE_SETTINGS();
    exit;
}
if (isset($_POST["TEMPLATE_TITLE"])) {
    TEMPLATE_SAVE();
    exit;
}
if (isset($_POST["TEMPLATE_DEFAULT"])) {
    TEMPLATE_DEFAULT_SAVE();
    exit;
}
if (isset($_GET["TEMPLATE_CONTENT"])) {
Ejemplo n.º 2
0
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.squid.templates-simple.inc');
	include_once('ressources/class.squid.inc');
	if(isset($_GET["verbose"])){$GLOBALS["VERBOSE"]=true;}
	
	$user=new usersMenus();
	if($user->AsWebStatisticsAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	if(isset($_GET["Zoom-js"])){ZOOM_JS();exit;}
	if(isset($_GET["table"])){table();exit;}
	if(isset($_GET["searchTemplates"])){table_items();exit;}
	if(isset($_GET["TEMPLATE_TAB"])){TEMPLATE_TABS();exit;}
	if(isset($_GET["TEMPLATE_SETTINGS"])){TEMPLATE_SETTINGS();exit;}
	if(isset($_POST["TEMPLATE_TITLE"])){TEMPLATE_SAVE();exit;}
	if(isset($_POST["TEMPLATE_DEFAULT"])){TEMPLATE_DEFAULT_SAVE();exit;}
	if(isset($_GET["TEMPLATE_CONTENT"])){TEMPLATE_CONTENT();exit;}
	if(isset($_GET["skin-logo"])){TEMPLATE_LOGO();exit;}
	if(isset($_POST["SquidHTTPTemplateLogoEnable"])){TEMPLATE_DEFAULT_SAVE();exit;}
	if(isset($_GET["help-js"])){helpjs();exit;}
	general_settings();
function tabs(){
	$page=CurrentPageName();
	$tpl=new templates();
	$users=new usersMenus();
	$array["general"]='{general_settings}';
	
	$fontsize=18;