diff options
author | redmatrix <git@macgirvin.com> | 2016-03-30 22:13:24 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-30 22:13:24 -0700 |
commit | 1cd3b4182595b838a535dd6b6990251db05d49e6 (patch) | |
tree | 2d22ab3140caf9d7efcd46a1f30f81a833ebf6fd /include/nav.php | |
parent | 4148211086ff53dfb6fb4e969fd067389bcfef29 (diff) | |
download | volse-hubzilla-1cd3b4182595b838a535dd6b6990251db05d49e6.tar.gz volse-hubzilla-1cd3b4182595b838a535dd6b6990251db05d49e6.tar.bz2 volse-hubzilla-1cd3b4182595b838a535dd6b6990251db05d49e6.zip |
deprecate $a->get_baseurl()
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/nav.php b/include/nav.php index 4e9a8ab19..7cd1e40d8 100644 --- a/include/nav.php +++ b/include/nav.php @@ -56,7 +56,7 @@ EOT; $banner = get_config('system','sitename'); $a->page['header'] .= replace_macros(get_markup_template('hdr.tpl'), array( - '$baseurl' => $a->get_baseurl(), + '$baseurl' => z_root(), '$sitelocation' => $sitelocation, '$banner' => $banner )); @@ -230,12 +230,12 @@ EOT; // turned off until somebody discovers this and figures out a good location for it. $powered_by = ''; -// $powered_by = '<strong>red<img class="smiley" src="' . $a->get_baseurl() . '/images/rm-16.png" alt="r#" />matrix</strong>'; +// $powered_by = '<strong>red<img class="smiley" src="' . z_root() . '/images/rm-16.png" alt="r#" />matrix</strong>'; $tpl = get_markup_template('nav.tpl'); $a->page['nav'] .= replace_macros($tpl, array( - '$baseurl' => $a->get_baseurl(), + '$baseurl' => z_root(), '$sitelocation' => $sitelocation, '$nav' => $x['nav'], '$banner' => $banner, |