News:

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

Main Menu

[SMF 2.0 RC2 Public] Double slashes in the default theme

Started by Sirius OCTeam, November 11, 2009, 09:50:54 PM

Previous topic - Next topic

Sirius OCTeam

Hello

In : /Themes/default/BoardIndex.template.php (and other files also....)

The images called at lines:
127;131;135;229;230;231

should be without the /

example:
<img src="', $settings['images_url'], '/', $context['theme_variant'], '/on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" />';

should be:
<img src="', $settings['images_url'], '/', $context['theme_variant'], 'on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" />';

Because of the $context['theme_variant'] we got in the HTML:
//on.png
//redirect.png
//off.png
//new_some.png
//new_none.png
//new_redirect.png

Norv

Thank you for your report. I cannot replicate it anymore in the current svn version, it looks like it was solved meanwhile.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Advertisement: