From ce5b5dab6635b880e00c3a8a956ffc3e62a01cc1 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Thu, 30 Mar 2017 13:23:30 +0200 Subject: [PATCH] Fixed images. Only simple images in item Agent/modules report --- .../include/functions_reporting_html.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index fa96b10c7f..f6acad7fbe 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -1379,7 +1379,8 @@ function reporting_html_agent_module($table, $item) { __("%s in %s : NORMAL", $module_name, $row['agent_name']), - true, array('width' => '20px', 'height' => '20px')); + true, array('width' => '20px', 'height' => '20px'), + 'images/status_sets/default/'); break; case AGENT_STATUS_CRITICAL: $table_data .= ui_print_status_image( @@ -1387,7 +1388,8 @@ function reporting_html_agent_module($table, $item) { __("%s in %s : CRITICAL", $module_name, $row['agent_name']), - true, array('width' => '20px', 'height' => '20px')); + true, array('width' => '20px', 'height' => '20px'), + 'images/status_sets/default/'); break; case AGENT_STATUS_WARNING: $table_data .= ui_print_status_image( @@ -1395,7 +1397,8 @@ function reporting_html_agent_module($table, $item) { __("%s in %s : WARNING", $module_name, $row['agent_name']), - true, array('width' => '20px', 'height' => '20px')); + true, array('width' => '20px', 'height' => '20px'), + 'images/status_sets/default/'); break; case AGENT_STATUS_UNKNOWN: $table_data .= ui_print_status_image( @@ -1403,7 +1406,8 @@ function reporting_html_agent_module($table, $item) { __("%s in %s : UNKNOWN", $module_name, $row['agent_name']), - true, array('width' => '20px', 'height' => '20px')); + true, array('width' => '20px', 'height' => '20px'), + 'images/status_sets/default/'); break; case AGENT_MODULE_STATUS_NORMAL_ALERT: case AGENT_MODULE_STATUS_WARNING_ALERT: @@ -1413,7 +1417,8 @@ function reporting_html_agent_module($table, $item) { __("%s in %s : ALERTS FIRED", $module_name, $row['agent_name']), - true, array('width' => '20px', 'height' => '20px')); + true, array('width' => '20px', 'height' => '20px'), + 'images/status_sets/default/'); break; case 4: $table_data .= ui_print_status_image( @@ -1421,7 +1426,8 @@ function reporting_html_agent_module($table, $item) { __("%s in %s : Not initialize", $module_name, $row['agent_name']), - true, array('width' => '20px', 'height' => '20px')); + true, array('width' => '20px', 'height' => '20px'), + 'images/status_sets/default/'); break; } $table_data .= "";