fix: Corriger le header avait mis du bazar dans le pied de page... corrigé.

This commit is contained in:
Zatalyz 2023-03-03 15:17:45 +01:00
parent b661590b16
commit 4838364caf
2 changed files with 23 additions and 21 deletions

View file

@ -1194,7 +1194,7 @@ html[lang="el-GR"] .inline_mod_check {
} }
/* Set maximum width limit for content */ /* Set maximum width limit for content */
#top_section .inner_wrap, #wrapper, #footer .inner_wrap { #top_section .inner_wrap, #wrapper, #footer .inner_wrap, #footer {
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
width: 90%; width: 90%;
@ -1515,8 +1515,7 @@ font-size: large;
clear: both; clear: both;
} }
/* The footer with copyright links etc. */ /* The footer with copyright links etc. */
#footer { .footer2 {
margin: 0;
padding: 10px 0; padding: 10px 0;
background: var(--color2); background: var(--color2);
} }

View file

@ -465,30 +465,33 @@ function template_body_below()
'; ';
// Show the footer with copyright, terms and help links. // Show the footer with copyright, terms and help links.
echo ' echo '<div>
<div id="footer"> <div id="footer">
<div class="inner_wrap">'; <div class="footer2">
<div class="inner_wrap">';
echo '
<ul>
<li class="floatright"><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', (!empty($modSettings['requireAgreement'])) ? '| <a href="' . $scripturl . '?action=agreement">' . $txt['terms_and_rules'] . '</a>' : '', ' </li>
<li>';
// Insérer barre de recherche rapide quick search
echo template_quicksearch() ;
echo '
</li>
<li class="copyright">', theme_copyright(), '</li>
<li><a href="?action=.xml;type=rss">Flux RSS</a></li>
</ul>';
// Show the load time?
if ($context['show_load_time'])
echo ' echo '
<p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>'; <ul>
<li class="floatright"><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', (!empty($modSettings['requireAgreement'])) ? '| <a href="' . $scripturl . '?action=agreement">' . $txt['terms_and_rules'] . '</a>' : '', ' </li>
<li>';
// Insérer barre de recherche rapide quick search
echo template_quicksearch() ;
echo '
</li>
<li class="copyright">', theme_copyright(), '</li>
<li><a href="?action=.xml;type=rss">Flux RSS</a></li>
</ul>';
// Show the load time?
if ($context['show_load_time'])
echo '
<p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>';
echo ' echo '
</div>
</div> </div>
<div class="khbiseau_bottom_color"></div>
</div><!-- #footer --> </div><!-- #footer -->
<div class="khbiseau_bottom_color"></div>
</div><!-- #wrapper --> </div><!-- #wrapper -->
'; ';