X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FSiteNoticeInSidebar%2FSiteNoticeInSidebarPlugin.php;h=869a88dfc9278233485ce6ec9490a5cd9c9dd728;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=b487d867204a51414fb8a8ce9f7fa25ef0d14140;hpb=220b51d8be61e9bd316567f3ad03fffdbc4b7526;p=quix0rs-gnu-social.git diff --git a/plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php b/plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php index b487d86720..869a88dfc9 100644 --- a/plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php +++ b/plugins/SiteNoticeInSidebar/SiteNoticeInSidebarPlugin.php @@ -55,12 +55,12 @@ class SiteNoticeInSidebarPlugin extends Plugin * @return */ - function onStartShowSiteNotice($action) + function onStartShowSiteNotice(Action $action) { return false; } - function onStartShowSections($action) + function onStartShowSections(Action $action) { $text = common_config('site', 'notice'); if (!empty($text)) { @@ -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;