1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Bootstrap3 Default Layout work.

This commit is contained in:
Cameron
2014-01-07 08:18:27 -08:00
parent ef8dd5534b
commit 0b7d4b8d8e
7 changed files with 301 additions and 38 deletions

View File

@@ -410,11 +410,16 @@ class e_menu
$page_shortcodes = e107::getScBatch('page',null,'cpage');
$page_shortcodes->page = $page;
$head = $tp->parseTemplate($template['start'], true);
$foot = $tp->parseTemplate($template['end'], true);
// print_a($template['body']);
$text = $template['start'].$tp->parseTemplate($template['body'], true, $page_shortcodes).$template['end'];
$text = $head.$tp->parseTemplate($template['body'], true, $page_shortcodes).$template['end'];
// echo "TEMPLATE= ($mpath)".$page['menu_template'];
// if($template['noTableRender'] !==true) // XXX Deprecated - causes confusion while themeing.
// if($template['noTableRender'] !==true) // XXX Deprecated - causes confusion while themeing. use {SETSTYLE=none} instead.
// {
$ns->tablerender($caption, $text, 'cmenu-'.$page['menu_template']);
// }