X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Faccountprofileblock.php;h=59c27776018dac7c2bfddaf27e5557bf120bf0e0;hb=7c57aab44e3fad989b85872d416d0c525dbb9de8;hp=6d443d040d7c48637a33075c180b1a250b7badd1;hpb=5a2bab07b25443eacc7f5cfde4b9932cdb511e92;p=quix0rs-gnu-social.git diff --git a/lib/accountprofileblock.php b/lib/accountprofileblock.php index 6d443d040d..59c2777601 100644 --- a/lib/accountprofileblock.php +++ b/lib/accountprofileblock.php @@ -307,4 +307,14 @@ class AccountProfileBlock extends ProfileBlock // TRANS: Link text for link that will subscribe to a remote profile. _m('BUTTON','Subscribe')); } + + function show() + { + $this->out->elementStart('div', 'profile_block account_profile_block section'); + if (Event::handle('StartShowAccountProfileBlock', array($this->out, $this->profile))) { + parent::show(); + Event::handle('EndShowAccountProfileBlock', array($this->out, $this->profile)); + } + $this->out->elementEnd('div'); + } }