add a hook for the page notice

This commit is contained in:
Evan Prodromou 2009-05-15 17:11:28 -04:00
parent 6b4410d9ea
commit 9d13890a85
1 changed files with 4 additions and 1 deletions

View File

@ -591,7 +591,10 @@ class Action extends HTMLOutputter // lawsuit
'class' => 'system_notice'));
$this->element('dt', null, _('Page notice'));
$this->elementStart('dd');
$this->showPageNotice();
if (Event::handle('StartShowPageNotice', array($this))) {
$this->showPageNotice();
Event::handle('EndShowPageNotice', array($this));
}
$this->elementEnd('dd');
$this->elementEnd('dl');
}