]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/action.php
Merge branch '0.8.x' into 0.9.x
[quix0rs-gnu-social.git] / lib / action.php
index 1bdc4daea7cd73eef4ef56ca781eb3d802d9947b..4d724fba519f3f20e5d1385c0b2d54d294079ead 100644 (file)
@@ -120,14 +120,17 @@ class Action extends HTMLOutputter // lawsuit
     {
         // XXX: attributes (profile?)
         $this->elementStart('head');
-        $this->showTitle();
-        $this->showShortcutIcon();
-        $this->showStylesheets();
-        $this->showScripts();
-        $this->showOpenSearch();
-        $this->showFeeds();
-        $this->showDescription();
-        $this->extraHead();
+        if (Event::handle('StartHeadChildren', array($this))) {
+            $this->showTitle();
+            $this->showShortcutIcon();
+            $this->showStylesheets();
+            $this->showScripts();
+            $this->showOpenSearch();
+            $this->showFeeds();
+            $this->showDescription();
+            $this->extraHead();
+            Event::handle('EndHeadChildren', array($this));
+        }
         $this->elementEnd('head');
     }