From 23d36cbf5c0c7513c6744b6b6c4da683e54c3ad5 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Thu, 20 Jun 2013 09:00:44 +0000 Subject: [PATCH] 2013-06-20 Miguel de Dios * godmode/events/events.php, operation/netflow/nf_live_view.php: fixed the hook to call a enterprise function. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/events/events.php | 5 ++--- pandora_console/operation/netflow/nf_live_view.php | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 00fa4dd36f..f2e0e53612 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-06-20 Miguel de Dios + + * godmode/events/events.php, operation/netflow/nf_live_view.php: + fixed the hook to call a enterprise function. + 2013-06-20 Miguel de Dios * include/graphs/pChart/pPie.class.php, include/graphs/fgraph.php: diff --git a/pandora_console/godmode/events/events.php b/pandora_console/godmode/events/events.php index 4b31be6016..95614fcc95 100644 --- a/pandora_console/godmode/events/events.php +++ b/pandora_console/godmode/events/events.php @@ -86,7 +86,7 @@ switch ($section) { include_once($config["homedir"] . '/include/functions_events.php'); -open_meta_frame(); +enterprise_hook('open_meta_frame'); switch($section) { case 'edit_filter': @@ -103,6 +103,5 @@ switch($section) { break; } -close_meta_frame(); - +enterprise_hook('close_meta_frame'); ?> diff --git a/pandora_console/operation/netflow/nf_live_view.php b/pandora_console/operation/netflow/nf_live_view.php index ee48aa7c81..95459c3546 100644 --- a/pandora_console/operation/netflow/nf_live_view.php +++ b/pandora_console/operation/netflow/nf_live_view.php @@ -159,7 +159,7 @@ if (isset($config['netflow_disable_custom_lvfilters'])) { $netflow_disable_custom_lvfilters = $config['netflow_disable_custom_lvfilters']; } -open_meta_frame(); +enterprise_hook('open_meta_frame'); echo '
'; echo ""; @@ -381,7 +381,7 @@ if ($draw != '') { $max_aggregates, $connection_name); } -close_meta_frame(); +enterprise_hook('close_meta_frame'); ui_require_jquery_file ("ui-timepicker-addon"); ?>