From 19fab5d96ba9b953ab6a55bf33e30e822308136b Mon Sep 17 00:00:00 2001 From: fermin831 Date: Tue, 28 Feb 2017 19:27:40 +0100 Subject: [PATCH] Added loaded filter name to active filters view --- pandora_console/operation/events/events_list.php | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php index 3788628657..a41ab79e51 100644 --- a/pandora_console/operation/events/events_list.php +++ b/pandora_console/operation/events/events_list.php @@ -613,19 +613,6 @@ $data[0] .= '' . html_print_image("images/load.png", true, array("border" => '0', "title" => __('Load filter'), "alt" => __('Load filter'))) . '  '; $data[0] .= '' . html_print_image('images/chart_curve.png', true, array('title' => __('Show events graph'))) . '
'; - - -if (empty($id_name)) { - $data[0] .= '
[' . - __('No filter loaded') . - ']
'; -} -else { - $data[0] .= '
[' . - __('Filter loaded') . ': ' . $id_name . - ']
'; -} - $data[0] .= ''; @@ -725,6 +712,9 @@ elseif ($group_rep == 2) { $history); } +$filter_resume['title'] = empty($id_name) + ? __('No filter loaded') + : __('Filter loaded') . ': ' . $id_name; // Active filter tag view call (only enterprise version) // It is required to pass some references to enterprise function // to translate the active filters