From e4af918174352854b0f7750b5b0d86e324ce6c80 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Wed, 23 Jan 2013 12:58:59 +0000 Subject: [PATCH] 2013-01-23 Juan Manuel Ramon * godmode/menu.php: Added erased netflow filter menu section in godmode menu. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7520 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/menu.php | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0c34657cf1..8197a1210f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-01-23 Juan Manuel Ramon + + * godmode/menu.php: Added erased netflow filter menu section in + godmode menu. + 2013-01-22 Ramon Novoa * godmode/setup/setup_netflow.php, diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 9225adae2d..fd7d3357bc 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -221,6 +221,15 @@ if (check_acl ($config['id_user'], 0, "PM")) { $menu_godmode["gsetup"]["sub"] = $sub; } +if (check_acl ($config['id_user'], 0, "AW")) { + if ($config['activate_netflow']) { + //Netflow + $menu_godmode["netf"]["text"] = __('Netflow filters'); + $menu_godmode["netf"]["sec2"] = "godmode/netflow/nf_edit"; + $menu_godmode["netf"]["id"] = "god-netflow"; + } +} + if (check_acl ($config['id_user'], 0, "DM")) { $menu_godmode["gdbman"]["text"] = __('DB maintenance'); $menu_godmode["gdbman"]["sec2"] = "godmode/db/db_main";