aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Activity_order.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-06-01 03:43:11 -0700
committerzotlabs <mike@macgirvin.com>2018-06-01 03:43:11 -0700
commita6ab3dd36a78adbdd67ae9e7e25a3281cbcf9a58 (patch)
treee775eb73e1e5e5440b55a4e7dc0288a6b1689ce0 /Zotlabs/Widget/Activity_order.php
parent4df5d44ef9792b04a2653c92cba49a2fa69656ac (diff)
parent6bf0f4225c0fc7ecc1762ed5cfe2c4861cd1bd4e (diff)
downloadvolse-hubzilla-a6ab3dd36a78adbdd67ae9e7e25a3281cbcf9a58.tar.gz
volse-hubzilla-a6ab3dd36a78adbdd67ae9e7e25a3281cbcf9a58.tar.bz2
volse-hubzilla-a6ab3dd36a78adbdd67ae9e7e25a3281cbcf9a58.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'Zotlabs/Widget/Activity_order.php')
-rw-r--r--Zotlabs/Widget/Activity_order.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/Zotlabs/Widget/Activity_order.php b/Zotlabs/Widget/Activity_order.php
index 10ec142d9..93bfc5a26 100644
--- a/Zotlabs/Widget/Activity_order.php
+++ b/Zotlabs/Widget/Activity_order.php
@@ -105,17 +105,21 @@ class Activity_order {
call_hooks('network_tabs', $arr);
- $tpl = get_markup_template('common_pills.tpl');
+ $o = '';
if($arr['tabs']) {
- return replace_macros($tpl, [
+ $content = replace_macros(get_markup_template('common_pills.tpl'), [
+ '$pills' => $arr['tabs'],
+ ]);
+
+ $o = replace_macros(get_markup_template('common_widget.tpl'), [
'$title' => t('Activity Order'),
- '$tabs' => $arr['tabs'],
+ '$content' => $content,
]);
}
- else {
- return '';
- }
+
+ return $o;
+
}
}