Exemplo n.º 1
0
    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;
    while (list($num, $ligne) = each($array)) {
Exemplo n.º 2
0
	$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;
	while (list ($num, $ligne) = each ($array) ){
		$tab[]="<li><a href=\"$page?$num=yes&viatabs=yes\"><span style='font-size:{$fontsize}px'>$ligne</span></a></li>\n";
	}
	$html=build_artica_tabs($tab,'main_squid_templates_skins-tabs');
	echo $html;
}