mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 04:12:00 +02:00
Fixed: Latest News Menu was not using {SETIMAGE} value.
This commit is contained in:
@@ -51,9 +51,16 @@ class news_shortcodes extends e_shortcode
|
||||
}
|
||||
}
|
||||
|
||||
function sc_newstitle()
|
||||
function sc_newstitle($parm)
|
||||
{
|
||||
return e107::getParser()->toHTML($this->news_item['news_title'], TRUE, 'TITLE');
|
||||
$text = e107::getParser()->toHTML($this->news_item['news_title'], TRUE, 'TITLE');
|
||||
|
||||
if(!empty($parm['attribute']))
|
||||
{
|
||||
$text = e107::getParser()->toAttribute($text);
|
||||
}
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
||||
function sc_newsurltitle()
|
||||
|
Reference in New Issue
Block a user