nav: add $baseurl to nav template context
This commit is contained in:
parent
4c6a432130
commit
7a33bf88cf
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue