diff --git a/admin/survey/classes/class.Notifications.php b/admin/survey/classes/class.Notifications.php index 90c2f6dff..20d057087 100644 --- a/admin/survey/classes/class.Notifications.php +++ b/admin/survey/classes/class.Notifications.php @@ -338,8 +338,13 @@ class Notifications { // Prikaz izbranega sporocila echo '
'; + echo ''.$row['title'].' ('.$row['date'].')'; - echo '

'.$row['text'].'

'; + + // Stara sporocila so brez editorja + $text = (strpos($row['text'], '\n') !== false) ? nl2br($row['text']) : $row['text']; + echo '

'.$text.'

'; + echo '
'; echo '
'; @@ -362,7 +367,9 @@ class Notifications { echo ''.$row['title'].' ('.$row['date'].')'; - echo '
'.$row['text']; + // Stara sporocila so brez editorja + $text = (strpos($row['text'], '\n') !== false) ? nl2br($row['text']) : $row['text']; + echo '
'.$text; echo ''; }