]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
onEndShowStyles() only uses 'Action' as well.
authorRoland Haeder <roland@mxchange.org>
Sat, 31 Jan 2015 16:50:11 +0000 (17:50 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 31 Jan 2015 16:50:11 +0000 (17:50 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
13 files changed:
plugins/AccountManager/AccountManagerPlugin.php
plugins/ActivitySpam/ActivitySpamPlugin.php
plugins/Bookmark/BookmarkPlugin.php
plugins/Event/EventPlugin.php
plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php
plugins/GNUsocialProfileExtensions/GNUsocialProfileExtensionsPlugin.php
plugins/Mobile/WAP20Plugin.php
plugins/MobileProfile/MobileProfilePlugin.php
plugins/Poll/PollPlugin.php
plugins/QnA/QnAPlugin.php
plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php
plugins/TinyMCE/TinyMCEPlugin.php
plugins/WebFinger/WebFingerPlugin.php

index 768f71510f24c334752c9e223042eaf8008dd50e..24a95395a3d79ffbd3cabd0f4940c18c9abd0277 100644 (file)
@@ -61,7 +61,7 @@ class AccountManagerPlugin extends Plugin
                         common_local_url('AccountManagementControlDocument'));
     }
 
-    function onStartShowHTML($action)
+    function onStartShowHTML(Action $action)
     {
         //Account management discovery link
         header('Link: <'.common_local_url('AccountManagementControlDocument').'>; rel="'. AccountManagerPlugin::AM_REL.'"; type="application/json"');
index 9d61b2ddddba392d34a59203dbe0fccbc14f512b..ae4bf9a7fbbd1c57fbaf61e6158abb518c9cf7c8 100644 (file)
@@ -191,7 +191,7 @@ class ActivitySpamPlugin extends Plugin
         return true;
     }
 
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->element('style', null,
                          '.form-train-spam input.submit { background: url('.$this->path('icons/bullet_black.png').') no-repeat 0px 0px } ' . "\n" .
index d7bd2de87ee27c4a787013f0477202105c4e1dec..234e8accacfcd6578c4242e4ec81a63f26c993b7 100644 (file)
@@ -94,7 +94,7 @@ class BookmarkPlugin extends MicroAppPlugin
      *
      * @return boolean hook value
      */
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->cssLink($this->path('css/bookmark.css'));
         return true;
index 54046d57d592f54e10b09f412165f9cf64bebfa0..b64779fa77b2a69502f2418fc092f28f57df74c5 100644 (file)
@@ -296,7 +296,7 @@ class EventPlugin extends MicroAppPlugin
         $action->script($this->path('js/event.js'));
     }
 
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->cssLink($this->path('css/event.css'));
         return true;
index 986b5457a6a37aa1e2f4506e02cef895271f7168..598af388fbefe7b77eeb9bcab51977c7febd292c 100644 (file)
@@ -157,7 +157,7 @@ class GNUsocialPhotosPlugin extends Plugin
                            _('Photo gallery'), $nav->action->trimmed('action') == 'photos', 'nav_photos');
     }
 
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->cssLink('/plugins/GNUsocialPhotos/res/style.css');
     }
index abef3f47cf689f511ba2ae2933bd52de7d0da4c2..cf8eda17c942dac79262d88912609b861c662124 100644 (file)
@@ -102,7 +102,7 @@ class GNUsocialProfileExtensionsPlugin extends Plugin
         }
     }
     
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->cssLink('/plugins/GNUsocialProfileExtensions/res/style.css');
     }
index fc5008cda6ff91b29990031ef4a4d6a1d245c0e1..a48a32e9f1ecb16e1519f0b14993e5482923d0ae 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
 
 class WAP20Plugin extends Plugin
 {
-    function onStartShowHTML($action)
+    function onStartShowHTML(Action $action)
     {
 
     }
index c496eb0fcb772f9425a042232db15f5ffd06cf8a..145311d5b0efb7a098c9181af00b3cff04f7c221 100644 (file)
@@ -59,7 +59,7 @@ class MobileProfilePlugin extends WAP20Plugin
         parent::__construct();
     }
 
-    function onStartShowHTML($action)
+    function onStartShowHTML(Action $action)
     {
         // XXX: This should probably graduate to WAP20Plugin
 
index 0a673eb30f8299fe0eeeef242a18e2f74ed28126..64b254e41866793cbfded262c62d3c46644b083b 100644 (file)
@@ -77,7 +77,7 @@ class PollPlugin extends MicroAppPlugin
      *
      * @return boolean hook value
      */
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->cssLink($this->path('css/poll.css'));
         return true;
index 7c6c3e00e355fd6367c604ba64be127d71b063da..8dcc0829224b6f0bd9b42ef85dd884addecbd634 100644 (file)
@@ -445,7 +445,7 @@ class QnAPlugin extends MicroAppPlugin
         return true;
     }
 
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->cssLink($this->path('css/qna.css'));
         return true;
index 3131847349f80b9eb1f434001ab47b4bfa73c0d1..0ed0de4544e22cca4939d07e87fc9f3421ab8e14 100644 (file)
@@ -70,7 +70,7 @@ class SiteNoticeInSidebarPlugin extends Plugin
         return true;
     }
 
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         $action->element('style', null, '#site_notice { width: 100% }');
         return true;
index c5db116f0d7269f526cc8d9b6f6d3e8755c85ae9..8f6d52e11294a362a8e0325b099caf605c0b562f 100644 (file)
@@ -68,7 +68,7 @@ class TinyMCEPlugin extends Plugin
         return true;
     }
 
-    function onEndShowStyles($action)
+    function onEndShowStyles(Action $action)
     {
         if ($this->isAllowedRichEdit()) {
             $action->style('span#notice_data-text_container, span#notice_data-text_parent { float: left }');
index 5b7dc20d8681c50f61b302660dc03e38b21b87af..80da17dff6977c31bf671bc345a83fb6ffb67531 100644 (file)
@@ -125,7 +125,7 @@ class WebFingerPlugin extends Plugin
     /**
      * Add a link header for LRDD Discovery
      */
-    public function onStartShowHTML($action)
+    public function onStartShowHTML(Action $action)
     {
         if ($action instanceof ShowstreamAction) {
             $acct = 'acct:'. $action->profile->nickname .'@'. common_config('site', 'server');