コード例 #1
0
    exit;
}
if (isset($_GET["addldap"])) {
    ad_ldap();
    exit;
}
if (isset($_GET["netadsleave-icon"])) {
    netadsleave_icon();
    exit;
}
if (isset($_GET["netads-leave-perform"])) {
    netadsleave_perform();
    exit;
}
if (isset($_GET["EnableManageUsersTroughActiveDirectory"])) {
    saveAdStrict();
    exit;
}
if (isset($_POST["EnableParamsInPhpldapAdmin"])) {
    EnableParamsInPhpldapAdminSave();
    exit;
}
if (isset($_GET["avoptions"])) {
    avoptions_form();
    exit;
}
if (isset($_POST["SambaUseBackendAD"])) {
    avoptions_save();
    exit;
}
js();
コード例 #2
0
ファイル: ad.connect.php プロジェクト: rsd/artica-1.5
	
	$users=new usersMenus();
	if(!$users->AsSystemAdministrator){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}	
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["ADSERVER"])){save();exit;}
	if(isset($_GET["net-ads-infos"])){ads_infos();exit;}
	if(isset($_GET["winbindd"])){winbindd();exit;}
	if(isset($_GET["addldap"])){ad_ldap();exit;}
	if(isset($_GET["netadsleave-icon"])){netadsleave_icon();exit;}
	if(isset($_GET["netads-leave-perform"])){netadsleave_perform();exit;}
	if(isset($_GET["EnableManageUsersTroughActiveDirectory"])){saveAdStrict();exit;}
js();

function js(){
	
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{APP_AD_CONNECT}");
	$page=CurrentPageName();
	$html="
	function AdConnectPopup(){
		YahooWin3('650','$page?popup=yes','$title')
	}
	
	AdConnectPopup();";

	echo $html;