SMFHacks.com
SMF Classifieds => Support => Topic started by: neilwheel on February 06, 2009, 11:56:14 am
-
Im using the RT Versatility theme and everything looks great in Firefox and Chrome. However in Internet Explorer, the right-justified strip of buttons end up stacked instead of all on one line to the right of the template. Can anyone tell me why this is and how I could go about rectifying it? A member of my forum reckons it needs to have some
<td> and </td>
tags placed in the HTML, but I haven't been able to find the appropriate lines for the buttons.
Here is a screenshot of what the template looks like in IE7 on an attachment.
Many thanks,
Neil
-
*bump* :'(
-
Try the following
Open Sources/classifieds.php
Find
function DoToolBarStrip($button_strip, $direction )
{
global $settings, $txt;
if (!empty($settings['use_tabs']))
{
template_button_strip($button_strip, $direction);
}
else
{
foreach ($button_strip as $tab)
{
/*
if (!empty($tab['is_selected']))
{
echo '
<img src="', $settings['images_url'], '/selected.gif" alt="*" /> <b><a href="', $tab['url'], '">', $tab['text'], '</a></b>';
$selected_tab = $tab;
}
else
*/
echo '
<a href="', $tab['url'], '">', $txt[$tab['text']], '</a>';
if (empty($tab['is_last']))
echo ' | ';
}
}
}
Replace with
function DoToolBarStrip($button_strip, $direction )
{
global $settings, $txt;
if (!empty($settings['use_tabs']))
{
template_button_strip($button_strip, $direction);
}
else
{
echo '<td>';
foreach ($button_strip as $tab)
{
/*
if (!empty($tab['is_selected']))
{
echo '
<img src="', $settings['images_url'], '/selected.gif" alt="*" /> <b><a href="', $tab['url'], '">', $tab['text'], '</a></b>';
$selected_tab = $tab;
}
else
*/
echo '
<a href="', $tab['url'], '">', $txt[$tab['text']], '</a>';
if (empty($tab['is_last']))
echo ' | ';
}
echo '</td>';
}
}
-
GREAT ! ;D ;D ;D ;D
Many thanks - works a treat!