1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-07 09:21:15 +01:00

Added alternative image capability for index forum icons

git-svn-id: file:///svn/phpbb/trunk@1048 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-09-16 16:47:43 +00:00
parent a87703788e
commit 8f7ee5f295
2 changed files with 6 additions and 8 deletions
phpBB
index.php
templates/PSO

@ -240,7 +240,7 @@ if($total_categories = $db->sql_numrows($q_categories))
if($forum_rows[$j]['forum_status'] == FORUM_LOCKED)
{
$folder_image = "<img src=\"" . $images['folder_locked'] . "\" alt=\"" . $lang['Forum_locked'] . "\" />";
$folder_image = "<img src=\"" . $images['forum_locked'] . "\" alt=\"" . $lang['Forum_locked'] . "\" />";
}
else
{
@ -270,7 +270,7 @@ if($total_categories = $db->sql_numrows($q_categories))
}
}
$folder_image = ( $unread_topics ) ? "<img src=\"" . $images['folder_new'] . "\" alt=\"" . $lang['New_posts'] . "\" />" : "<img src=\"" . $images['folder'] . "\" alt=\"" . $lang['No_new_posts'] . "\" />";
$folder_image = ( $unread_topics ) ? "<img src=\"" . $images['forum_new'] . "\" alt=\"" . $lang['New_posts'] . "\" />" : "<img src=\"" . $images['forum'] . "\" alt=\"" . $lang['No_new_posts'] . "\" />";
}
$posts = $forum_rows[$j]['forum_posts'];

@ -28,6 +28,10 @@ $images['icon_msnm'] = "images/icon_msnm.gif";
$images['icon_minipost'] = "images/icon_minipost.gif";
$images['icon_latest_reply'] = "images/icon_latest_reply.gif";
$images['forum'] = "images/folder.gif";
$images['forum_new'] = "images/folder_new.gif";
$images['forum_locked'] = "images/folder_lock.gif";
$images['folder'] = "images/folder.gif";
$images['folder_new'] = "images/folder_new.gif";
$images['folder_hot'] = "images/folder_hot.gif";
@ -86,10 +90,4 @@ $images['auth_mod'] = "";
//
$board_config['vote_graphic_length'] = 300;
//
// Default theme to use (can be blank if
// themes aren't supported by this template)
//
$template_default_theme = "PSO-Default";
?>