From 150619ca1015247892fa0456cbd78814e490e7da Mon Sep 17 00:00:00 2001 From: Dirk Persky Date: Tue, 28 Dec 2021 20:51:04 +0100 Subject: [PATCH] update documentation --- Configuration/TypoScript/constants.txt | 6 ------ Configuration/TypoScript/setup.txt | 3 --- Documentation/Configuration/Exampe.rst | 4 ---- Documentation/Images/constant.md | 4 ---- README.md | 3 --- Resources/Private/Language/da.locallang.xlf | 6 +++++- Resources/Private/Language/de.locallang.xlf | 6 +++++- Resources/Private/Language/locallang.xlf | 3 +++ Resources/Private/Layouts/Cookie.html | 12 +++-------- .../Public/JavaScript/dp_cookieconsent.js | 19 +++++------------- Resources/Public/css/dp_cookieconsent.css | 2 +- Resources/Public/fonts/icomoon.eot | Bin 1684 -> 0 bytes Resources/Public/fonts/icomoon.svg | 11 ---------- Resources/Public/fonts/icomoon.ttf | Bin 1520 -> 0 bytes Resources/Public/fonts/icomoon.woff | Bin 1596 -> 0 bytes ext_emconf.php | 4 ++-- 16 files changed, 24 insertions(+), 59 deletions(-) delete mode 100644 Resources/Public/fonts/icomoon.eot delete mode 100644 Resources/Public/fonts/icomoon.svg delete mode 100644 Resources/Public/fonts/icomoon.ttf delete mode 100644 Resources/Public/fonts/icomoon.woff diff --git a/Configuration/TypoScript/constants.txt b/Configuration/TypoScript/constants.txt index 2eb73f5..57af246 100644 --- a/Configuration/TypoScript/constants.txt +++ b/Configuration/TypoScript/constants.txt @@ -19,20 +19,14 @@ plugin.tx_cookieconsent { theme = edgeless # cat=plugin.cookieconsent; type=options[top,top-left,top-right,bottom,bottom-left,bottom-right]; label= Position position = bottom-right - # cat=plugin.cookieconsent; type=int+; label= dismiss on scroll (in PX) - dismissOnScroll = # cat=plugin.cookieconsent; type=options[info,opt-out,opt-in]; label = Type type = info - # cat=plugin.cookieconsent; type=options[basic,dpextend]; label = extend layout with checkboxes - layout = basic # cat=plugin.cookieconsent; type=options[true,false]; label = adds a button to review the consent window revokable = true # cat=plugin.cookieconsent; type=options[true,false]; label = pre check statistics in checkboxes layout statistics = false # cat=plugin.cookieconsent; type=options[true,false]; label = pre check marketing in checkboxes layout marketing = false - # cat=plugin.cookieconsent; type=options[true,false]; label = should the cookie popup appear automatically - autoOpen = true # cat=plugin.cookieconsent; type=options[true,false]; label = force page reload after revoke reloadOnRevoke = false diff --git a/Configuration/TypoScript/setup.txt b/Configuration/TypoScript/setup.txt index 893e655..e54802f 100644 --- a/Configuration/TypoScript/setup.txt +++ b/Configuration/TypoScript/setup.txt @@ -20,12 +20,9 @@ plugin.dp_cookieconsent { settings { url = {$plugin.tx_cookieconsent.settings.url} target = {$plugin.tx_cookieconsent.settings.target} - autoOpen = {$plugin.tx_cookieconsent.settings.autoOpen} theme = {$plugin.tx_cookieconsent.settings.theme} position = {$plugin.tx_cookieconsent.settings.position} - dismissOnScroll = {$plugin.tx_cookieconsent.settings.dismissOnScroll} type = {$plugin.tx_cookieconsent.settings.type} - layout = {$plugin.tx_cookieconsent.settings.layout} revokable = {$plugin.tx_cookieconsent.settings.revokable} reloadOnRevoke = {$plugin.tx_cookieconsent.settings.reloadOnRevoke} diff --git a/Documentation/Configuration/Exampe.rst b/Documentation/Configuration/Exampe.rst index 6fdc2bb..468053a 100644 --- a/Documentation/Configuration/Exampe.rst +++ b/Documentation/Configuration/Exampe.rst @@ -17,12 +17,8 @@ This example configuration is based on the base TypoScript-Constants configurati theme = edgeless # Position position = bottom-right - # dismiss on scroll (in PX) - dismissOnScroll = # Type (info, opt-out, opt-in) type = opt-in - # extend layout with checkboxes (basic,dpextend) - layout = dpextend # pre check statistics in checkboxes layout statistics = false # pre check statistics in checkboxes layout diff --git a/Documentation/Images/constant.md b/Documentation/Images/constant.md index 97ba734..00a493c 100644 --- a/Documentation/Images/constant.md +++ b/Documentation/Images/constant.md @@ -6,12 +6,8 @@ plugin.tx_cookieconsent.settings { theme = edgeless # Position position = bottom-right - # dismiss on scroll (in PX) - dismissOnScroll = # Type (info, opt-out, opt-in) type = opt-in - # extend layout with checkboxes (basic,dpextend) - layout = dpextend # pre check statistics in checkboxes layout statistics = false # pre check statistics in checkboxes layout diff --git a/README.md b/README.md index 01c27ba..150b9a5 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,9 @@ Some F.A.Q. can be found [here](https://github.com/DirkPersky/typo3-dp_cookiecon | target | Link target of read more link | | _blank | | theme | Layout of the consent | edgeless, block, wire, classic | edgeless | | position | position of the consent | bottom, top, bottom-left, bottom-right | bottom-right | -| dismissOnScroll | auto accept consent on scroll after XX px | | | -| autoOpen | The application automatically decides whether the popup should open | true, false | true | | revokable | Some countries REQUIRE that users can change their mind | true, false | true | | reloadOnRevoke | force page reload after revoke | true, false | false | | type | consent types *([screenshot](#types))* | info, opt-out, opt-in | info | -| layout | consent layout | basic, dpextend | basic | | statistics | pre check statistics in checkboxes layout | true, false | false | | marketing | pre check marketing in checkboxes layout | true, false | false | | overlay.notice | enable or disable overlay | true, false | false | diff --git a/Resources/Private/Language/da.locallang.xlf b/Resources/Private/Language/da.locallang.xlf index 0f9b734..78bdcf6 100644 --- a/Resources/Private/Language/da.locallang.xlf +++ b/Resources/Private/Language/da.locallang.xlf @@ -1,6 +1,6 @@ -
@@ -12,6 +12,10 @@ allow cookies tillad cookies + + save + gem + allow all! alle accepterer diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf index f24b9c5..8f73556 100644 --- a/Resources/Private/Language/de.locallang.xlf +++ b/Resources/Private/Language/de.locallang.xlf @@ -1,6 +1,6 @@ -
@@ -12,6 +12,10 @@ allow cookies Cookies zulassen! + + save + Speichern + allow all! alle akzeptieren! diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf index e119343..23dca11 100644 --- a/Resources/Private/Language/locallang.xlf +++ b/Resources/Private/Language/locallang.xlf @@ -12,6 +12,9 @@ allow all! + + + save decline diff --git a/Resources/Private/Layouts/Cookie.html b/Resources/Private/Layouts/Cookie.html index 2f654f1..da5aaaa 100644 --- a/Resources/Private/Layouts/Cookie.html +++ b/Resources/Private/Layouts/Cookie.html @@ -15,11 +15,9 @@