mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Multi-language news category fix.
This commit is contained in:
@@ -758,8 +758,12 @@ class e_news_category_item extends e_front_model
|
|||||||
|
|
||||||
public function sc_news_category_title($parm = '')
|
public function sc_news_category_title($parm = '')
|
||||||
{
|
{
|
||||||
if('attribute' == $parm) return e107::getParser()->toAttribute($this->cat('name'));
|
if('attribute' == $parm)
|
||||||
return $this->cat('name');
|
{
|
||||||
|
return e107::getParser()->toAttribute($this->cat('name'));
|
||||||
|
}
|
||||||
|
|
||||||
|
return e107::getParser()->toHtml($this->cat('name'),true,'TITLE_PLAIN');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function sc_news_category_url($parm = '')
|
public function sc_news_category_url($parm = '')
|
||||||
|
Reference in New Issue
Block a user