Exemple #1
0
	$users=new usersMenus();
	if(!$users->AsMailBoxAdministrator){
		$tpl=new templates();
		$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}	
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["popup-status"])){popup_status();exit;}
	if(isset($_GET["services-status"])){services_status();exit;}
	if(isset($_GET["popup-www"])){popup_www();exit;}
	if(isset($_GET["popup-mailbox"])){popup_mailbox_tabs();exit;}
	if(isset($_GET["popup-mailbox-section"])){popup_mailbox();exit;}
	if(isset($_GET["mailboxes"])){mailbox_list();exit;}
	if(isset($_GET["mailboxes-list"])){mailbox_items();exit;}
	if(isset($_POST["mailboxes-reload"])){mailbox_items_reload();exit;}
	if(isset($_GET["popup-license"])){popup_license();exit;}
	if(isset($_POST["ZarafaHashRebuild"])){popup_mailbox_rebuild();exit;}
	if(isset($_POST["zlicense"])){save_license();exit;}
	if(isset($_GET["zarafa-box"])){ZarafaBox();exit;}
js();
function js(){
	$page=CurrentPageName();
	if(isset($_GET["font-size"])){$fontsize="&font-size={$_GET["font-size"]}";}
	echo "$('#BodyContent').load('$page?popup=yes$fontsize');";
	
	
	
}
Exemple #2
0
    exit;
}
if (isset($_GET["popup-mailbox"])) {
    popup_mailbox_tabs();
    exit;
}
if (isset($_GET["popup-mailbox-section"])) {
    popup_mailbox();
    exit;
}
if (isset($_GET["mailboxes"])) {
    mailbox_list();
    exit;
}
if (isset($_GET["mailboxes-list"])) {
    mailbox_items();
    exit;
}
if (isset($_POST["mailboxes-reload"])) {
    mailbox_items_reload();
    exit;
}
if (isset($_GET["popup-license"])) {
    popup_license();
    exit;
}
if (isset($_POST["ZarafaHashRebuild"])) {
    popup_mailbox_rebuild();
    exit;
}
if (isset($_POST["zlicense"])) {