aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
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');