]> 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:54:20 +0000 (17:54 +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 fe6b8f6ceffce6c9b0d111faa3302758b84878bc..8d924dea97e015f6111de9c35b46d9bbfb01dbfb 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 7f2568b0401e5134d8859984c6451249dc0fad05..51e6ebac09a3d642eaa758981f32e9dc77feab20 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 9f1abef498e504b764335a514efb49a54b37a585..3afab5f13b1afaf0c2e34bc32dd71eedd88dfe3b 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 8e9451eb02edf2d7583b30398fded4ece0cbcf5a..906509fef5d52573b1b07c53810bc7465ef0efde 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 87165a71d29ad1659b0c1eed237f67d1963ffea5..fcf7e87366fd4ef35663de0f2426561f3e666f75 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 c96491d9e997ff208e8263d464b73071fab8439b..9d7075a3a267750560922a399da57575e60ececc 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 98bb80e68d5a5b6fc5ee05bfd793a73cb1c8396f..056d7a2582dd24bc3444151dedafd0607259b2c0 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 ae43b05d22190081f3d79ba477447e39c896118b..03d45e881fbef5b1bd36d824645aed38b452cf3b 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');