]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
authorZach Copley <zach@controlyourself.ca>
Sat, 21 Feb 2009 01:19:08 +0000 (17:19 -0800)
committerZach Copley <zach@controlyourself.ca>
Sat, 21 Feb 2009 01:19:08 +0000 (17:19 -0800)
EVENTS.txt
lib/action.php
theme/base/css/display.css

index af0bee587c1be7dc32eaa514ceac66848b494765..37e2203d50eb5ac8c9112626bacf0ba1cc35d411 100644 (file)
@@ -82,3 +82,9 @@ StartNoticeSave: before inserting a notice (good place for content filters)
 EndNoticeSave: after inserting a notice and related code
 - $notice: notice that was saved (with ID and URI)
 
+StartShowLocalNavBlock: Showing the local nav menu
+- $action: the current action
+
+EndShowLocalNavBlock: At the end of the local nav menu
+- $action: the current action
+
index 0c4d0181db50302996e6c82f0e49db070989caf1..455ebeff0beb4f3b9898b067243fec04d5ee87d4 100644 (file)
@@ -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));
index b5796374ecf1f0eb6974e676a1a98dc6c4bd17cd..be124f43308ca3c91017d891abd194aaced93eb5 100644 (file)
@@ -900,7 +900,7 @@ left:0;
 left:29px;
 }
 .notice-options .notice_delete {
-left:76px;
+right:0;
 }
 .notice-options .notice_reply dt {
 display:none;