Topic: Lock & Sticky topics logos
It looks like the following:
First, download these two images and put them in the folder where your forum is located.
Rename them to:
lock.gif : http://img71.echo.cx/img71/4403/lock6ye.gif
sticky.gif : http://img71.echo.cx/img71/1713/sticky2sl.gif
Open up viewforum.php and find:
else
{
$subject = '<a href="viewtopic.php?id='.$cur_topic['id'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>';
$icon_text = $lang_common['Closed icon'];
$item_status = 'iclosed';
}
Replace with:
else
{
$subject = '<img src="lock.gif" alt="lock"> <a href="viewtopic.php?id='.$cur_topic['id'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>';
$icon_text = $lang_common['Closed icon'];
$item_status = 'iclosed';
}
Find:
if ($cur_topic['sticky'] == '1')
{
$subject = '<span class="stickytext">'.$lang_forum['Sticky'].': </span>'.$subject;
$item_status .= ' isticky';
$icon_text .= ' '.$lang_forum['Sticky'];
}
Replace with:
if ($cur_topic['sticky'] == '1')
{
$subject = '<img src="sticky.gif" alt="sticky"> <span class="stickytext">'.$lang_forum['Sticky'].': </span>'.$subject;
$item_status .= ' isticky';
$icon_text .= ' '.$lang_forum['Sticky'];
}
Save viewforum.php and upload!
That's it you're done.
- ultime