summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-02-20 23:47:24 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-02-20 23:47:24 +0000
commitf75c2328ccb87650e107e90b89b4d2a16d7a29cd (patch)
treea6b77fc88d8cc5878f15f084d0d44968c36f187f /lib/action.php
parent673e7d2559dd0e0fe1405da60081946e6238251a (diff)
Hooks for: local navigation
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index b1e700b67..a468c638c 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -474,7 +474,10 @@ class Action extends HTMLOutputter // lawsuit
function showCore()
{
$this->elementStart('div', array('id' => 'core'));
- $this->showLocalNavBlock();
+ if (Event::handle('StartShowLocalNavBlock', array($this))) {
+ $this->showLocalNavBlock();
+ Event::handle('EndShowLocalNavBlock', array($this));
+ }
if (Event::handle('StartShowContentBlock', array($this))) {
$this->showContentBlock();
Event::handle('EndShowContentBlock', array($this));