コード例 #1
0
ファイル: domains.index.php プロジェクト: rsd/artica-1.5
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.main_cf.inc');
	include_once('ressources/class.mysql.inc');
	
	
	

	if(isset($_GET["ShowOrganizations"])){echo ShowOrganizations();exit;}
	if(isset($_GET["ajaxmenu"])){echo "<div id='orgs'>".ShowOrganizations()."</div>";exit;}
	if(isset($_GET["butadm"])){echo butadm();exit;}
	if(isset($_GET["LoadOrgPopup"])){echo LoadOrgPopup();exit;}
	if(isset($_GET["js"])){js();exit;}
	if(isset($_GET["js-pop"])){popup();exit;}
	if(isset($_GET["countdeusers"])){COUNT_DE_USERS();exit;}
	
function js(){
	if(GET_CACHED(__FILE__,__FUNCTION__,"js")){return;}
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{organizations}");
	$page=CurrentPageName();
	$html="
	var timeout=0;
	
	function LoadOrg(){
			
		$('#BodyContent').load('$page?js-pop=yes', function() {Orgfillpage();});
		//LoadWinORG('760','$page?js-pop=yes','$title');
		//setTimeout('Orgfillpage()',900);
	}
コード例 #2
0
    exit;
}
if (isset($_GET["finduser"])) {
    organization_users_find_member();
    exit;
}
if (isset($_GET["EnableApacheGroupware"])) {
    EnableApacheGroupware();
    exit;
}
if (isset($_GET["DeleteAllUsersInOu"])) {
    DeleteAllUsersInOu();
    exit;
}
if (isset($_GET["count-de-users"])) {
    COUNT_DE_USERS();
    exit;
}
js();
function js()
{
    if (isset($_GET["encoded"])) {
        $_GET["ou"] = base64_decode($_GET["ou"]);
    }
    $ou_encoded = base64_encode($_GET["ou"]);
    if (GET_CACHED(__FILE__, __FUNCTION__, "js:{$ou_encoded}")) {
        return;
    }
    $tpl = new templates();
    $user = new usersMenus();
    $ldap = new clladp();