add an event for group members minilist

This commit is contained in:
Evan Prodromou 2010-04-05 10:12:27 -04:00
parent ac9fda4bc0
commit ffc1ac02c3
1 changed files with 15 additions and 10 deletions

View File

@ -388,6 +388,8 @@ class ShowgroupAction extends GroupDesignAction
$this->elementStart('div', array('id' => 'entity_members',
'class' => 'section'));
if (Event::handle('StartShowGroupMembersMiniList', array($this))) {
$this->element('h2', null, _('Members'));
$pml = new ProfileMiniList($member, $this);
@ -402,6 +404,9 @@ class ShowgroupAction extends GroupDesignAction
_('All members'));
}
Event::handle('EndShowGroupMembersMiniList', array($this));
}
$this->elementEnd('div');
}