Skip to main content
Making a Theme Started by Burke Knight · · Read 4449 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

Re: Making a Theme

Reply #15

Code: [Select]
<div id="logobox">';
if (!empty($settings['header_logo_url']))
{
echo '
<h1 id="forumtitle">
    <a href="', $scripturl, '"><img id="logo" src="', $settings['header_logo_url'], '" alt="', $context['forum_name_html_safe'], '" title="', $context['forum_name_html_safe'], '" /></a>
</h1>';
}
else
{
echo '
<h1 id="forumtitle">
<a href="', $scripturl, '">', $context['forum_name'], '</a>
</h1>';
}
echo '
</div>', empty($settings['site_slogan']) ? '' : '';
  echo '
    <div id="siteslogan" class="bluelkslogan">' . $settings['site_slogan'] . '<br /></div>', '
   </div>';

Shows forum title now. :)
But, had to replace both, and replace $context with $settings, too. :)