Ejemplo n.º 1
0
    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"])) {
Ejemplo n.º 2
0
if(isset($_GET["EditGroup-events-search"])){EditGroup_events_search();exit;}
if(isset($_POST["GroupName"])){EditGroup_save();exit;}
if(isset($_POST["DeleteTimeRule"])){EditTimeRule_delete();exit;}
if(isset($_POST["EnableGroup"])){EditGroup_enable();exit;}
if(isset($_POST["DeleteGroup"])){EditGroup_delete();exit;}
if(isset($_GET["acl-dynamic-virtual-form"])){item_acldyn_member();exit;}
if(isset($_GET["dynamic-acls-params"])){item_acldyn_params();exit;}
if(isset($_GET["authenticate_ip_ttl_form"])){authenticate_ip_ttl_form();exit;}


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";}