diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d811ccb1e4..c5dced4016 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-02-03 Dario Rodriguez + + * general/main_menu.php: Fixed godmode menu header visualization. + 2012-02-03 Junichi Satoh * include/help/ja/help_snmp_alert_custom.php: Changed title. diff --git a/pandora_console/general/main_menu.php b/pandora_console/general/main_menu.php index 52ba9beaf4..8d07f137c1 100644 --- a/pandora_console/general/main_menu.php +++ b/pandora_console/general/main_menu.php @@ -23,7 +23,17 @@ if (! isset ($config["id_user"])) { echo '
:: '.__('Operation').' ::
'; require ("operation/menu.php"); -echo '
:: '.__('Administration').' ::
'; +//Check all enterprise ACL used in godmenu items to print menu headers +if (check_acl ($config['id_user'], 0, "AW") || + check_acl ($config['id_user'], 0, "PM") || + check_acl ($config['id_user'], 0, "LM") || + check_acl ($config['id_user'], 0, "UM") || + check_acl ($config['id_user'], 0, "LW") || + check_acl ($config['id_user'], 0, "IW") || + check_acl ($config['id_user'], 0, "DW")) { + echo '
:: '.__('Administration').' ::
'; +} + require ("godmode/menu.php"); require ("links_menu.php");