diff options
author | friendica <info@friendica.com> | 2012-03-27 20:15:15 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-27 20:15:15 -0700 |
commit | 0aa99acd35efa2b0f95363c461b931d2deb52b3f (patch) | |
tree | 1040a54f7db429c779ed8766e1afee83d2439ba9 /boot.php | |
parent | 7ee07daf04e516900fb1d9c77debf7f2b7f91fc8 (diff) | |
download | volse-hubzilla-0aa99acd35efa2b0f95363c461b931d2deb52b3f.tar.gz volse-hubzilla-0aa99acd35efa2b0f95363c461b931d2deb52b3f.tar.bz2 volse-hubzilla-0aa99acd35efa2b0f95363c461b931d2deb52b3f.zip |
profile_tabs hook
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1381,6 +1381,11 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ ); } + + $arr = array('is_owner' => $is_owner, 'nickname' => $nickname, 'tab' => (($tab) ? $tab : false), 'tabs' => $tabs); + call_hooks('profile_tabs', $arr); + $tpl = get_markup_template('common_tabs.tpl'); - return replace_macros($tpl,array('$tabs'=>$tabs)); + + return replace_macros($tpl,array('$tabs' => $arr['tabs'])); }} |