mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Optional {NEWS_PAGINATION} shortcode added.
This commit is contained in:
@@ -1202,6 +1202,17 @@ class news_shortcodes extends e_shortcode
|
||||
|
||||
}
|
||||
|
||||
/** New in v2.3 {NEWS_PAGINATION} */
|
||||
function sc_news_pagination($parm=null)
|
||||
{
|
||||
$params = e107::getRegistry('core/news/pagination');
|
||||
|
||||
return e107::getParser()->parseTemplate("{NEXTPREV=".$params."}");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @example {NEWS_NAV_NEXT}
|
||||
* @return string|null
|
||||
|
Reference in New Issue
Block a user