2012-02-03 Dario Rodriguez <dario.rodriguez@artica.es>

* general/main_menu.php: Fixed godmode menu header visualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
darode 2012-02-03 11:01:12 +00:00
parent efad43cd74
commit ee832c31ea
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-02-03 Dario Rodriguez <dario.rodriguez@artica.es>
* general/main_menu.php: Fixed godmode menu header visualization.
2012-02-03 Junichi Satoh <junichi@rworks.jp> 2012-02-03 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_snmp_alert_custom.php: Changed title. * include/help/ja/help_snmp_alert_custom.php: Changed title.

View File

@ -23,7 +23,17 @@ if (! isset ($config["id_user"])) {
echo '<div class="tit bg">:: '.__('Operation').' ::</div>'; echo '<div class="tit bg">:: '.__('Operation').' ::</div>';
require ("operation/menu.php"); require ("operation/menu.php");
echo '<div class="tit bg3">:: '.__('Administration').' ::</div>'; //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 '<div class="tit bg3">:: '.__('Administration').' ::</div>';
}
require ("godmode/menu.php"); require ("godmode/menu.php");
require ("links_menu.php"); require ("links_menu.php");