mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Issue #4141 - Removed deprecated class.
This commit is contained in:
@@ -572,8 +572,8 @@ class news_shortcodes extends e_shortcode
|
|||||||
{
|
{
|
||||||
$category_name = e107::getParser()->toHTML($this->news_item['category_name'], FALSE ,'defs');
|
$category_name = e107::getParser()->toHTML($this->news_item['category_name'], FALSE ,'defs');
|
||||||
$category = array('id' => $this->news_item['category_id'], 'name' => $this->news_item['category_sef'] );
|
$category = array('id' => $this->news_item['category_id'], 'name' => $this->news_item['category_sef'] );
|
||||||
$categoryClass = varset($GLOBALS['NEWS_CSSMODE'],'');
|
// $categoryClass = varset($GLOBALS['NEWS_CSSMODE'],'');
|
||||||
return "<a class='".$categoryClass."_category' style='".(isset($this->param['catlink']) ? $this->param['catlink'] : "#")."' href='".e107::getUrl()->create('news/list/category', $category)."'>".$category_name."</a>";
|
return "<a style='".(isset($this->param['catlink']) ? $this->param['catlink'] : "#")."' href='".e107::getUrl()->create('news/list/category', $category)."'>".$category_name."</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function sc_newsdate($parm)
|
function sc_newsdate($parm)
|
||||||
|
Reference in New Issue
Block a user