From 5b1f65685f2029aaaff937155e7a4098cc3af4f5 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Thu, 30 Mar 2017 13:36:57 +0200 Subject: [PATCH] Fixed images. Only simple images in item Agent/modules report --- .../include/functions_reporting_html.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index 596b296d3a..d3d79373db 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -1344,7 +1344,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( @@ -1352,7 +1353,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( @@ -1360,7 +1362,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( @@ -1368,7 +1371,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_STATUS_ALERT_FIRED: $table_data .= ui_print_status_image( @@ -1376,7 +1380,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; } $table_data .= "";