aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-08 10:56:03 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-08 10:56:03 +0100
commitace0a1cb754422da929784b9bd24b4c106d2a66e (patch)
tree362b5a9e82a67d9c4601a70cc4dc7981cf27464d /Zotlabs/Lib
parent6ceaea8478a08e8f2a5fc10f085a99331cbef36f (diff)
downloadvolse-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/Lib')
-rw-r--r--Zotlabs/Lib/Apps.php1
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)
));