Beispiel #1
0
    exit;
}
if (isset($_GET["Status"])) {
    echo Status($_GET["Status"]);
    exit;
}
if (isset($_GET["checkrights"])) {
    checkrights();
    exit;
}
if (isset($_GET["CreateMBX"])) {
    CreateMBX();
    exit;
}
if (isset($_GET["MBXSetACL"])) {
    MBXSetACL();
    exit;
}
if (isset($_GET["MBXSubscribe"])) {
    MBXSubscribe();
    exit;
}
if (isset($_GET["StatusFailed"])) {
    StatusFailed();
    exit;
}
js();
//error_creating_mailbox
function js()
{
    $page = CurrentPageName();
	include_once(dirname(__FILE__). "/ressources/class.cyrus.inc");

	$usr=new usersMenus();
	
	
	if($usr->AsMailBoxAdministrator==false){
		$tpl=new Templates();
		echo "alert('".$tpl->javascript_parse_text('{ERROR_NO_PRIVS}')."');";
		die();
	}	
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["Status"])){echo Status($_GET["Status"]);exit;}
	if(isset($_GET["checkrights"])){checkrights();exit;}
	if(isset($_GET["CreateMBX"])){CreateMBX();exit;}
	if(isset($_GET["MBXSetACL"])){MBXSetACL();exit;}
	if(isset($_GET["MBXSubscribe"])){MBXSubscribe();exit;}
	if(isset($_GET["StatusFailed"])){StatusFailed();exit;}
	
	
js();

//error_creating_mailbox
function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$uid=$_GET["uid"];
	$title=$tpl->_ENGINE_parse_body('{mailbox_main_settings}');
	$html="
	
	function LoadMBXInterface(){