Example #1
0
    exit;
}
if (isset($_GET["squidlogs-oldlogs-logs-nas"])) {
    squidoldlogs_logs_nas();
    exit;
}
if (isset($_GET["reload-sshd"])) {
    reload_sshd();
    exit;
}
if (isset($_GET["locales-gen"])) {
    locales_gen();
    exit;
}
if (isset($_GET["locales-gen-running"])) {
    locales_gen_running();
    exit;
}
if (isset($_GET["locales-gen-progress"])) {
    locales_gen_progress();
    exit;
}
if (isset($_GET["squidstats-test-nas"])) {
    squidstats_tests_nas();
    exit;
}
if (isset($_GET["execute-debian-mirror-rsync"])) {
    debian_mirror_execute_rsync();
    exit;
}
if (isset($_GET["recompile-postfix"])) {
Example #2
0
	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");
	$ZarafaCacheObjectSize=$sock->GET_INFO("ZarafaCacheObjectSize");
	$ZarafaCacheIndexedObjectSize=$sock->GET_INFO("ZarafaCacheIndexedObjectSize");