Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["template-keyword-popup"])) {
    template_keyword_popup();
    exit;
}
if (isset($_GET["template-advopts-popup"])) {
    template_advopts_popup();
    exit;
}
if (isset($_GET["template-advopts-display"])) {
    template_advopts_display();
    exit;
}
if (isset($_GET["X-headers-save"])) {
    template_advopts_save();
    exit;
}
if (isset($_GET["template-attached-files-popup"])) {
    template_attach_edit();
    exit;
}
if (isset($_GET["template-attached-files-iframe"])) {
    template_attach_iframe();
    exit;
}
if (isset($_GET["template-attached-files-delete"])) {
    template_attach_delete();
    exit;
}
if (isset($_GET["template-attached-files-show"])) {
Ejemplo n.º 2
0
	if(isset($_GET["delete-template-perf"])){template_del_perform();exit;}
	
	
	if(isset($_GET["template-edit-popup"])){template_edit_popup();exit;}
	if(isset($_GET["tinymce"])){template_tinymce();exit;}
	
	
	if(isset($_GET["template-css"])){template_tinymce_css();exit;}
	if(isset($_GET["template-css-popup"])){template_css_edit();exit;}
	if(isset($_GET["template-css-save"])){template_css_save();exit;}
	
	if(isset($_GET["template-keyword-popup"])){template_keyword_popup();exit;}
	
	if(isset($_GET["template-advopts-popup"])){template_advopts_popup();exit;}
	if(isset($_GET["template-advopts-display"])){template_advopts_display();exit;}
	if(isset($_GET["X-headers-save"])){template_advopts_save();exit;}
	
	if(isset($_GET["template-attached-files-popup"])){template_attach_edit();exit;}
	if(isset($_GET["template-attached-files-iframe"])){template_attach_iframe();exit;}
	if(isset($_GET["template-attached-files-delete"])){template_attach_delete();exit;}
	if(isset($_GET["template-attached-files-show"])){echo template_attach_list($_GET["template-attached-files-show"]);exit;}
	if( isset($_POST['upload']) ){template_attach_uploaded();}
	
	
function template_edit_js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$template_title=$tpl->_ENGINE_parse_body("{template}::{$_GET["edit-template-js"]}");
	$css=$tpl->_ENGINE_parse_body("{css}::{$_GET["edit-template-js"]}");
	$keyword=$tpl->_ENGINE_parse_body("{keywords}::{$_GET["edit-template-js"]}");
	$advanced_options=$tpl->_ENGINE_parse_body("{advanced_options}::{$_GET["edit-template-js"]}");