]> git.mxchange.org Git - friendica.git/commitdiff
nav: pass $baseurl to template
authorFabrixxm <fabrix.xm@gmail.com>
Fri, 29 Jun 2012 09:29:29 +0000 (05:29 -0400)
committerFabrixxm <fabrix.xm@gmail.com>
Fri, 29 Jun 2012 09:29:29 +0000 (05:29 -0400)
include/nav.php

index a67a8b614182f90716cfea6eb0bc140d043450e1..e26cc8889a916ebae6d1c807a6651e3e6540cd8e 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,