Commit f12d5c53 authored by Dries's avatar Dries
Browse files

- Patch #21918 by budda/Robin: forum icons are broken when you change the...

- Patch #21918 by budda/Robin: forum icons are broken when you change the forum icon path.  TODO 1: the forum icons should probably be configurable on a per-site or per-theme basis. TODO 2: I spent 5 minutes looking for this setting.
parent a7af266b
......@@ -958,7 +958,7 @@ function _forum_icon($new_posts, $num_posts = 0, $comment_mode = 0, $sticky = 0)
}
// default
$file = "misc/forum-$icon.png";
$file = variable_get('forum_icon_path', 'misc') ."/forum-$icon.png";
$output = theme('image', $file);
}
......
......@@ -958,7 +958,7 @@ function _forum_icon($new_posts, $num_posts = 0, $comment_mode = 0, $sticky = 0)
}
// default
$file = "misc/forum-$icon.png";
$file = variable_get('forum_icon_path', 'misc') ."/forum-$icon.png";
$output = theme('image', $file);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment