summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-02-20 17:19:08 -0800
committerZach Copley <zach@controlyourself.ca>2009-02-20 17:19:08 -0800
commitb9f3e1e01e68dec2924746baeae1dba984a85f73 (patch)
tree22a9295eb6c465bb026ad918721449b58b9d32b8 /lib/action.php
parent1fdb35bbf105fe462dcc663ea20b6aa56d654001 (diff)
parent85694e3fa6669e3d59155e32f2cc2f8df3b9f89c (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
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 0c4d0181d..455ebeff0 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));