Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: admactanium on November 28, 2004, 04:11:25 AM

Title: new message icons on the left?
Post by: admactanium on November 28, 2004, 04:11:25 AM
hello, i'd like to move the new message icon (go to new message) to the left of the thread title. it seems so cluttered when they're after all the thread titles of varying lengths. thanks.
Title: Re: new message icons on the left?
Post by: andrea on November 28, 2004, 04:44:09 AM
Copy the file "MessageIndex.template.php" from the "default" theme directory into your custom theme directory and modify it there.
Title: Re: new message icons on the left?
Post by: [Unknown] on November 28, 2004, 04:52:52 AM
You could also flush it all the way to the right...

-[Unknown]
Title: Re: new message icons on the left?
Post by: admactanium on November 29, 2004, 02:40:03 AM
thanks again for your help. i did find the line that seems to establish the thread title and new.gif image relationship here:

<a href="', $scripturl, '?topic=', $topic['id'], '.from', $topic['newtime'], '#new"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';


but i can't figure out how to change that to move the new.gif image to the left of the title. to me $txt[302] appears to be the title. if so, it seems that new.gif should already be in front of it.
Title: Re: new message icons on the left?
Post by: [Unknown] on November 29, 2004, 02:48:02 AM
Find:

border="0" />

Replace:

border="0" style="float: left;" />

(roughly.)

-[Unknown]