fix: fermeture d'un if et div au mauvais endroit
This commit is contained in:
parent
41a9ce6f70
commit
37be6579f7
1 changed files with 14 additions and 13 deletions
|
@ -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> ';
|
||||
|
||||
// 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>';
|
||||
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>';
|
||||
|
||||
echo '
|
||||
</div>
|
||||
</div>';
|
||||
echo '
|
||||
<div id="wrapper">';
|
||||
|
|
Loading…
Reference in a new issue