aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-06 20:10:10 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-06 20:10:10 +0100
commit70edcabca1e9341b857c469760c88e5c9d318c53 (patch)
tree6af269b8e2d64e3be5ff6036e38e860e55fe2f33 /include/nav.php
parentdce5e8d0ccc1bb01b7db53af67bd872704a918ed (diff)
downloadvolse-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/nav.php')
-rw-r--r--include/nav.php7
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');