diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index e5e5a049eb..a2ea6a2e3e 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -2066,6 +2066,31 @@ function events_page_details ($event, $server = "") { } $table_details->data[] = $data; break; + case 'system': + $data = array(); + if ($event["critical_instructions"] != '') { + $data[0] = __('Instructions'); + $data[1] = str_replace("\n","
", io_safe_output($event["critical_instructions"])); + } + else { + if ($event["warning_instructions"] != '') { + $data[0] = __('Instructions'); + $data[1] = str_replace("\n","
", io_safe_output($event["warning_instructions"])); + } + else { + if ($event["unknown_instructions"] != '') { + $data[0] = __('Instructions'); + $data[1] = str_replace("\n","
", io_safe_output($event["unknown_instructions"])); + } + else { + $data[0] = __('Instructions'); + $data[1] = '' . __('N/A') . ''; + + } + } + } + $table_details->data[] = $data; + break; } $data = array();