aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Apps.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-09 17:49:55 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-09 17:49:55 +0200
commit5698462588066b942d7f8784d06942385db8daa4 (patch)
tree15e65d68fc7a0c8bbe06143e4d8da23a6b8e8585 /Zotlabs/Lib/Apps.php
parentf99c007187b83755d7b1c80c63fde7c1162a99c4 (diff)
parent23812e5b48b7a4d4f0c275c0fbb3d244a582397c (diff)
downloadvolse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.tar.gz
volse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.tar.bz2
volse-hubzilla-5698462588066b942d7f8784d06942385db8daa4.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Lib/Apps.php')
-rw-r--r--Zotlabs/Lib/Apps.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php
index c4f4038dc..f13fbe362 100644
--- a/Zotlabs/Lib/Apps.php
+++ b/Zotlabs/Lib/Apps.php
@@ -383,6 +383,13 @@ class Apps {
$install_action = (($installed) ? t('Update') : t('Install'));
$icon = ((strpos($papp['photo'],'icon:') === 0) ? substr($papp['photo'],5) : '');
+ if($mode === 'navbar') {
+ return replace_macros(get_markup_template('app_nav.tpl'),array(
+ '$app' => $papp,
+ '$icon' => $icon,
+ ));
+ }
+
return replace_macros(get_markup_template('app.tpl'),array(
'$app' => $papp,
'$icon' => $icon,