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> <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>'; </h1>';
// Sur quel compte on est co ? Ou invité. // Sur quel compte on est co ? Ou invité.
echo '<div class="khbb_subtitle"> echo '
<div class="khbb_identity" title=""> <div class="khbb_subtitle">
<span class="textmenu">', $txt['hello_guest'], $context['user']['name'], '</span></a> <div class="khbb_identity" title="">
</div> '; <span class="textmenu">', $txt['hello_guest'], $context['user']['name'], '</span></a>
</div> ';
// les slogans ! utilisation des "news" pour cela. // les slogans ! utilisation des "news" pour cela.
// Show a random news item? (or you could pick one from news_lines...) // Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']) && !empty($context['random_news_line'])) if (!empty($settings['enable_news']) && !empty($context['random_news_line']))
echo ' echo '
<div class="news"> <div class="news">
<p>', $context['random_news_line'], '</p> <p>', $context['random_news_line'], '</p>
</div> </div>';
</div>';
echo ' echo '
</div>
</div>'; </div>';
echo ' echo '
<div id="wrapper">'; <div id="wrapper">';