nav: add $baseurl to nav template context

This commit is contained in:
fabrixxm 2012-06-19 03:38:43 -04:00
parent 4c6a432130
commit 7a33bf88cf

View file

@ -162,6 +162,7 @@ function nav(&$a) {
$tpl = get_markup_template('nav.tpl'); $tpl = get_markup_template('nav.tpl');
$a->page['nav'] .= replace_macros($tpl, array( $a->page['nav'] .= replace_macros($tpl, array(
'$baseurl' => $a->get_baseurl(),
'$langselector' => lang_selector(), '$langselector' => lang_selector(),
'$sitelocation' => $sitelocation, '$sitelocation' => $sitelocation,
'$nav' => $nav, '$nav' => $nav,