refactor(core): intégration des modifications pour l'update vers SMF 2.1.3 #23

Merged
zatalyz merged 6 commits from main into main 2023-03-05 10:17:09 +00:00
Showing only changes of commit 37be6579f7 - Show all commits

View file

@ -216,21 +216,22 @@ echo '<div class="khbb_body">';
<a id="top" href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name_html_safe'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name_html_safe'] . '">', '</a>
</h1>';
// Sur quel compte on est co ? Ou invité.
echo '<div class="khbb_subtitle">
<div class="khbb_identity" title="">
<span class="textmenu">', $txt['hello_guest'], $context['user']['name'], '</span></a>
</div> ';
echo '
<div class="khbb_subtitle">
<div class="khbb_identity" title="">
<span class="textmenu">', $txt['hello_guest'], $context['user']['name'], '</span></a>
</div> ';
// 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 '
<div class="news">
<p>', $context['random_news_line'], '</p>
</div>
</div>';
// 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 '
<div class="news">
<p>', $context['random_news_line'], '</p>
</div>';
echo '
</div>
</div>';
echo '
<div id="wrapper">';