Exemplo n.º 1
0
	include_once('ressources/class.cyrus.inc');
	include_once('ressources/class.cron.inc');
	include_once('ressources/class.system.network.inc');
	
	$users=new usersMenus();
	if(!$users->AsPostfixAdministrator){
		$tpl=new templates();
		$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}	
	
	if(isset($_POST["ZarafaCacheCellSize"])){Save();exit;}
	if(isset($_POST["ZARAFA_LANG"])){ZARAFA_LANG();exit;}
	if(isset($_POST["ZarafaStoreOutside"])){ZarafaStoreOutside_save();exit;}
	if(isset($_POST["ZarafaServerSMTPIP"])){SaveZarafaNet();exit;}
	if(isset($_POST["build-locales"])){BuildLocales();exit;}
	if(isset($_GET["locales-gen-running"])){locales_gen_running();exit;}
page();


function page(){
	
	$sock=new sockets();
	$tpl=new templates();
	$users=new usersMenus();
	$memdispo=$users->MEM_TOTAL_INSTALLEE*1024;
	$page=CurrentPageName();
	
	$convert_current_attachments_text=$tpl->javascript_parse_text("{convert_current_attachments}");
	$ZarafaCacheCellSize=$sock->GET_INFO("ZarafaCacheCellSize");
Exemplo n.º 2
0
    die;
}
if (isset($_POST["ZarafaCacheCellSize"])) {
    Save();
    exit;
}
if (isset($_POST["ZARAFA_LANG"])) {
    ZARAFA_LANG();
    exit;
}
if (isset($_POST["ZarafaStoreOutside"])) {
    ZarafaStoreOutside_save();
    exit;
}
if (isset($_POST["ZarafaServerSMTPIP"])) {
    SaveZarafaNet();
    exit;
}
if (isset($_POST["build-locales"])) {
    BuildLocales();
    exit;
}
if (isset($_GET["locales-gen-running"])) {
    locales_gen_running();
    exit;
}
page();
function page()
{
    $sock = new sockets();
    $tpl = new templates();