diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-07 22:32:58 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-07 22:32:58 -0400 |
commit | 00dfdb3f3ab80383411f56952ac170dd38afbb7a (patch) | |
tree | 27674219a8830e3465cb9ebfd24fee506b3c5aee /lib | |
parent | 58dfad57576d5529b7f6538a460fa9f4bd90b40f (diff) | |
parent | 03eb81d3b768fd595ae6c75cb7740cdab6595e52 (diff) |
Merge branch 'master' of git://gitorious.org/laconica/brianjesse-clone into brianjesse-clone/master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/action.php b/lib/action.php index 94913f3d5..cc98d4445 100644 --- a/lib/action.php +++ b/lib/action.php @@ -97,9 +97,18 @@ class Action extends HTMLOutputter // lawsuit $this->startHTML(); Event::handle('EndShowHTML', array($this)); } + if (Event::handle('StartShowHead', array($this))) { $this->showHead(); + Event::handle('EndShowHead', array($this)); + } + if (Event::handle('StartShowBody', array($this))) { $this->showBody(); + Event::handle('EndShowBody', array($this)); + } + if (Event::handle('StartEndHTML', array($this))) { $this->endHTML(); + Event::handle('EndEndHTML', array($this)); + } } /** @@ -609,7 +618,10 @@ class Action extends HTMLOutputter // lawsuit { $this->elementStart('div', array('id' => 'aside_primary', 'class' => 'aside')); + if (Event::handle('StartShowExportData', array($this))) { $this->showExportData(); + Event::handle('EndShowExportData', array($this)); + } if (Event::handle('StartShowSections', array($this))) { $this->showSections(); Event::handle('EndShowSections', array($this)); |