aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Apps.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-09 15:14:44 -0700
committerzotlabs <mike@macgirvin.com>2017-10-09 15:14:44 -0700
commit87970491441cb15462d3fe7a7641d2f2755cb45b (patch)
tree455abf25ed534ddcadfd595f3484c4ef6ff74a2a /Zotlabs/Lib/Apps.php
parent09009d4b32d5014d77de941dba695fe2bc577616 (diff)
parentcc1ffff7cdfe5881636b6d2de3fe16f0094b5d69 (diff)
downloadvolse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.tar.gz
volse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.tar.bz2
volse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
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,