diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-01-31 12:53:33 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-01-31 12:53:33 +0100 |
commit | a6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a (patch) | |
tree | 4b21a3037de9774c07a43898f97f1913eeb03d74 /Zotlabs | |
parent | e1b54b684383557159cc25839637c35329fce3cd (diff) | |
download | volse-hubzilla-a6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a.tar.gz volse-hubzilla-a6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a.tar.bz2 volse-hubzilla-a6cbebe03c4c1ca66b4b55c340ebb1d369d93c3a.zip |
hide featured app category in the app category widget
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Apps.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 64ac16e5b..4b95a9f5d 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -350,7 +350,7 @@ class Apps { '$delete' => ((local_channel() && $installed && $mode == 'edit') ? t('Delete') : ''), '$undelete' => ((local_channel() && $installed && $mode == 'edit') ? t('Undelete') : ''), '$deleted' => $papp['deleted'], - '$featured' => ((strpos($papp['categories'], 'featured') === false) ? false : true) + '$featured' => ((strpos($papp['categories'], 'nav_featured_app') === false) ? false : true) )); } @@ -461,7 +461,7 @@ class Apps { ); } else { - store_item_tag($uid,$r[0]['id'],TERM_OBJ_APP,TERM_CATEGORY,'featured',escape_tags(z_root() . '/apps/?f=&cat=featured')); + store_item_tag($uid,$r[0]['id'],TERM_OBJ_APP,TERM_CATEGORY,'nav_featured_app',escape_tags(z_root() . '/apps/?f=&cat=nav_featured_app')); } } |