Remove folder icons?

Started by Fr. John, October 05, 2005, 12:01:49 PM

Previous topic - Next topic

Fr. John

Me again

Is it possible to remove the columns on the left of the post index (the one's with "hot topic" and "rating" icons) and just replace the two with one column showing "New post" and "No new post" icons?

I hope that made sense.

Fr. John

Okay, I'm pretty sure my question made sense.

HELP!

I admit being a neophyte, but please toss me a bone. :-[

061


in messageindex.template.php line 163

find
<td valign="middle" align="center" width="5%">
<img src="', $settings['images_url'], '/topic/', $topic['class'], '.gif" alt="" />
</td>
<td valign="middle" align="center" width="4%">
<img src="', $topic['first_post']['icon_url'], '" alt="" />
</td>


this is the code that show the post/topic icons...


Quote from: Fr. John on October 05, 2005, 12:01:49 PM
replace the two with one column showing "New post" and "No new post" icons?
you want newpost gif    to show there ?



find same

<td valign="middle" align="center" width="5%">
<img src="', $settings['images_url'], '/topic/', $topic['class'], '.gif" alt="" />
</td>
<td valign="middle" align="center" width="4%">
<img src="', $topic['first_post']['icon_url'], '" alt="" />
</td>
<td class="windowbg" valign="middle">
', $topic['first_post']['link'];

// Is this topic new? (assuming they are logged in!)
if ($topic['new'] && $context['user']['is_logged'])
echo '
<a href="', $topic['new_href'], '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';

echo '
<span class="smalltext">', $topic['pages'], '</span>
</td>





replace

<td valign="middle" align="center" width="4%">';
// Is this topic new? (assuming they are logged in!)
if ($topic['new'] && $context['user']['is_logged'])
echo '
<a href="', $topic['new_href'], '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';

echo '

</td>
<td class="windowbg" valign="middle">
', $topic['first_post']['link'], '


<span class="smalltext">', $topic['pages'], '</span>
</td>


line 133
find
<td width="9%" colspan="2"></td>

replace

<td width="4%" colspan="1"></td>

Advertisement: