forked from GNUsocial/gnu-social
Add some more events to aside profile blocks and rework a bit
This commit is contained in:
@@ -289,4 +289,15 @@ class AccountProfileBlock extends ProfileBlock
|
||||
// TRANS: Link text for link that will subscribe to a remote profile.
|
||||
_m('BUTTON','Subscribe'));
|
||||
}
|
||||
|
||||
function show()
|
||||
{
|
||||
common_debug("show");
|
||||
$this->out->elementStart('div', '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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user