Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
theme system
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
28 May 2007 at 22:08 UTC
Updated:
12 Nov 2007 at 22:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
floretan commentedHere's a patch that creates a template file forum-block.tpl.php and replaces the hard-coded html in forum_block by a call to theme('forum-block', $content).
Comment #2
floretan commentedsorry, I just realized some issues with my patch. I need to do more work on it, please ignore it for now.
Comment #3
floretan commentedThis patch replaces the hardcoded HTML for the "more" link on blocks with a theme function.
The bug was originally reported for the forum block, but this patch fixes the same issue for the aggregator and blog blocks as well.
The patch has been tested with all modified blocks.
Comment #4
floretan commentedComment #5
dmitrig01 commentedComment #6
gábor hojtsyI was thinking about whether using l() in the theme function would be better, but now that we already have the url(), this seemed like overkill. And we are already in a theme function. So committed the patch as-is. Thanks.
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.