mirror of
https://github.com/e107inc/e107.git
synced 2025-03-17 19:09:45 +01:00
Added 'limit' parm to {CHAPTER_MENUS}
This commit is contained in:
parent
4bf1d4c97b
commit
2ae932362f
@ -211,6 +211,12 @@ class page_shortcodes extends e_shortcode
|
||||
$i = 0;
|
||||
foreach($pageArray as $row)
|
||||
{
|
||||
if(!empty($parm['limit']) && $c > $parm['limit'])
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
$row['cmenu_tab_active'] = ($c === (int) $active) ? true : false;
|
||||
|
||||
if(empty($parm['template']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user