diff --git a/modules/monitoring/application/views/scripts/list/eventhistory.phtml b/modules/monitoring/application/views/scripts/list/eventhistory.phtml index 17205d0fd..288bb692e 100644 --- a/modules/monitoring/application/views/scripts/list/eventhistory.phtml +++ b/modules/monitoring/application/views/scripts/list/eventhistory.phtml @@ -92,7 +92,7 @@ if (! $this->compact): ?> = $this->link()->host($event->host_name, $event->host_display_name) ?>
- = empty($msg) ? '' : $this->escape($msg) ?> + = nl2br($this->createTicketLinks($this->escape($msg)), false) ?>
diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml index a44ec6489..c1c8d7fde 100644 --- a/modules/monitoring/application/views/scripts/list/services.phtml +++ b/modules/monitoring/application/views/scripts/list/services.phtml @@ -70,7 +70,7 @@ if (! $this->compact): ?> $service->host_display_name ) ) - ) ?>: + ) ?>: = $this->qlink( $service->service_display_name, $serviceLink, diff --git a/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml b/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml index 5ad6857bb..77d99f69f 100644 --- a/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml +++ b/modules/monitoring/application/views/scripts/show/components/acknowledgement.phtml @@ -46,7 +46,7 @@ $acknowledgement = $object->acknowledgement;= nl2br($this->createTicketLinks($acknowledgement->getComment()), false) ?>
+= nl2br($this->createTicketLinks($this->escape($acknowledgement->getComment())), false) ?>
= nl2br($this->createTicketLinks($this->escape($comment->comment)), false) ?>
= str_replace(array('\r\n', '\n'), '
', $this->createTicketLinks($downtime->comment)) ?>
= nl2br($this->createTicketLinks($this->escape($downtime->comment)), false) ?>