mirror of
https://github.com/friendica/friendica
synced 2024-11-13 17:42:53 +00:00
nav: add $baseurl to nav template context
This commit is contained in:
parent
4c6a432130
commit
7a33bf88cf
1 changed files with 1 additions and 0 deletions
|
@ -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