forked from GNUsocial/gnu-social
add an event for group members minilist
This commit is contained in:
parent
ac9fda4bc0
commit
ffc1ac02c3
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user