diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-06 20:10:10 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-06 20:10:10 +0100 |
commit | 70edcabca1e9341b857c469760c88e5c9d318c53 (patch) | |
tree | 6af269b8e2d64e3be5ff6036e38e860e55fe2f33 /include | |
parent | dce5e8d0ccc1bb01b7db53af67bd872704a918ed (diff) | |
download | volse-hubzilla-70edcabca1e9341b857c469760c88e5c9d318c53.tar.gz volse-hubzilla-70edcabca1e9341b857c469760c88e5c9d318c53.tar.bz2 volse-hubzilla-70edcabca1e9341b857c469760c88e5c9d318c53.zip |
move icon stuff back to app_render() and send navapps through app_render()
Diffstat (limited to 'include')
-rw-r--r-- | include/nav.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/nav.php b/include/nav.php index 70e9bfc59..a6e59a91f 100644 --- a/include/nav.php +++ b/include/nav.php @@ -273,10 +273,9 @@ EOT; $syslist = Zlib\Apps::get_system_apps(true); } - $navapps = replace_macros(get_markup_template('navapps.tpl'), array( - '$apps' => $syslist, - '$localuser' => local_channel(), - )); + foreach($syslist as $app) { + $navapps[] = Zlib\Apps::app_render($app,'nav'); + } $tpl = get_markup_template('nav.tpl'); |