Пример #1
0
		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');";
	
	
	
}

function popup_www(){
	
	$html="
	<div id='zarafa-inline-config'></div>
	<script>
Пример #2
0
    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}');";
}
function popup_www()
{
    $html = "\n\t<div id='zarafa-inline-config'></div>\n\t<script>\n\t\tLoadjs('zarafa.web.php?in-line=yes');\n\t</script>\n\t";
    echo $html;