diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-08 10:56:03 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-08 10:56:03 +0100 |
commit | ace0a1cb754422da929784b9bd24b4c106d2a66e (patch) | |
tree | 362b5a9e82a67d9c4601a70cc4dc7981cf27464d /Zotlabs | |
parent | 6ceaea8478a08e8f2a5fc10f085a99331cbef36f (diff) | |
download | volse-hubzilla-ace0a1cb754422da929784b9bd24b4c106d2a66e.tar.gz volse-hubzilla-ace0a1cb754422da929784b9bd24b4c106d2a66e.tar.bz2 volse-hubzilla-ace0a1cb754422da929784b9bd24b4c106d2a66e.zip |
do not show feature button if the app is shared. css fixes
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Apps.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 6f23b83ee..0297c3e14 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -357,6 +357,7 @@ class Apps { '$delete' => ((local_channel() && $installed && $mode == 'edit') ? t('Delete') : ''), '$undelete' => ((local_channel() && $installed && $mode == 'edit') ? t('Undelete') : ''), '$deleted' => $papp['deleted'], + '$feature' => ((array_key_exists('categories',$papp)) ? true : false), '$featured' => ((strpos($papp['categories'], 'nav_featured_app') === false) ? false : true), '$navapps' => (($mode == 'nav') ? true : false) )); |