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/aggregator/aggregator.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/aggregator/aggregator.module') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 694568ad2..903535461 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -1039,7 +1039,9 @@ function theme_aggregator_block_item($item, $feed = 0) { global $user; if ($user->uid && module_exist('blog') && user_access('edit own blog')) { - $output .= '
'. l(''. t('blog it') .'', 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'
'; + if ($image = theme('misc/blog.png', t('blog it'), t('blog it'))) { + $output .= '
'. l($image, 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'
'; + } } // external link -- cgit v1.2.3