From 8b5793e629baaf2084909d310d967abda277ae81 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 27 Jan 2017 17:51:49 +0100 Subject: more work on app-bin --- include/nav.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/nav.php') diff --git a/include/nav.php b/include/nav.php index ce259255e..d7b006c6d 100644 --- a/include/nav.php +++ b/include/nav.php @@ -249,7 +249,7 @@ EOT; if(local_channel()) { //Zlib\Apps::import_system_apps(); $syslist = array(); - $list = Zlib\Apps::app_list(local_channel(), false, $_GET['cat']); + $list = Zlib\Apps::app_list(local_channel(), false, 'featured'); if($list) { foreach($list as $li) { $syslist[] = Zlib\Apps::app_encode($li); @@ -262,7 +262,8 @@ EOT; } $navapps = replace_macros(get_markup_template('navapps.tpl'), array( - '$apps' => $syslist + '$apps' => $syslist, + '$localuser' => local_channel(), )); } -- cgit v1.2.3