From: friendica Date: Fri, 6 Apr 2012 04:42:47 +0000 (-0700) Subject: add network_tabs hook X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6bc7e6e09f2f21c5e75be3ef4dc70a6e84a7df09;p=friendica.git add network_tabs hook --- diff --git a/mod/network.php b/mod/network.php index d27945a860..b12bd16dab 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