From 9587b4cc440247f4b86b1f61f432ed03f694d58f Mon Sep 17 00:00:00 2001 From: "marcos.alconada" Date: Fri, 24 May 2019 14:18:39 +0200 Subject: [PATCH] Image only for welcome message --- pandora_console/general/logon_ok.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/general/logon_ok.php b/pandora_console/general/logon_ok.php index 2db98de05e..32f0a85487 100644 --- a/pandora_console/general/logon_ok.php +++ b/pandora_console/general/logon_ok.php @@ -197,12 +197,18 @@ if (!empty($all_data)) { } foreach ($news as $article) { + $image = false; + if ($article['text'] == '<p style="text-align: center; font-size: 13px;">Hello, congratulations, if you've arrived here you already have an operational monitoring console. Remember that our forums and online documentation are available 24x7 to get you out of any trouble. You can replace this message with a personalized one at Admin tools -> Site news.</p> ') { + $image = true; + } + $text_bbdd = io_safe_output($article['text']); $text = html_entity_decode($text_bbdd); echo ''.$article['subject'].''; echo ''.__('by').' '.$article['author'].' '.ui_print_timestamp($article['timestamp'], true).' '.$comparation_suffix.''; echo ''; - if ($article['id_news'] == 1) { + $text = html_entity_decode($text_bbdd); + if ($image) { echo '
img colabora con nosotros - Support
'; }