mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Fix for comment icon in bootstrap.
This commit is contained in:
@@ -125,7 +125,13 @@ class news_shortcodes extends e_shortcode
|
|||||||
{
|
{
|
||||||
$NEWIMAGE = $param['image_nonew_small'];
|
$NEWIMAGE = $param['image_nonew_small'];
|
||||||
}
|
}
|
||||||
return (!$news_item['news_allow_comments'] ? ''.($pref['comments_icon'] ? $NEWIMAGE : '')." <a title='Comments' href='".e107::getUrl()->create('news/view/item', $news_item)."'>".$param['commentlink'].intval($news_item['news_comment_total']).'</a>' : vartrue($param['commentoffstring'],'Disabled') );
|
|
||||||
|
if(deftrue('e_BOOTSTRAP')) // Should be done with CSS, not like above.
|
||||||
|
{
|
||||||
|
$NEWIMAGE = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
return (!$news_item['news_allow_comments'] ? ''.($pref['comments_icon'] ? $NEWIMAGE.' ' : '')."<a title='Comments' href='".e107::getUrl()->create('news/view/item', $news_item)."'>".$param['commentlink'].intval($news_item['news_comment_total']).'</a>' : vartrue($param['commentoffstring'],'Disabled') );
|
||||||
}
|
}
|
||||||
|
|
||||||
function sc_trackback($parm)
|
function sc_trackback($parm)
|
||||||
|
Reference in New Issue
Block a user