Quote:
Originally Posted by Mark.B
Though I confess, using Beyond Compare on a clean 2.7.1 versus a clean 2.7.0, it didn't find any differences in functions/functions.php
|
Dunno, that could be a curveball, red herring or more likely too much red wine on my part
2.7.0+
Code:
// we are on vB 4 or later WHOHOOO
$debug = false;
$navbits = $output_array['NAV'];
$navbits = construct_navbits($navbits);
$navbits = construct_navbits(array('' => $ibforums->lang['page_title']));
$navbar = render_navbar_template(construct_navbits($navbits));
$maincontent = $this->to_print;
$templater = vB_Template::create('ARCADE');
$templater->register_page_templates();
$templater->register('navbar', $navbar);
$templater->register('footer', $footer);
$templater->register('pagetitle', $ibforums->lang['page_title']);
$templater->register('maincontent', $maincontent);
$templater->register('arcadeheader', $arcadeheader);
print_output($templater->render());
2.7.1+
Code:
// we are on vB 4 or later WHOHOOO
$debug = false;
$navbits = $output_array['NAV'];
$navbits = construct_navbits($navbits);
$navbits = construct_navbits(array('' => $ibforums->lang['page_title']));
$navbar = render_navbar_template(construct_navbits($navbits));
$maincontent = $this->to_print;
$templater = vB_Template::create('ARCADE');
$templater->register_page_templates();
$templater->register('navbar', $navbar);
$templater->register('footer', $footer);
$templater->register('ibprotitle', $ibprotitle);
$templater->register('pagetitle', $ibforums->lang['page_title']);
$templater->register('maincontent', $maincontent);
$templater->register('arcadeheader', $arcadeheader);
print_output($templater->render());