Example #1
0
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["status"])) {
    status();
    exit;
}
if (isset($_GET["service-status"])) {
    status_service();
    exit;
}
if (isset($_GET["CLUEBRINGER_SAVE"])) {
    CLUEBRINGER_SAVE();
    exit;
}
if (isset($_GET["members"])) {
    members();
    exit;
}
if (isset($_GET["remote-users"])) {
    remote_users();
    exit;
}
if (isset($_GET["local-users"])) {
    local_users();
    exit;
}
if (isset($_GET["member-add"])) {
Example #2
0
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');

	$user=new usersMenus();
	if($user->AsPostfixAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["service-status"])){status_service();exit;}
		
	if(isset($_GET["CLUEBRINGER_SAVE"])){CLUEBRINGER_SAVE();exit;}
	
	if(isset($_GET["members"])){members();exit;}
	if(isset($_GET["remote-users"])){remote_users();exit;}
	if(isset($_GET["local-users"])){local_users();exit;}
	if(isset($_GET["member-add"])){members_add();exit;}
	if(isset($_GET["member-delete"])){members_delete();exit;}		
	
	
js();

function js(){
	
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{APP_CLUEBRINGER}");
	$page=CurrentPageName();