From 37be6579f72dd4574b3504af41989b2ddaf38c46 Mon Sep 17 00:00:00 2001 From: Zatalyz Date: Fri, 3 Mar 2023 13:21:59 +0100 Subject: [PATCH] fix: fermeture d'un if et div au mauvais endroit --- khbb/index.template.php | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/khbb/index.template.php b/khbb/index.template.php index 77050a0..f0838b4 100644 --- a/khbb/index.template.php +++ b/khbb/index.template.php @@ -216,21 +216,22 @@ echo '
'; ', empty($context['header_logo_url_html_safe']) ? $context['forum_name_html_safe'] : '' . $context['forum_name_html_safe'] . '', ' '; // Sur quel compte on est co ? Ou invité. - echo '
-
- ', $txt['hello_guest'], $context['user']['name'], ' -
'; - - // les slogans ! utilisation des "news" pour cela. - // Show a random news item? (or you could pick one from news_lines...) - if (!empty($settings['enable_news']) && !empty($context['random_news_line'])) - echo ' -
-

', $context['random_news_line'], '

-
-
'; + echo ' +
+
+ ', $txt['hello_guest'], $context['user']['name'], ' +
'; + + // les slogans ! utilisation des "news" pour cela. + // Show a random news item? (or you could pick one from news_lines...) + if (!empty($settings['enable_news']) && !empty($context['random_news_line'])) + echo ' +
+

', $context['random_news_line'], '

+
'; echo ' +
'; echo '
';