diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php
index 49007aaca1..7581f8c6cb 100644
--- a/pandora_console/include/functions_events.php
+++ b/pandora_console/include/functions_events.php
@@ -2608,22 +2608,27 @@ function events_print_type_img(
case 'going_down_critical':
case 'going_up_critical':
// This is to be backwards compatible.
- $style .= ' event_module_background_state icon_background_critical';
+ $icon = 'images/module_critical.png';
break;
case 'going_up_normal':
case 'going_down_normal':
// This is to be backwards compatible.
- $style .= ' event_module_background_state icon_background_normal';
+ // $style .= ' event_module_background_state icon_background_normal';
+ $icon = 'images/module_ok.png';
break;
case 'going_up_warning':
+ $icon = 'images/module_warning.png';
+ // $style .= ' event_module_background_state icon_background_warning';
case 'going_down_warning':
- $style .= ' event_module_background_state icon_background_warning';
+ $icon = 'images/module_warning.png';
+ // $style .= ' event_module_background_state icon_background_warning';
break;
case 'going_unknown':
- $style .= ' event_module_background_state icon_background_unknown';
+ // $style .= ' event_module_background_state icon_background_unknown';
+ $icon = 'images/module_unknown.png';
break;
case 'alert_fired':
@@ -2660,23 +2665,24 @@ function events_print_type_img(
if ($only_url) {
$output = $urlImage.'/'.$icon;
} else {
- $output .= html_print_div(
- [
- 'title' => events_print_type_description($type, true),
- 'class' => $style,
- 'style' => ((empty($icon) === false) ? 'background-image: url('.$icon.'); background-repeat: no-repeat;' : ''),
- ],
- true
- );
/*
- $output .= html_print_image(
+ $output .= html_print_div(
+ [
+ 'title' => events_print_type_description($type, true),
+ 'class' => $style,
+ 'style' => ((empty($icon) === false) ? 'background-image: url('.$icon.'); background-repeat: no-repeat;' : ''),
+ ],
+ true
+ );
+ */
+ $output .= html_print_image(
$icon,
true,
[
'title' => events_print_type_description($type, true),
'class' => $style,
]
- );*/
+ );
}
if ($return) {
@@ -2779,16 +2785,14 @@ function events_print_type_img_pdf(
break;
case 'new_agent':
- $svg = '';
+ $svg = html_print_image(
+ '/images/agent_mc.png',
+ true,
+ [
+ 'class' => 'image_status invert_filter',
+ 'title' => 'agents',
+ ]
+ );
break;
case 'configuration_change':
@@ -2803,6 +2807,18 @@ function events_print_type_img_pdf(
break;
case 'unknown':
+ break;
+
+ case 'alert_fired':
+ $svg = '';
+ break;
+
default:
$svg = '