Index: modules/forum/forum-icon.tpl.php =================================================================== RCS file: /cvs/drupal/drupal/modules/forum/forum-icon.tpl.php,v retrieving revision 1.6 diff -u -r1.6 forum-icon.tpl.php --- modules/forum/forum-icon.tpl.php 9 Oct 2009 00:59:59 -0000 1.6 +++ modules/forum/forum-icon.tpl.php 7 Aug 2010 02:22:09 -0000 @@ -14,12 +14,14 @@ * @see theme_forum_icon() */ ?> +
- "misc/forum-$icon.png")) ?> + +
\ No newline at end of file Index: modules/forum/forum.module =================================================================== RCS file: /cvs/drupal/drupal/modules/forum/forum.module,v retrieving revision 1.571 diff -u -r1.571 forum.module --- modules/forum/forum.module 3 Aug 2010 02:02:02 -0000 1.571 +++ modules/forum/forum.module 7 Aug 2010 02:22:10 -0000 @@ -1144,18 +1144,18 @@ function template_preprocess_forum_icon(&$variables) { $variables['hot_threshold'] = variable_get('forum_hot_topic', 15); if ($variables['num_posts'] > $variables['hot_threshold']) { - $variables['icon'] = $variables['new_posts'] ? 'hot-new' : 'hot'; + $variables['icon'] = $variables['new_posts'] ? 'Hot new' : 'Hot'; } else { - $variables['icon'] = $variables['new_posts'] ? 'new' : 'default'; + $variables['icon'] = $variables['new_posts'] ? 'New' : 'Default'; } if ($variables['comment_mode'] == COMMENT_NODE_CLOSED || $variables['comment_mode'] == COMMENT_NODE_HIDDEN) { - $variables['icon'] = 'closed'; + $variables['icon'] = 'Closed'; } if ($variables['sticky'] == 1) { - $variables['icon'] = 'sticky'; + $variables['icon'] = 'Sticky'; } } Index: modules/forum/forum.css =================================================================== RCS file: /cvs/drupal/drupal/modules/forum/forum.css,v retrieving revision 1.8 diff -u -r1.8 forum.css --- modules/forum/forum.css 28 Apr 2010 20:08:38 -0000 1.8 +++ modules/forum/forum.css 7 Aug 2010 02:22:09 -0000 @@ -24,4 +24,32 @@ #forum div.indent { margin-left: 20px; } - +#forum td.icon div { + background-image: url(../../misc/forum-icons.png); + background-repeat: no-repeat; + width: 24px; +} +#forum td.icon .topic-status-default { + background-position: 0 0; + height: 23px; +} +#forum td.icon .topic-status-new { + background-position: 0 -23px; + height: 23px; +} +#forum td.icon .topic-status-hot { + background-position: 0 -46px; + height: 24px; +} +#forum td.icon .topic-status-hot-new { + background-position: 0 -70px; + height: 24px; +} +#forum td.icon .topic-status-sticky { + background-position: 0 -94px; + height: 23px; +} +#forum td.icon .topic-status-closed { + background-position: 0 -117px; + height: 23px; +} \ No newline at end of file