1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Added {NEWS_RATE} shortcode for anyone who needs it.

This commit is contained in:
Cameron
2017-10-01 07:52:15 -07:00
parent 7485bc49ee
commit 60f8111d27

View File

@@ -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 ------------------------------------------- //