From a6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 31 Jan 2017 12:53:33 +0100 Subject: hide featured app category in the app category widget --- include/nav.php | 2 +- include/widgets.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/nav.php b/include/nav.php index d7b006c6d..25f2a1df4 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, 'featured'); + $list = Zlib\Apps::app_list(local_channel(), false, 'nav_featured_app'); if($list) { foreach($list as $li) { $syslist[] = Zlib\Apps::app_encode($li); diff --git a/include/widgets.php b/include/widgets.php index 27eae7d6f..408ba5d24 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -456,6 +456,7 @@ function widget_appcategories($arr) { where app_channel = %d and term.uid = app_channel and term.otype = %d + and term.term != 'nav_featured_app' order by term.term asc", intval(local_channel()), intval(TERM_OBJ_APP) -- cgit v1.2.3