Example #1
0
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_POST["ZarafaApacheEnable"])) {
    zarafa_settings_webmail_save();
    exit;
}
if (isset($_POST["ZarafaEnableServer"])) {
    zarafa_settings_server_save();
    exit;
}
if (isset($_POST["ZarafaIMAPsEnable"])) {
    zarafa_settings_imap_save();
    exit;
}
if (isset($_GET["ZarafaApachePort"])) {
    SAVE();
    exit;
}
if (isset($_GET["DbAttachConverter-popup"])) {
    DbAttachConverter_popup();
    exit;
}
if (isset($_GET["DbAttachConverterPerform"])) {
    DbAttachConverter_Perform();
    exit;
}
if (isset($_GET["popup-server"])) {
Example #2
0
	include_once('ressources/class.system.network.inc');
	
	
	
	$user=new usersMenus();
	if($user->AsMailBoxAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_POST["ZarafaApacheEnable"])){zarafa_settings_webmail_save();exit;}
	if(isset($_POST["ZarafaEnableServer"])){zarafa_settings_server_save();exit;}
	if(isset($_POST["ZarafaIMAPsEnable"])){zarafa_settings_imap_save();exit;}
	
	if(isset($_GET["ZarafaApachePort"])){SAVE();exit;}
	if(isset($_GET["DbAttachConverter-popup"])){DbAttachConverter_popup();exit;}
	if(isset($_GET["DbAttachConverterPerform"])){DbAttachConverter_Perform();exit;}
	
	if(isset($_GET["popup-server"])){zarafa_settings_server();exit;}
	if(isset($_GET["popup-imap"])){zarafa_settings_imap();exit;}
	
	
	js();
	
	
function js(){
$page=CurrentPageName();
$users=new usersMenus();