The code that controls the icons is:
- Code: Select all
for($i = 0; $i < $topics; $i++)
{
$mar_title = $row[$i]["topic_title"];
$mar_url = $phpbb_root_path . 'viewtopic.'.$phpEx.'?'.POST_TOPIC_URL.'='.$row[$i]["topic_id"];
$mar_user = $row[$i]["username"];
$topic_unread = ($row[$i]['post_time'] > topic_last_read($row[$i]['forum_id'], $row[$i]['topic_id']));
$new = $topic_unread ? "_new" : "";
if ( $row[$i]["topic_status"] == TOPIC_LOCKED )
{
$pic = $images["folder_locked$new"];
}
else
{
switch ($row[$i]["topic_type"])
{
case POST_GLOBAL_ANNOUNCE:
$pic = $images["folder_global_announce$new"];
break;
case POST_ANNOUNCE:
$pic = $images["folder_announce$new"];
break;
case POST_STICKY:
$pic = $images["folder_sticky$new"];
break;
default:
$pic = $images["folder$new"];
}
}
I am trying to get it to show icons for hot topics also:
like this:
- Code: Select all
case POST_HOT:
$pic = $images["folder_hot$new"];
break;
But it has no effect and I cant se why?
The icons in subsilver/images is called:
folder_hot
folder_new_hot
I also created a new icon folder_hot_new but it didnt help
Suggestions much appreciated...

English |
French

