Esempio n. 1
0
	include_once('ressources/class.mysql.inc');	
	include_once('ressources/class.ini.inc');
	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();
	
Esempio n. 2
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"])) {