add an event for subscribers minilist

This commit is contained in:
Evan Prodromou 2010-04-05 10:12:40 -04:00
parent ffc1ac02c3
commit 5414096c44

View File

@ -139,6 +139,8 @@ class ProfileAction extends OwnerDesignAction
$this->elementStart('div', array('id' => 'entity_subscribers',
'class' => 'section'));
if (Event::handle('StartShowSubscribersMiniList', array($this))) {
$this->element('h2', null, _('Subscribers'));
$cnt = 0;
@ -160,6 +162,9 @@ class ProfileAction extends OwnerDesignAction
$this->elementEnd('p');
}
Event::handle('EndShowSubscribersMiniList', array($this));
}
$this->elementEnd('div');
}