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');
|
||||
|
||||
$a->page['nav'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$langselector' => lang_selector(),
|
||||
'$sitelocation' => $sitelocation,
|
||||
'$nav' => $nav,
|
||||
|
|
Loading…
Reference in New Issue
Block a user