diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-19 15:21:06 +0100 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-19 15:21:06 +0100 |
commit | d8f9458663f3a8212e98c1d781a06fc22c34e3a2 (patch) | |
tree | dfca7346e315bed7c4fcfeb7306b809fdabbc3d8 /boot.php | |
parent | 468c1824054b7527a3d691e0e404e09c37721711 (diff) | |
parent | 766ade06d5e3b387d1fd3d2d0b00b15852e877b1 (diff) | |
download | volse-hubzilla-d8f9458663f3a8212e98c1d781a06fc22c34e3a2.tar.gz volse-hubzilla-d8f9458663f3a8212e98c1d781a06fc22c34e3a2.tar.bz2 volse-hubzilla-d8f9458663f3a8212e98c1d781a06fc22c34e3a2.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -2,8 +2,8 @@ set_time_limit(0); -define ( 'BUILD_ID', 1032 ); -define ( 'FRIENDIKA_VERSION', '2.01.1003' ); +define ( 'BUILD_ID', 1033 ); +define ( 'FRIENDIKA_VERSION', '2.01.1004' ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "<br />\r\n" ); @@ -2009,8 +2009,12 @@ function profile_sidebar($profile) { if((! is_array($profile)) && (! count($profile))) return $o; + call_hooks('profile_sidebar_enter', $profile); + $fullname = '<div class="fn">' . $profile['name'] . '</div>'; + $pdesc = '<div class="title">' . $profile['pdesc'] . '</div>'; + $tabs = ''; $photo = '<div id="profile=photo-wrapper"><img class="photo" src="' . $profile['photo'] . '" alt="' . $profile['name'] . '" /></div>'; @@ -2049,6 +2053,7 @@ function profile_sidebar($profile) { $o .= replace_macros($tpl, array( '$fullname' => $fullname, + '$pdesc' => $pdesc, '$tabs' => $tabs, '$photo' => $photo, '$connect' => $connect, @@ -2059,7 +2064,10 @@ function profile_sidebar($profile) { '$homepage' => $homepage )); - call_hooks('profile_sidebar', $o); + + $arr = array('profile' => $profile, 'entry' => $o); + + call_hooks('profile_sidebar', $arr); return $o; }} |