diff options
author | friendica <info@friendica.com> | 2012-04-05 21:42:47 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-05 21:42:47 -0700 |
commit | 6bc7e6e09f2f21c5e75be3ef4dc70a6e84a7df09 (patch) | |
tree | 773d8c0f4e2f0c906e322a41d62f61a2afbefd27 /mod | |
parent | 221726392e6ec836623f83320c3ff9afdc876045 (diff) | |
download | volse-hubzilla-6bc7e6e09f2f21c5e75be3ef4dc70a6e84a7df09.tar.gz volse-hubzilla-6bc7e6e09f2f21c5e75be3ef4dc70a6e84a7df09.tar.bz2 volse-hubzilla-6bc7e6e09f2f21c5e75be3ef4dc70a6e84a7df09.zip |
add network_tabs hook
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/network.php | 8 |
1 files changed, 6 insertions, 2 deletions
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 |