diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-15 17:11:28 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-15 17:11:28 -0400 |
commit | 9d13890a859eb657c1ee95b1b2a1144fdf46d6b4 (patch) | |
tree | 925f0e57c8ed91ad16d148ab7a51b2ac6e386ac0 /lib/action.php | |
parent | 6b4410d9eace776182f373886785cfd1f2736764 (diff) |
add a hook for the page notice
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php index 4bd41c226..6b130b6d5 100644 --- a/lib/action.php +++ b/lib/action.php @@ -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'); } |