From c71bfded3dea1754633f29ac8e81fb3ab46b766a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 4 Aug 2004 20:40:01 +0000 Subject: - Patch #9657: more intelligent theme() function. Hopefully, Adrian will be able to use this patch too. --- modules/forum.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/forum.module') diff --git a/modules/forum.module b/modules/forum.module index aaad68486..4d645cf02 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -705,9 +705,9 @@ function _forum_icon($new_posts, $num_posts = 0, $comment_mode = 0, $sticky = 0) } // default - $file = $base_path ."/forum-$icon.png"; + $file = "misc/forum-$icon.png"; - $output = "\"\""; + $output = theme('image', $file); } else { $output = ' '; -- cgit v1.2.3