diff options
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r-- | modules/aggregator.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module index 694568ad2..903535461 100644 --- a/modules/aggregator.module +++ b/modules/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 .= '<div class="icon">'. l('<img src="'. theme('image', 'blog.png') .'" alt="'. t('blog it') .'" title="'. t('blog it') .'" />', 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'</div>'; + if ($image = theme('misc/blog.png', t('blog it'), t('blog it'))) { + $output .= '<div class="icon">'. l($image, 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'</div>'; + } } // external link |