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

View File

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