From 6bc7e6e09f2f21c5e75be3ef4dc70a6e84a7df09 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 5 Apr 2012 21:42:47 -0700 Subject: add network_tabs hook --- mod/network.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mod/network.php') diff --git a/mod/network.php b/mod/network.php index d27945a86..b12bd16da 100755 --- a/mod/network.php +++ b/mod/network.php @@ -206,8 +206,12 @@ function network_content(&$a, $update = 0) { ); - $tpl = get_markup_template('common_tabs.tpl'); - $o .= replace_macros($tpl, array('$tabs'=>$tabs)); + + $arr = array('tabs' => $tabs); + call_hooks('network_tabs', $arr); + + $o .= replace_macros(get_markup_template('common_tabs.tpl'), array('$tabs'=> $arr['tabs'])); + // --- end item filter tabs -- cgit v1.2.3