mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
Added {NEWS_RATE} shortcode for anyone who needs it.
This commit is contained in:
parent
7485bc49ee
commit
60f8111d27
@ -382,6 +382,11 @@ class news_shortcodes extends e_shortcode
|
||||
|
||||
}
|
||||
|
||||
public function sc_news_rate($parm=null)
|
||||
{
|
||||
return e107::getRate()->render("news", $this->news_item['news_id']);
|
||||
}
|
||||
|
||||
|
||||
// ----------------------------------- BC compatible Shortcodes ------------------------------------------- //
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user