]> git.mxchange.org Git - friendica.git/commitdiff
add network_tabs hook
authorfriendica <info@friendica.com>
Fri, 6 Apr 2012 04:42:47 +0000 (21:42 -0700)
committerfriendica <info@friendica.com>
Fri, 6 Apr 2012 04:42:47 +0000 (21:42 -0700)
mod/network.php

index d27945a860d6cdd43ad65a85097047573c3dc4ab..b12bd16dab4578ba368229ed57997e326b3adef5 100755 (executable)
@@ -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