From 89b5bce09c2949744bc6026b1dab70fb1951d4d5 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 30 Dec 2015 12:19:46 +0100 Subject: [PATCH] Changed instruction column in event view --- .../operation/events/events.build_table.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pandora_console/operation/events/events.build_table.php b/pandora_console/operation/events/events.build_table.php index 993e2da8b0..22095076c4 100644 --- a/pandora_console/operation/events/events.build_table.php +++ b/pandora_console/operation/events/events.build_table.php @@ -514,6 +514,17 @@ foreach ($result as $event) { $data[$i] = html_print_image('images/page_white_text.png', true, array('title' => str_replace("\n","
", io_safe_output($event["warning_instructions"])))); } break; + case 'system': + if(!empty($event["critical_instructions"])) { + $data[$i] = html_print_image('images/page_white_text.png', true, array('title' => str_replace("\n","
", io_safe_output($event["critical_instructions"])))); + } + elseif(!empty($event["warning_instructions"])) { + $data[$i] = html_print_image('images/page_white_text.png', true, array('title' => str_replace("\n","
", io_safe_output($event["warning_instructions"])))); + } + elseif(!empty($event["unknown_instructions"])) { + $data[$i] = html_print_image('images/page_white_text.png', true, array('title' => str_replace("\n","
", io_safe_output($event["unknown_instructions"])))); + } + break; } if (!isset($data[$i])) {