$users=new usersMenus();
	if(!$users->AsPostfixAdministrator){
		$tpl=new templates();
		$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}	
	
	if(isset($_GET["zarafa-orhpans-list"])){slist();exit;}
	if(isset($_POST["ZarafaStoreDelete"])){ZarafaStoreDelete();exit;}
	if(isset($_POST["ZarafaStoreLink"])){ZarafaStoreLink();exit;}
	if(isset($_POST["ZarafaStoreScan"])){ZarafaStoreScan();exit;}
	
	if(isset($_GET["ZarafaCopyToPublic-js"])){ZarafaCopyToPublic_js();exit;}
	if(isset($_GET["ZarafaCopyToPublic-popup"])){ZarafaCopyToPublic_popup();exit;}
	if(isset($_POST["ZarafaCopyToPublicPerform"])){ZarafaCopyToPublic_perform();exit;}
	if(isset($_GET["js"])){js();exit;}
popup();


function js(){
	$page=CurrentPageName();
	$tpl=new templates();	
	$title=$tpl->javascript_parse_text("{orphans}");
	$html="YahooWin5('650','$page','$title');";
	echo $html;
}


function popup(){
	
Exemple #2
0
    exit;
}
if (isset($_POST["ZarafaStoreScan"])) {
    ZarafaStoreScan();
    exit;
}
if (isset($_GET["ZarafaCopyToPublic-js"])) {
    ZarafaCopyToPublic_js();
    exit;
}
if (isset($_GET["ZarafaCopyToPublic-popup"])) {
    ZarafaCopyToPublic_popup();
    exit;
}
if (isset($_POST["ZarafaCopyToPublicPerform"])) {
    ZarafaCopyToPublic_perform();
    exit;
}
if (isset($_GET["js"])) {
    js();
    exit;
}
popup();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->javascript_parse_text("{orphans}");
    $html = "YahooWin5('650','{$page}','{$title}');";
    echo $html;
}