- #12305: Blog it icon was broken due to missing parameter.
parent
f46a82da51
commit
979b482c7a
|
@ -1064,7 +1064,7 @@ function theme_aggregator_block_item($item, $feed = 0) {
|
|||
global $user;
|
||||
|
||||
if ($user->uid && module_exist('blog') && user_access('edit own blog')) {
|
||||
if ($image = theme('misc/blog.png', t('blog it'), t('blog it'))) {
|
||||
if ($image = theme('image', '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>';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1064,7 +1064,7 @@ function theme_aggregator_block_item($item, $feed = 0) {
|
|||
global $user;
|
||||
|
||||
if ($user->uid && module_exist('blog') && user_access('edit own blog')) {
|
||||
if ($image = theme('misc/blog.png', t('blog it'), t('blog it'))) {
|
||||
if ($image = theme('image', '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>';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue