mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 17:19:56 +02:00
Deprecate noTableRender from template files - send template name to tablerender() $mode instead for less confusion and consistent logic.
This commit is contained in:
@@ -6,20 +6,14 @@
|
||||
|
||||
$MENU_TEMPLATE['default']['start'] = '';
|
||||
$MENU_TEMPLATE['default']['body'] = '{CMENUBODY}';
|
||||
$MENU_TEMPLATE['default']['noTableRender'] = false; // XXX Let the theme decide.
|
||||
|
||||
$MENU_TEMPLATE['button']['start'] = '<div class="cpage-menu">';
|
||||
$MENU_TEMPLATE['button']['body'] = '{CMENUBODY}{CPAGEBUTTON}';
|
||||
$MENU_TEMPLATE['buttom-image']['end'] = '</div>';
|
||||
$MENU_TEMPLATE['button']['noTableRender'] = false;
|
||||
|
||||
$MENU_TEMPLATE['buttom-image']['start'] = '<div class="cpage-menu">';
|
||||
$MENU_TEMPLATE['buttom-image']['body'] = '{CMENUIMAGE}{CPAGEBUTTON}';
|
||||
$MENU_TEMPLATE['buttom-image']['end'] = '</div>';
|
||||
$MENU_TEMPLATE['buttom-image']['noTableRender'] = false;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user