mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Added {NEWS_RATE} shortcode for anyone who needs it.
This commit is contained in:
@@ -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 ------------------------------------------- //
|
// ----------------------------------- BC compatible Shortcodes ------------------------------------------- //
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user