mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Changed instruction column in event view
This commit is contained in:
parent
0c05d6d426
commit
89e15b50e1
@ -535,6 +535,17 @@ foreach ($result as $event) {
|
||||
$data[$i] = html_print_image('images/page_white_text.png', true, array('title' => str_replace("\n","<br>", 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","<br>", 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","<br>", 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","<br>", io_safe_output($event["unknown_instructions"]))));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (!isset($data[$i])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user