]> git.mxchange.org Git - friendica.git/commitdiff
nav: add $baseurl to nav template context
authorfabrixxm <fabrix.xm@gmail.com>
Tue, 19 Jun 2012 07:38:43 +0000 (03:38 -0400)
committerfabrixxm <fabrix.xm@gmail.com>
Tue, 19 Jun 2012 07:38:43 +0000 (03:38 -0400)
include/nav.php

index d760cc8ae5bd7f6cab5614ff04a2db3800cce5d6..6759c31f658c91c7742186754a5c5ac8d21baf80 100644 (file)
@@ -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,