Exemplo n.º 1
0
    exit;
}
if (isset($_GET["items-date"])) {
    item_date();
    exit;
}
if (isset($_GET["GroupType-button"])) {
    GroupType_button();
    exit;
}
if (isset($_GET["dynamic-acls-infos"])) {
    Dynamic_acls_infos();
    exit;
}
if (isset($_POST["group-params"])) {
    EditGroup_params_save();
    exit;
}
page(true);
function js()
{
    header("content-type: application/x-javascript");
    $tpl = new templates();
    $page = CurrentPageName();
    if (isset($_GET["wpad"])) {
        $wpad = "&wpad=yes";
    }
    $title = $tpl->_ENGINE_parse_body("{proxy_objects}");
    $html = "YahooWin('750','{$page}?table-width=730&table-heigth=450&GroupName-width=360&GroupType-width=169&table-org={$_GET["toexplainorg"]}&ACLType={$_GET["ACLType"]}{$wpad}','{$title}')";
    echo $html;
}
Exemplo n.º 2
0

if(isset($_GET["items"])){items_js();exit;}
if(isset($_GET["items-list"])){items_list();exit;}
if(isset($_GET["AddItem-tab"])){item_tab();exit;}
if(isset($_GET["AddItem-js"])){item_popup_js();exit;}
if(isset($_GET["AddItem-popup"])){item_form();exit;}
if(isset($_GET["AddItem-import"])){item_form_import();exit;}
if(isset($_POST["item-import"])){item_import();exit;}
if(isset($_POST["item-pattern"])){item_save();exit;}
if(isset($_POST["EnableItem"])){item_enable();exit;}
if(isset($_POST["DeleteItem"])){item_delete();exit;}
if(isset($_GET["items-date"])){item_date();exit;}
if(isset($_GET["GroupType-button"])){GroupType_button();exit;}
if(isset($_GET["dynamic-acls-infos"])){Dynamic_acls_infos();exit;}
if(isset($_POST["group-params"])){EditGroup_params_save();exit;}
page(true);

function js(){
	header("content-type: application/x-javascript");
	$tpl=new templates();
	$page=CurrentPageName();
	if(isset($_GET["wpad"])){$wpad="&wpad=yes";}
	$title=$tpl->_ENGINE_parse_body("{proxy_objects}");
	$html="YahooWin('750','$page?table-width=730&table-heigth=450&GroupName-width=360&GroupType-width=169&table-org={$_GET["toexplainorg"]}&ACLType={$_GET["ACLType"]}$wpad','$title')";
	echo $html;
	
}