diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-06-01 12:11:07 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-06-01 12:11:07 +0200 |
commit | 6bf0f4225c0fc7ecc1762ed5cfe2c4861cd1bd4e (patch) | |
tree | e97a2f276650c978e6415db00449f81f00d236ba /Zotlabs/Widget/Activity_order.php | |
parent | d03c27d18c10d287cbfd3133b3301934d0457636 (diff) | |
download | volse-hubzilla-6bf0f4225c0fc7ecc1762ed5cfe2c4861cd1bd4e.tar.gz volse-hubzilla-6bf0f4225c0fc7ecc1762ed5cfe2c4861cd1bd4e.tar.bz2 volse-hubzilla-6bf0f4225c0fc7ecc1762ed5cfe2c4861cd1bd4e.zip |
move file and groups filter to submenu
Diffstat (limited to 'Zotlabs/Widget/Activity_order.php')
-rw-r--r-- | Zotlabs/Widget/Activity_order.php | 16 |
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; + } } |