From 865182a1c623eed472b304e03ec0355395863c90 Mon Sep 17 00:00:00 2001 From: michnhokn Date: Wed, 16 Sep 2020 12:18:35 +0200 Subject: [PATCH 1/3] defer javascript included in cookie-modal snippet --- snippets/cookie-modal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/cookie-modal.php b/snippets/cookie-modal.php index 07b7c8d..bb8a56f 100644 --- a/snippets/cookie-modal.php +++ b/snippets/cookie-modal.php @@ -38,6 +38,6 @@ - + true]) ?> From 1ff7dcf004ec3e8316d9f964252f28c12a74ae3b Mon Sep 17 00:00:00 2001 From: michnhokn Date: Wed, 16 Sep 2020 12:46:22 +0200 Subject: [PATCH 2/3] values of features are now language variables falling back to given text --- snippets/cookie-modal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/cookie-modal.php b/snippets/cookie-modal.php index bb8a56f..747f99b 100644 --- a/snippets/cookie-modal.php +++ b/snippets/cookie-modal.php @@ -17,7 +17,7 @@ false, 'key' => $key, - 'title' => h($title) + 'title' => t($title, $title) ]) ?> From 82251641dc69ee4a5cf9ef2ea8c9094fa6d22b1c Mon Sep 17 00:00:00 2001 From: michnhokn Date: Wed, 16 Sep 2020 12:46:57 +0200 Subject: [PATCH 3/3] raise version --- composer.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f1bfe09..ebd9ddf 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "michnhokn/kirby3-cookie-banner", "description": "Add a cookie modal to your Kirby3 website", "type": "kirby-plugin", - "version": "1.0.4", + "version": "1.0.5", "license": "MIT", "authors": [ { diff --git a/package.json b/package.json index e74b14d..7b66bae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kirby3-cookie-banner", - "version": "1.0.4", + "version": "1.0.5", "description": "", "author": "Michael Scheurich ", "scripts": {