2011-06-10, 03:47 PM
2011-06-10, 03:55 PM
Its in header templates, most probably in header_welcomeblock_guest template.
2011-06-10, 05:35 PM
You mean the links "Search", "Memberlist", ...?
Search this in the 'header' template:
Replace it with something like this:
Now make sure that search.gif, memberlist.gif, calendar.gif and help.gif are the images you want to use there and are located in the image/(your theme)/toplinks/ folder . If you want to use PNGs, just replace the .gif extension in the template for each image.
Search this in the 'header' template:
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
Replace it with something like this:
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="{$lang->toplinks_search}" title="{$lang->toplinks_search}" /></a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="{$lang->toplinks_memberlist}" title="{$lang->toplinks_memberlist}" /></a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="{$lang->toplinks_calendar}" title="{$lang->toplinks_calendar}" /></a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="{$lang->toplinks_help}" title="{$lang->toplinks_help}" /></a></li>
</ul>
</div>
So basically move the {$lang->xxxxx} next to the image into the alt and title attributes of the img tag.Now make sure that search.gif, memberlist.gif, calendar.gif and help.gif are the images you want to use there and are located in the image/(your theme)/toplinks/ folder . If you want to use PNGs, just replace the .gif extension in the template for each image.