mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
correct displaying comment icon
It should be set in reverse order
This commit is contained in:
parent
65b44a8abb
commit
f1e10121f7
@ -257,7 +257,7 @@ class news_shortcodes extends e_shortcode
|
||||
}
|
||||
|
||||
$class = varset($parm['class']) ? " ".$parm['class'] : "";
|
||||
$text = ($this->news_item['news_allow_comments'] ? $this->param['commentoffstring'] : "<a title='".$this->sc_newscommentcount()." comments' class='e-tip".$class."' href='".e107::getUrl()->create('news/view/item', $this->news_item)."'>".$this->param['commentlink'].'</a>');
|
||||
$text = (!$this->news_item['news_allow_comments'] ? $this->param['commentoffstring'] : "<a title='".$this->sc_newscommentcount()." comments' class='e-tip".$class."' href='".e107::getUrl()->create('news/view/item', $this->news_item)."'>".$this->param['commentlink'].'</a>');
|
||||
return $text;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user