exit;
}
if (isset($_GET["ajax-tabs"])) {
    ajax_tabs();
    exit;
}
if (isset($_GET["message_size_limit"])) {
    save();
    exit;
}
if (isset($_GET["PostfixNotifyMessagesRestrictions"])) {
    PostfixNotifyMessagesRestrictions_save();
    exit;
}
if (isset($_GET["ArticaPolicyFilterMaxRCPTInternalDomainsOnly"])) {
    ArticaPolicyFilterMaxRCPTInternalDomainsOnly_save();
    exit;
}
function ajax_js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body('{messages_restriction}');
    $html = "\n\tvar x='{$x}';\n\t{$datas}\n\tfunction LoadMain(){\n\t\tYahooWinS(650,'{$page}?ajax-tabs=yes','{$title}');\n\t}\n\t\n\t\n\t\t\n\tLoadMain();\n\t\n\t";
    echo $html;
}
function ajax_tabs()
{
    $page = CurrentPageName();
    $tpl = new templates();
    if (!isset($_GET["hostname"])) {
<?php
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.main_cf.inc');
	$usersmenus=new usersMenus();
if($usersmenus->AsPostfixAdministrator==false){header('location:users.index.php');exit;}


		if(isset($_GET["script"])){ajax_js();exit;}
		if(isset($_GET["ajax-pop"])){ajax_pop();exit;}
		if(isset($_GET["message_size_limit"])){save();exit;}
		if(isset($_GET["PostfixNotifyMessagesRestrictions"])){PostfixNotifyMessagesRestrictions_save();exit;}
		if(isset($_GET["ArticaPolicyFilterMaxRCPTInternalDomainsOnly"])){ArticaPolicyFilterMaxRCPTInternalDomainsOnly_save();exit;}
		
		
		

function ajax_js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body('{messages_restriction}');
	$html="
	var x='$x';
	$datas
	function LoadMain(){
		YahooWinS(550,'$page?ajax-pop=yes','$title');
	}