Add some more events to aside profile blocks and rework a bit
This commit is contained in:
@@ -123,4 +123,14 @@ class GroupProfileBlock extends ProfileBlock
|
||||
$this->out->elementEnd('ul');
|
||||
$this->out->elementEnd('div');
|
||||
}
|
||||
|
||||
function show()
|
||||
{
|
||||
$this->out->elementStart('div', 'group_profile_block section');
|
||||
if (Event::handle('StartShowGroupProfileBlock', array($this->out, $this->group))) {
|
||||
parent::show();
|
||||
Event::handle('EndShowGroupProfileBlock', array($this->out, $this->group));
|
||||
}
|
||||
$this->out->elementEnd('div');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user