News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Adding Security Seal To Footer

Started by blackhawk10, April 01, 2023, 12:16:12 PM

Previous topic - Next topic

blackhawk10

Hi all,

I would like to add a small security seal code snippet to the footer, next to the SMF copyright text.
Can someone show me where to put it?

THX

webtiryaki

index.template.php

// Show the footer with copyright, terms and help links.
echo '
<div id="footer">
<div class="inner_wrap">';

// There is now a global "Go to top" link at the right.
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>' : '', ' | <a href="#top_section">', $txt['go_up'], ' &#9650;</a></li>
<li class="copyright">', theme_copyright(), '</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 '
</div>
</div><!-- #footer -->';

blackhawk10

Thanks, but i have no idea where to paste the code lol

DeadMan...

Quote from: blackhawk10 on April 01, 2023, 12:41:37 PMThanks, but i have no idea where to paste the code lol

Depending if want it next to, or below:

<li class="copyright">', theme_copyright(), ' | YOUR ITEM</li>
Or:

<li class="copyright">', theme_copyright(), '</li>
<li>YOUR ITEM</li>
I tell it how I see it... Don't like it? Hit Alt+F4!

blackhawk10

Thanks, I will try it. Next to the copyright would be great.

Advertisement: