From 70edcabca1e9341b857c469760c88e5c9d318c53 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 6 Feb 2017 20:10:10 +0100 Subject: move icon stuff back to app_render() and send navapps through app_render() --- include/nav.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include') 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'); -- cgit v1.2.3