X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=cookienotice%2Fcookienotice.php;h=9eb77597a09a04260aaace4dc93c689497cc3be6;hb=9e0bc31d422e2fc282323d27e00a056bbf0e9325;hp=5364573ca3571cf16156e3ebd98169c2b96d6e12;hpb=fe4982d51b4c8ca0e0e44058e096549e555afee2;p=friendica-addons.git diff --git a/cookienotice/cookienotice.php b/cookienotice/cookienotice.php index 5364573c..9eb77597 100644 --- a/cookienotice/cookienotice.php +++ b/cookienotice/cookienotice.php @@ -82,7 +82,7 @@ function cookienotice_addon_admin_post(App $a) * * @return void */ -function cookienotice_page_content_top(App $a, array &$b) +function cookienotice_page_content_top(App $a, string &$b) { DI::page()->registerStylesheet(__DIR__ . '/cookienotice.css'); DI::page()->registerFooterScript(__DIR__ . '/cookienotice.js'); @@ -98,7 +98,7 @@ function cookienotice_page_content_top(App $a, array &$b) * * @return void */ -function cookienotice_page_end(App $a, array &$b) +function cookienotice_page_end(App $a, string &$b) { $text = (string)DI::config()->get('cookienotice', 'text', DI::l10n()->t('This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.')); $oktext = (string)DI::config()->get('cookienotice', 'oktext', DI::l10n()->t('OK'));