Add Start/EndShowNoticeItem event hooks to single notice page
This commit is contained in:
parent
3960c9ad39
commit
fd779009b8
@ -314,10 +314,14 @@ class SingleNoticeItem extends NoticeListItem
|
|||||||
function show()
|
function show()
|
||||||
{
|
{
|
||||||
$this->showStart();
|
$this->showStart();
|
||||||
$this->showNotice();
|
if (Event::handle('StartShowNoticeItem', array($this))) {
|
||||||
$this->showNoticeAttachments();
|
$this->showNotice();
|
||||||
$this->showNoticeInfo();
|
$this->showNoticeAttachments();
|
||||||
$this->showNoticeOptions();
|
$this->showNoticeInfo();
|
||||||
|
$this->showNoticeOptions();
|
||||||
|
Event::handle('EndShowNoticeItem', array($this));
|
||||||
|
}
|
||||||
|
|
||||||
$this->showEnd();
|
$this->showEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user