diff options
author | Friendika <info@friendika.com> | 2011-05-10 23:35:31 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-10 23:35:31 -0700 |
commit | a00813497fccf295d72e35537599409b3f1eaa22 (patch) | |
tree | ff56cce12620a10117098af5103b8f3b2518b54f /include/nav.php | |
parent | 5903ea38f34bef5d47d1ba76f26c802b3112de70 (diff) | |
download | volse-hubzilla-a00813497fccf295d72e35537599409b3f1eaa22.tar.gz volse-hubzilla-a00813497fccf295d72e35537599409b3f1eaa22.tar.bz2 volse-hubzilla-a00813497fccf295d72e35537599409b3f1eaa22.zip |
bring back load_view_file for dispy templates
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php index 602385c32..2ead5c07e 100644 --- a/include/nav.php +++ b/include/nav.php @@ -125,7 +125,7 @@ function nav(&$a) { $banner .= '<a href="http://project.friendika.com"><img id="logo-img" src="images/friendika-32.png" alt="logo" /></a><span id="logo-text"><a href="http://project.friendika.com">Friendika</a></span>'; - $tpl = file_get_contents('view/nav.tpl'); + $tpl = load_view_file('view/nav.tpl'); $a->page['nav'] .= replace_macros($tpl, array( '$langselector' => lang_selector(), |