1
0
Fork 0

add network_tabs hook

This commit is contained in:
friendica 2012-04-05 21:42:47 -07:00
parent 221726392e
commit 6bc7e6e09f

View file

@ -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