Пример #1
0
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.user.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["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;
}
Пример #2
0
    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"])) {