include_once('ressources/class.users.menus.inc'); include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.milter.greylist.inc'); include_once('ressources/class.kas-filter.inc'); include_once('ressources/class.spamassassin.inc'); include_once('ressources/class.amavis.inc'); $user=new usersMenus(); if($user->AsPostfixAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["security"])){security_section();exit();} if(isset($_GET["postfix-security"])){security_postfix();exit();} tabs(); function tabs(){ $hostname=$_GET["hostname"]; $tpl=new templates(); if($hostname==null){$hostname="master";} $page=CurrentPageName(); $array["security"]='{security}';
include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.templates.inc'; include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.milter.greylist.inc'; include_once 'ressources/class.kas-filter.inc'; include_once 'ressources/class.spamassassin.inc'; include_once 'ressources/class.amavis.inc'; $user = new usersMenus(); if ($user->AsPostfixAdministrator == false) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["security"])) { security_section(); exit; } if (isset($_GET["postfix-security"])) { security_postfix(); exit; } tabs(); function tabs() { $hostname = $_GET["hostname"]; $tpl = new templates(); if ($hostname == null) { $hostname = "master"; } $page = CurrentPageName();