示例#1
0
    exit;
}
if (isset($_POST["masq-save"])) {
    masq_save();
    exit;
}
if (isset($_POST["rule-delete"])) {
    rule_delete();
    exit;
}
if (isset($_GET["unlink-group-js"])) {
    unlink_group_js();
    exit;
}
if (isset($_POST["unlink-group"])) {
    unlink_group();
    exit;
}
if (isset($_POST["INOUT"])) {
    INOUT();
    exit;
}
js();
function js()
{
    header("content-type: application/x-javascript");
    $tpl = new templates();
    $page = CurrentPageName();
    $zmd5 = $_GET["zmd5"];
    $t = $_GET["tsource"];
    $eth = $_GET["eth"];
示例#2
0
include_once('ressources/class.ldap.inc');
include_once('ressources/class.users.menus.inc');
include_once('ressources/class.mysql.shorewall.inc');
include_once('ressources/class.system.nics.inc');
$usersmenus=new usersMenus();
if(!$usersmenus->AsArticaAdministrator){die();}		

if(isset($_GET["popup"])){table();exit;}
if(isset($_GET["items"])){items();exit;}
if(isset($_GET["masq-js"])){masq_js();exit;}
if(isset($_GET["masq-tabs"])){masq_tabs();exit;}
if(isset($_GET["masq-popup"])){masq_popup();exit;}
if(isset($_POST["masq-save"])){masq_save();exit;}
if(isset($_POST["rule-delete"])){rule_delete();exit;}
if(isset($_GET["unlink-group-js"])){unlink_group_js();exit;}
if(isset($_POST["unlink-group"])){unlink_group();exit;}
if(isset($_POST["INOUT"])){INOUT();exit;}



js();
function js(){
	header("content-type: application/x-javascript");
	$tpl=new templates();
	$page=CurrentPageName();
	$zmd5=$_GET["zmd5"];
	$t=$_GET["tsource"];
	$eth=$_GET["eth"];
	if($zmd5==null){$title=$tpl->javascript_parse_text("{new_role}");}
	if($zmd5<>null){
		$q=new mysql();