Ejemplo n.º 1
0
    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();
    exit;
}
if (isset($_GET["mailboxes"])) {
    mailbox_list();
    exit;
}
if (isset($_GET["popup-license"])) {
    popup_license();
    exit;
}
if (isset($_POST["zlicense"])) {
    save_license();
    exit;
}
js();
Ejemplo n.º 2
0
	include_once('ressources/class.cron.inc');
	
	$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');";
	
	
	
Ejemplo n.º 3
0
	include_once('ressources/class.cyrus.inc');
	include_once('ressources/class.cron.inc');
	
	$users=new usersMenus();
	if(!$users->AsPostfixAdministrator){
		$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();exit;}
	if(isset($_GET["mailboxes"])){mailbox_list();exit;}
	if(isset($_GET["popup-license"])){popup_license();exit;}
	if(isset($_POST["zlicense"])){save_license();exit;}
js();
function js(){
	$page=CurrentPageName();
	echo "$('#BodyContent').load('$page?popup=yes');";
	
	
	
}

function popup_www(){
	
	$html="