move icon stuff back to app_render() and send navapps through app_render()

This commit is contained in:
Mario Vavti
2017-02-06 20:10:10 +01:00
parent dce5e8d0cc
commit 70edcabca1
8 changed files with 22 additions and 22 deletions

View File

@@ -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');