WP DSGVO Tools - Version 3.1.15

Version Description

  • implemented/raising an JS Event 'lw-optinout' when an opt-in or opt-out was made
  • possibility to let visitors decide if necessary integrations should be enabled
Download this release

Release Info

Developer legalweb
Plugin Icon 128x128 WP DSGVO Tools
Version 3.1.15
Comparing to
See all releases

Code changes from version 3.1.14 to 3.1.15

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://legalweb.io
4
  Tags: gdpr, dsgvo, datenschutz, privacy, privacy policy, imprint, impressum, wordpress, compliance, privacy, woocommerce, law
5
  Requires at least: 3.0.1
6
  Tested up to: 5.6.0
7
- Stable tag: 3.1.14
8
  Requires PHP: 5.6.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -201,6 +201,10 @@ Just install via wordpress plugin feature or upload zip and activate it.
201
 
202
 
203
  == Changelog ==
 
 
 
 
204
  = 3.1.14 =
205
  * updated webinar section
206
 
4
  Tags: gdpr, dsgvo, datenschutz, privacy, privacy policy, imprint, impressum, wordpress, compliance, privacy, woocommerce, law
5
  Requires at least: 3.0.1
6
  Tested up to: 5.6.0
7
+ Stable tag: 3.1.15
8
  Requires PHP: 5.6.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
201
 
202
 
203
  == Changelog ==
204
+ = 3.1.15 =
205
+ * implemented/raising an JS Event 'lw-optinout' when an opt-in or opt-out was made
206
+ * possibility to let visitors decide if necessary integrations should be enabled
207
+
208
  = 3.1.14 =
209
  * updated webinar section
210
 
admin/tabs/v3/popup-notice/class-sp-dsgvo-cookie-notice-action.php CHANGED
@@ -12,6 +12,7 @@ Class SPDSGVOCookieNoticeAction extends SPDSGVOAjaxAction{
12
  SPDSGVOSettings::set('cookie_notice_display', $this->get('cookie_notice_display', 'none'));
13
  SPDSGVOSettings::set('show_notice_on_close', $this->get('show_notice_on_close', '0'));
14
  SPDSGVOSettings::set('force_cookie_info', $this->get('force_cookie_info', '0'));
 
15
  SPDSGVOSettings::set('cookie_notice_text', $this->get('cookie_notice_text', ''));
16
  SPDSGVOSettings::set('cn_cookie_validity', $this->get('cn_cookie_validity', '86400'));
17
  SPDSGVOSettings::set('cn_cookie_validity_dismiss', $this->get('cn_cookie_validity_dismiss', '86400'));
12
  SPDSGVOSettings::set('cookie_notice_display', $this->get('cookie_notice_display', 'none'));
13
  SPDSGVOSettings::set('show_notice_on_close', $this->get('show_notice_on_close', '0'));
14
  SPDSGVOSettings::set('force_cookie_info', $this->get('force_cookie_info', '0'));
15
+ SPDSGVOSettings::set('mandatory_integrations_editable', $this->get('mandatory_integrations_editable', '0'));
16
  SPDSGVOSettings::set('cookie_notice_text', $this->get('cookie_notice_text', ''));
17
  SPDSGVOSettings::set('cn_cookie_validity', $this->get('cn_cookie_validity', '86400'));
18
  SPDSGVOSettings::set('cn_cookie_validity_dismiss', $this->get('cn_cookie_validity_dismiss', '86400'));
admin/tabs/v3/popup-notice/page.php CHANGED
@@ -50,6 +50,14 @@ $hasValidLicense = isValidPremiumEdition() || isValidBlogEdition();
50
 
51
  ?>
52
 
 
 
 
 
 
 
 
 
53
  <div class="form-group">
54
  <?php $cnCookieValidity = SPDSGVOSettings::get('cn_cookie_validity'); ?>
55
  <label for="cn_cookie_validity"><?php _e('Cookie lifetime if accepted', 'shapepress-dsgvo') ?></label>
50
 
51
  ?>
52
 
53
+ <?php
54
+ spDsgvoWriteInput('toggle', '', 'mandatory_integrations_editable', SPDSGVOSettings::get('mandatory_integrations_editable'),
55
+ __('Let visitors be able to disable necessary integrations', 'shapepress-dsgvo'),
56
+ '',
57
+ __('Let visitors be able to disable necessary integrations and integrations like matomo/piwik/WP Statistics,.. for which no opt-in by your user is required by GDPR. The default value for this setting is off, because you can enable these integrations by default', 'shapepress-dsgvo'));
58
+
59
+ ?>
60
+
61
  <div class="form-group">
62
  <?php $cnCookieValidity = SPDSGVOSettings::get('cn_cookie_validity'); ?>
63
  <label for="cn_cookie_validity"><?php _e('Cookie lifetime if accepted', 'shapepress-dsgvo') ?></label>
includes/class-sp-dsgvo-settings.php CHANGED
@@ -124,6 +124,7 @@ class SPDSGVOSettings{
124
  'cookie_version' => '0',
125
  'display_cookie_notice' => '0',
126
  'force_cookie_info' => '0',
 
127
  'cookie_notice_custom_css' => "",
128
  'cookie_notice_text' => __('To change your privacy setting, e.g. granting or withdrawing consent, click here:','shapepress-dsgvo'),
129
  'cn_cookie_validity' => '86400',
124
  'cookie_version' => '0',
125
  'display_cookie_notice' => '0',
126
  'force_cookie_info' => '0',
127
+ 'mandatory_integrations_editable' => '0',
128
  'cookie_notice_custom_css' => "",
129
  'cookie_notice_text' => __('To change your privacy setting, e.g. granting or withdrawing consent, click here:','shapepress-dsgvo'),
130
  'cn_cookie_validity' => '86400',
languages/shapepress-dsgvo-de_DE.mo CHANGED
Binary file
languages/shapepress-dsgvo-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2021-01-17 13:08+0100\n"
5
- "PO-Revision-Date: 2021-01-17 13:09+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
@@ -402,7 +402,7 @@ msgstr "AGB"
402
 
403
  #: admin/tabs/setup/class-sp-dsgvo-create-page-action.php:51
404
  #: admin/tabs/v3/common-settings/page.php:195
405
- #: includes/class-sp-dsgvo-settings.php:187
406
  msgid "Privacy Policy"
407
  msgstr "Datenschutzerklärung"
408
 
@@ -558,9 +558,9 @@ msgstr "Wird für das Senden von Emailbenachrichtigungen verwendet."
558
  #: admin/tabs/v3/page-basics/page.php:306
559
  #: admin/tabs/v3/page-basics/page.php:358
560
  #: admin/tabs/v3/page-basics/page.php:417
561
- #: admin/tabs/v3/popup-notice/page.php:116
562
- #: admin/tabs/v3/popup-notice/page.php:165
563
- #: admin/tabs/v3/popup-notice/page.php:413
564
  #: admin/tabs/v3/subject-access-request/page.php:79
565
  #: admin/tabs/v3/subject-access-request/page.php:135
566
  #: admin/tabs/v3/super-unsubscribe/page.php:90
@@ -815,7 +815,7 @@ msgid "Text to display at WooCommerce checkout form"
815
  msgstr "Der Text der beim WooCommerce Checkout angezeigt werden soll"
816
 
817
  #: admin/tabs/v3/common-settings/page.php:409
818
- #: admin/tabs/v3/popup-notice/page.php:247
819
  msgid "A message text"
820
  msgstr "Meldungstext"
821
 
@@ -844,7 +844,7 @@ msgstr ""
844
  "Die nachfolgenden Einstellungen definieren das Aussehen der Platzhalter für "
845
  "die Embeddings. Die Vorschau rechts wird bei jedem Speichern aktualisiert."
846
 
847
- #: admin/tabs/v3/embeddings/page.php:26 admin/tabs/v3/popup-notice/page.php:317
848
  msgid "Text/Font color"
849
  msgstr "Text/Schriftfarbe"
850
 
@@ -852,7 +852,7 @@ msgstr "Text/Schriftfarbe"
852
  msgid "Specifies the text/font color of the text within the placeholder."
853
  msgstr "Definiert die Schriftfarbe des Texts im Platzhalter."
854
 
855
- #: admin/tabs/v3/embeddings/page.php:33 admin/tabs/v3/popup-notice/page.php:331
856
  msgid "Button border color"
857
  msgstr "Rahmenfarbe des Buttons"
858
 
@@ -860,7 +860,7 @@ msgstr "Rahmenfarbe des Buttons"
860
  msgid "Specifies the border color of the placeholder opt-in button."
861
  msgstr "Definiert die Rahmenfarbe des Opt-in Buttons im Platzhalter."
862
 
863
- #: admin/tabs/v3/embeddings/page.php:39 admin/tabs/v3/popup-notice/page.php:337
864
  msgid "Size of the button border"
865
  msgstr "Rahmendicke des Buttons"
866
 
@@ -1933,34 +1933,53 @@ msgstr ""
1933
  "OK angezeigt."
1934
 
1935
  #: admin/tabs/v3/popup-notice/page.php:55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1936
  msgid "Cookie lifetime if accepted"
1937
  msgstr "Cookie Speicherdauer wenn akzeptiert wird (alles/partiell)"
1938
 
1939
- #: admin/tabs/v3/popup-notice/page.php:58
1940
- #: admin/tabs/v3/popup-notice/page.php:81
1941
  msgid "Day"
1942
  msgstr "Tag"
1943
 
1944
- #: admin/tabs/v3/popup-notice/page.php:60
1945
- #: admin/tabs/v3/popup-notice/page.php:83
1946
  msgid "Week"
1947
  msgstr "Woche"
1948
 
1949
- #: admin/tabs/v3/popup-notice/page.php:62
1950
- #: admin/tabs/v3/popup-notice/page.php:65
1951
- #: admin/tabs/v3/popup-notice/page.php:68
1952
- #: admin/tabs/v3/popup-notice/page.php:85
1953
- #: admin/tabs/v3/popup-notice/page.php:88
1954
- #: admin/tabs/v3/popup-notice/page.php:91
1955
  msgid "Month"
1956
  msgstr "Monat"
1957
 
1958
- #: admin/tabs/v3/popup-notice/page.php:71
1959
- #: admin/tabs/v3/popup-notice/page.php:94
1960
  msgid "Year"
1961
  msgstr "Jahr"
1962
 
1963
- #: admin/tabs/v3/popup-notice/page.php:74
1964
  msgid ""
1965
  "For this period, the cookie gets stored if the user accepts. After this "
1966
  "period your visitors have to make the cookie choice again."
@@ -1969,11 +1988,11 @@ msgstr ""
1969
  "zustimmt (alles oder partiell). Nach Ablauf dieser Periode müssen Ihre "
1970
  "Besucher erneut eine Auswahl treffen."
1971
 
1972
- #: admin/tabs/v3/popup-notice/page.php:78
1973
  msgid "Cookie lifetime if dismissed"
1974
  msgstr "Cookie Speicherdauer wenn abgelehnt wird"
1975
 
1976
- #: admin/tabs/v3/popup-notice/page.php:97
1977
  msgid ""
1978
  "For this period, the cookie gets stored when a user clicks cancel or dismiss "
1979
  "all. After this period your visitors have to make the cookie choice again."
@@ -1982,15 +2001,15 @@ msgstr ""
1982
  "ablehnt oder das Popup schließt. Nach Ablauf dieser Periode müssen Ihre "
1983
  "Besucher erneut eine Auswahl treffen."
1984
 
1985
- #: admin/tabs/v3/popup-notice/page.php:104
1986
  msgid "Cookie version"
1987
  msgstr "Cookie Version"
1988
 
1989
- #: admin/tabs/v3/popup-notice/page.php:111
1990
  msgid "Refresh/Update Cookie Version"
1991
  msgstr "Erhöhen der Cookie Version"
1992
 
1993
- #: admin/tabs/v3/popup-notice/page.php:112
1994
  msgid ""
1995
  "If you have made changes at your cookie settings (style, integrations,..) "
1996
  "you can force your visitors to make a choice again when you increase the "
@@ -2001,53 +2020,53 @@ msgstr ""
2001
  "Popup bzw. die Notice Ihren Besuchern anzeigen und diese um eine erneute "
2002
  "Auswahl zu bitten."
2003
 
2004
- #: admin/tabs/v3/popup-notice/page.php:125
2005
  msgid "Cookie Popup customization"
2006
  msgstr "Cookie Popup Anpassung"
2007
 
2008
- #: admin/tabs/v3/popup-notice/page.php:132
2009
  msgid "Enable Dark Mode of the popup"
2010
  msgstr "Aktiviere den Dark Mode des Popups"
2011
 
2012
- #: admin/tabs/v3/popup-notice/page.php:134
2013
  msgid "Shows the popup in dark colors."
2014
  msgstr "Stellt das Popup mit dunklem Hintergrund und heller Schrift dar."
2015
 
2016
- #: admin/tabs/v3/popup-notice/page.php:149
2017
  msgid "Popup header logo"
2018
  msgstr "Popup Logo"
2019
 
2020
- #: admin/tabs/v3/popup-notice/page.php:150
2021
  msgid "We recommend to use a square image."
2022
  msgstr "Wir empfehlen die Benutzung eines quadratischen Logos."
2023
 
2024
- #: admin/tabs/v3/popup-notice/page.php:159
2025
  msgid "Upload image"
2026
  msgstr "Bild uploaden"
2027
 
2028
- #: admin/tabs/v3/popup-notice/page.php:174
2029
  msgid "Cookie Notice customization"
2030
  msgstr "Cookie Notice Anpassung"
2031
 
2032
- #: admin/tabs/v3/popup-notice/page.php:183
2033
  msgid "Cookie notice style"
2034
  msgstr "Cookie Notice Stil"
2035
 
2036
- #: admin/tabs/v3/popup-notice/page.php:189
2037
- #: admin/tabs/v3/popup-notice/page.php:288
2038
- #: admin/tabs/v3/popup-notice/page.php:386
2039
  msgid "Default"
2040
  msgstr "Standard"
2041
 
2042
- #: admin/tabs/v3/popup-notice/page.php:207
2043
  msgid "Choose one of our cookie notice style templates."
2044
  msgstr "Wählen Sie ein Templates für die Cookie Notice."
2045
 
2046
- #: admin/tabs/v3/popup-notice/page.php:246
2047
  msgid "Cookie Notice text"
2048
  msgstr "Cookie Notice Text"
2049
 
2050
- #: admin/tabs/v3/popup-notice/page.php:248
2051
  msgid ""
2052
  "This text gets displayed within the cookie notice. If you use WPML you can "
2053
  "translate these inputs via WPML String Translations."
@@ -2055,7 +2074,7 @@ msgstr ""
2055
  "<strong>Wichtiger Hinweis:</strong> Falls Sie WPML verwenden, können Sie mit "
2056
  "Hilfe der WPML String Translations diese Texte übersetzen."
2057
 
2058
- #: admin/tabs/v3/popup-notice/page.php:250
2059
  msgid ""
2060
  "Warning: If you change this text by your own you risk not be confirm with "
2061
  "the GDPR."
@@ -2063,89 +2082,89 @@ msgstr ""
2063
  "Warnung: Wenn Sie diesen Text ändern, verlieren Sie eventuell die DSGVO-"
2064
  "Konformität."
2065
 
2066
- #: admin/tabs/v3/popup-notice/page.php:255
2067
  msgid "Position:"
2068
  msgstr "Position:"
2069
 
2070
- #: admin/tabs/v3/popup-notice/page.php:257
2071
  msgid "On top"
2072
  msgstr "Oben"
2073
 
2074
- #: admin/tabs/v3/popup-notice/page.php:260
2075
  msgid "Bottom"
2076
  msgstr "Unten"
2077
 
2078
- #: admin/tabs/v3/popup-notice/page.php:263
2079
  msgid "Specifies the location where the cookie notice should be displayed."
2080
  msgstr "Gibt die Position an wo die Cookie Notice angezeigt werden soll."
2081
 
2082
- #: admin/tabs/v3/popup-notice/page.php:268
2083
  msgid "Animation"
2084
  msgstr "Animation"
2085
 
2086
- #: admin/tabs/v3/popup-notice/page.php:270
2087
  msgid "None"
2088
  msgstr "Keine"
2089
 
2090
- #: admin/tabs/v3/popup-notice/page.php:273
2091
  msgid "fade"
2092
  msgstr "Ausgleiten"
2093
 
2094
- #: admin/tabs/v3/popup-notice/page.php:276
2095
  msgid "hide"
2096
  msgstr "Ausblenden"
2097
 
2098
- #: admin/tabs/v3/popup-notice/page.php:279
2099
  msgid "Animation when accepting the cookie message."
2100
  msgstr "Animation beim Akzeptieren der Cookie-Nachricht."
2101
 
2102
- #: admin/tabs/v3/popup-notice/page.php:283
2103
  msgid "Font size"
2104
  msgstr "Textgröße"
2105
 
2106
- #: admin/tabs/v3/popup-notice/page.php:310
2107
  msgid "Background color"
2108
  msgstr "Hintergrundfarbe"
2109
 
2110
- #: admin/tabs/v3/popup-notice/page.php:312
2111
  msgid "Specifies the background color of the cookie notice."
2112
  msgstr "Definiert die Hintergrundfarbe der Cookie Notice."
2113
 
2114
- #: admin/tabs/v3/popup-notice/page.php:319
2115
  msgid "Specifies the text/font color of the cookie notice text."
2116
  msgstr "Definiert die Schriftfarbe der Cookie Notice."
2117
 
2118
- #: admin/tabs/v3/popup-notice/page.php:324
2119
  msgid "Button background color"
2120
  msgstr "Hintergrundfarbe des Buttons"
2121
 
2122
- #: admin/tabs/v3/popup-notice/page.php:326
2123
  msgid "Specifies the background color of the cookie notice button."
2124
  msgstr "Definiert die Hintergrundfarbe des Buttons der Cookie Notice."
2125
 
2126
- #: admin/tabs/v3/popup-notice/page.php:333
2127
  msgid "Specifies the border color of the cookie notice button."
2128
  msgstr "Definiert die Rahmenfarbe des Buttons der Cookie Notice."
2129
 
2130
- #: admin/tabs/v3/popup-notice/page.php:352
2131
  msgid "Button text/font color"
2132
  msgstr "Schriftfarbe des Buttons"
2133
 
2134
- #: admin/tabs/v3/popup-notice/page.php:354
2135
  msgid "Specifies the text/font color of the cookie notice button."
2136
  msgstr "Definiert die Schriftfarbe des Buttons der Cookie Notice."
2137
 
2138
- #: admin/tabs/v3/popup-notice/page.php:359
2139
  msgid "CSS class cookie notice"
2140
  msgstr "CSS Klasse Cookie Notice"
2141
 
2142
- #: admin/tabs/v3/popup-notice/page.php:360
2143
- #: admin/tabs/v3/popup-notice/page.php:367
2144
- #: admin/tabs/v3/popup-notice/page.php:374
2145
  msgid ".myClass1 .myClass2"
2146
  msgstr ""
2147
 
2148
- #: admin/tabs/v3/popup-notice/page.php:361
2149
  msgid ""
2150
  "Specifies one or multiple additional classes for the cookie notice. Please "
2151
  "specify them without leading \".\""
@@ -2153,11 +2172,11 @@ msgstr ""
2153
  "Hier können Sie eine oder mehrere zusätzliche CSS Klassen angeben um die "
2154
  "Cookie Notice anzupassen. Bitte geben Sie diese ohne führenden Punkte an."
2155
 
2156
- #: admin/tabs/v3/popup-notice/page.php:366
2157
  msgid "CSS class text"
2158
  msgstr "CSS Klassen für Text"
2159
 
2160
- #: admin/tabs/v3/popup-notice/page.php:368
2161
  msgid ""
2162
  "Specifies one or multiple additional classes for the text of cookie notice. "
2163
  "Please specify them with leading \".\""
@@ -2166,11 +2185,11 @@ msgstr ""
2166
  "Text der Cookie Notice anzupassen. Bitte geben Sie diese ohne führenden "
2167
  "Punkte an."
2168
 
2169
- #: admin/tabs/v3/popup-notice/page.php:373
2170
  msgid "CSS class button"
2171
  msgstr "CSS Klasse für Button"
2172
 
2173
- #: admin/tabs/v3/popup-notice/page.php:375
2174
  msgid ""
2175
  "Specifies one or multiple additional classes for the button of cookie "
2176
  "notice. Please specify them with leading \".\""
@@ -2179,15 +2198,15 @@ msgstr ""
2179
  "Buttons der Cookie Notice anzupassen. Bitte geben Sie diese ohne führenden "
2180
  "Punkte an."
2181
 
2182
- #: admin/tabs/v3/popup-notice/page.php:381
2183
  msgid "Height of cookie notice"
2184
  msgstr "Höhe der Cookie Notice"
2185
 
2186
- #: admin/tabs/v3/popup-notice/page.php:407
2187
  msgid "Show WP DSGVO Tools (GDPR) icon"
2188
  msgstr "WP DSGVO Tools (GDPR) Icon anzeigen"
2189
 
2190
- #: admin/tabs/v3/popup-notice/page.php:409
2191
  msgid ""
2192
  "Displays the WP DSGVO Tools (GDPR) icon on the left side of the cookie "
2193
  "notice."
@@ -2382,8 +2401,8 @@ msgstr "Ablehnen"
2382
 
2383
  #: admin/tabs/v3/subject-access-request/page.php:188
2384
  #: admin/tabs/v3/super-unsubscribe/page.php:301
2385
- #: public/class-sp-dsgvo-public.php:737 public/class-sp-dsgvo-public.php:844
2386
- #: public/class-sp-dsgvo-public.php:888
2387
  msgid "Yes"
2388
  msgstr "Ja"
2389
 
@@ -2397,8 +2416,8 @@ msgstr "Ja"
2397
  #: includes/integrations/targeting/fbpixel/page.php:45
2398
  #: includes/integrations/targeting/gadsense/page.php:43
2399
  #: includes/integrations/targeting/linkedinpixel/page.php:45
2400
- #: public/class-sp-dsgvo-public.php:737 public/class-sp-dsgvo-public.php:844
2401
- #: public/class-sp-dsgvo-public.php:888
2402
  msgid "No"
2403
  msgstr "Nein"
2404
 
@@ -3979,7 +3998,7 @@ msgid ""
3979
  msgstr ""
3980
  "Ich stimme der Speicherung der Daten zur Verarbeitung im Sinne der DSGVO zu."
3981
 
3982
- #: includes/class-sp-dsgvo-settings.php:128
3983
  msgid ""
3984
  "To change your privacy setting, e.g. granting or withdrawing consent, click "
3985
  "here:"
@@ -3987,15 +4006,15 @@ msgstr ""
3987
  "Zum Ändern Ihrer Datenschutzeinstellung, z.B. Erteilung oder Widerruf von "
3988
  "Einwilligungen, klicken Sie hier:"
3989
 
3990
- #: includes/class-sp-dsgvo-settings.php:131
3991
  msgid "OK"
3992
  msgstr "OK"
3993
 
3994
- #: includes/class-sp-dsgvo-settings.php:135
3995
  msgid "Deny"
3996
  msgstr "Ablehnen"
3997
 
3998
- #: includes/class-sp-dsgvo-settings.php:138
3999
  msgid "More information"
4000
  msgstr "Mehr Information"
4001
 
@@ -4690,27 +4709,27 @@ msgstr "Nichts<br />akzeptieren"
4690
  msgid "Accept <br />all"
4691
  msgstr "Alles<br />akzeptieren"
4692
 
4693
- #: public/class-sp-dsgvo-public.php:835
4694
  msgid "Service"
4695
  msgstr "Dienst"
4696
 
4697
- #: public/class-sp-dsgvo-public.php:835
4698
  msgid "Services"
4699
  msgstr "Dienste"
4700
 
4701
- #: public/class-sp-dsgvo-public.php:868
4702
  msgid "via"
4703
  msgstr "via"
4704
 
4705
- #: public/class-sp-dsgvo-public.php:872
4706
  msgid "Local installation"
4707
  msgstr "Lokale Installation"
4708
 
4709
- #: public/class-sp-dsgvo-public.php:878 public/class-sp-dsgvo-public.php:883
4710
  msgid "All Details"
4711
  msgstr "Alle Details"
4712
 
4713
- #: public/class-sp-dsgvo-public.php:1112
4714
  msgid "Terms: "
4715
  msgstr "AGB: "
4716
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2021-01-22 09:06+0100\n"
5
+ "PO-Revision-Date: 2021-01-22 09:09+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
402
 
403
  #: admin/tabs/setup/class-sp-dsgvo-create-page-action.php:51
404
  #: admin/tabs/v3/common-settings/page.php:195
405
+ #: includes/class-sp-dsgvo-settings.php:188
406
  msgid "Privacy Policy"
407
  msgstr "Datenschutzerklärung"
408
 
558
  #: admin/tabs/v3/page-basics/page.php:306
559
  #: admin/tabs/v3/page-basics/page.php:358
560
  #: admin/tabs/v3/page-basics/page.php:417
561
+ #: admin/tabs/v3/popup-notice/page.php:124
562
+ #: admin/tabs/v3/popup-notice/page.php:173
563
+ #: admin/tabs/v3/popup-notice/page.php:421
564
  #: admin/tabs/v3/subject-access-request/page.php:79
565
  #: admin/tabs/v3/subject-access-request/page.php:135
566
  #: admin/tabs/v3/super-unsubscribe/page.php:90
815
  msgstr "Der Text der beim WooCommerce Checkout angezeigt werden soll"
816
 
817
  #: admin/tabs/v3/common-settings/page.php:409
818
+ #: admin/tabs/v3/popup-notice/page.php:255
819
  msgid "A message text"
820
  msgstr "Meldungstext"
821
 
844
  "Die nachfolgenden Einstellungen definieren das Aussehen der Platzhalter für "
845
  "die Embeddings. Die Vorschau rechts wird bei jedem Speichern aktualisiert."
846
 
847
+ #: admin/tabs/v3/embeddings/page.php:26 admin/tabs/v3/popup-notice/page.php:325
848
  msgid "Text/Font color"
849
  msgstr "Text/Schriftfarbe"
850
 
852
  msgid "Specifies the text/font color of the text within the placeholder."
853
  msgstr "Definiert die Schriftfarbe des Texts im Platzhalter."
854
 
855
+ #: admin/tabs/v3/embeddings/page.php:33 admin/tabs/v3/popup-notice/page.php:339
856
  msgid "Button border color"
857
  msgstr "Rahmenfarbe des Buttons"
858
 
860
  msgid "Specifies the border color of the placeholder opt-in button."
861
  msgstr "Definiert die Rahmenfarbe des Opt-in Buttons im Platzhalter."
862
 
863
+ #: admin/tabs/v3/embeddings/page.php:39 admin/tabs/v3/popup-notice/page.php:345
864
  msgid "Size of the button border"
865
  msgstr "Rahmendicke des Buttons"
866
 
1933
  "OK angezeigt."
1934
 
1935
  #: admin/tabs/v3/popup-notice/page.php:55
1936
+ msgid "Let visitors be able to disable necessary integrations"
1937
+ msgstr ""
1938
+ "Besuchern die Möglichkeit \"techn. notwendige Integrationen\" zu aktivieren/"
1939
+ "deaktivieren"
1940
+
1941
+ #: admin/tabs/v3/popup-notice/page.php:57
1942
+ msgid ""
1943
+ "Let visitors be able to disable necessary integrations and integrations "
1944
+ "like matomo/piwik/WP Statistics,.. for which no opt-in by your user is "
1945
+ "required by GDPR. The default value for this setting is off, because you can "
1946
+ "enable these integrations by default"
1947
+ msgstr ""
1948
+ "Besucher die Option geben, notwendige Integrationen und Integrationen wie "
1949
+ "matomo / piwik / WP Statistics zu aktivieren/deaktivieren, für die "
1950
+ "eigentlich eine Zustimmung benötigt wird. Der Standardwert für diese "
1951
+ "Einstellung ist deaktiviert, da Sie diese Integrationen standardmäßig "
1952
+ "aktivieren können"
1953
+
1954
+ #: admin/tabs/v3/popup-notice/page.php:63
1955
  msgid "Cookie lifetime if accepted"
1956
  msgstr "Cookie Speicherdauer wenn akzeptiert wird (alles/partiell)"
1957
 
1958
+ #: admin/tabs/v3/popup-notice/page.php:66
1959
+ #: admin/tabs/v3/popup-notice/page.php:89
1960
  msgid "Day"
1961
  msgstr "Tag"
1962
 
1963
+ #: admin/tabs/v3/popup-notice/page.php:68
1964
+ #: admin/tabs/v3/popup-notice/page.php:91
1965
  msgid "Week"
1966
  msgstr "Woche"
1967
 
1968
+ #: admin/tabs/v3/popup-notice/page.php:70
1969
+ #: admin/tabs/v3/popup-notice/page.php:73
1970
+ #: admin/tabs/v3/popup-notice/page.php:76
1971
+ #: admin/tabs/v3/popup-notice/page.php:93
1972
+ #: admin/tabs/v3/popup-notice/page.php:96
1973
+ #: admin/tabs/v3/popup-notice/page.php:99
1974
  msgid "Month"
1975
  msgstr "Monat"
1976
 
1977
+ #: admin/tabs/v3/popup-notice/page.php:79
1978
+ #: admin/tabs/v3/popup-notice/page.php:102
1979
  msgid "Year"
1980
  msgstr "Jahr"
1981
 
1982
+ #: admin/tabs/v3/popup-notice/page.php:82
1983
  msgid ""
1984
  "For this period, the cookie gets stored if the user accepts. After this "
1985
  "period your visitors have to make the cookie choice again."
1988
  "zustimmt (alles oder partiell). Nach Ablauf dieser Periode müssen Ihre "
1989
  "Besucher erneut eine Auswahl treffen."
1990
 
1991
+ #: admin/tabs/v3/popup-notice/page.php:86
1992
  msgid "Cookie lifetime if dismissed"
1993
  msgstr "Cookie Speicherdauer wenn abgelehnt wird"
1994
 
1995
+ #: admin/tabs/v3/popup-notice/page.php:105
1996
  msgid ""
1997
  "For this period, the cookie gets stored when a user clicks cancel or dismiss "
1998
  "all. After this period your visitors have to make the cookie choice again."
2001
  "ablehnt oder das Popup schließt. Nach Ablauf dieser Periode müssen Ihre "
2002
  "Besucher erneut eine Auswahl treffen."
2003
 
2004
+ #: admin/tabs/v3/popup-notice/page.php:112
2005
  msgid "Cookie version"
2006
  msgstr "Cookie Version"
2007
 
2008
+ #: admin/tabs/v3/popup-notice/page.php:119
2009
  msgid "Refresh/Update Cookie Version"
2010
  msgstr "Erhöhen der Cookie Version"
2011
 
2012
+ #: admin/tabs/v3/popup-notice/page.php:120
2013
  msgid ""
2014
  "If you have made changes at your cookie settings (style, integrations,..) "
2015
  "you can force your visitors to make a choice again when you increase the "
2020
  "Popup bzw. die Notice Ihren Besuchern anzeigen und diese um eine erneute "
2021
  "Auswahl zu bitten."
2022
 
2023
+ #: admin/tabs/v3/popup-notice/page.php:133
2024
  msgid "Cookie Popup customization"
2025
  msgstr "Cookie Popup Anpassung"
2026
 
2027
+ #: admin/tabs/v3/popup-notice/page.php:140
2028
  msgid "Enable Dark Mode of the popup"
2029
  msgstr "Aktiviere den Dark Mode des Popups"
2030
 
2031
+ #: admin/tabs/v3/popup-notice/page.php:142
2032
  msgid "Shows the popup in dark colors."
2033
  msgstr "Stellt das Popup mit dunklem Hintergrund und heller Schrift dar."
2034
 
2035
+ #: admin/tabs/v3/popup-notice/page.php:157
2036
  msgid "Popup header logo"
2037
  msgstr "Popup Logo"
2038
 
2039
+ #: admin/tabs/v3/popup-notice/page.php:158
2040
  msgid "We recommend to use a square image."
2041
  msgstr "Wir empfehlen die Benutzung eines quadratischen Logos."
2042
 
2043
+ #: admin/tabs/v3/popup-notice/page.php:167
2044
  msgid "Upload image"
2045
  msgstr "Bild uploaden"
2046
 
2047
+ #: admin/tabs/v3/popup-notice/page.php:182
2048
  msgid "Cookie Notice customization"
2049
  msgstr "Cookie Notice Anpassung"
2050
 
2051
+ #: admin/tabs/v3/popup-notice/page.php:191
2052
  msgid "Cookie notice style"
2053
  msgstr "Cookie Notice Stil"
2054
 
2055
+ #: admin/tabs/v3/popup-notice/page.php:197
2056
+ #: admin/tabs/v3/popup-notice/page.php:296
2057
+ #: admin/tabs/v3/popup-notice/page.php:394
2058
  msgid "Default"
2059
  msgstr "Standard"
2060
 
2061
+ #: admin/tabs/v3/popup-notice/page.php:215
2062
  msgid "Choose one of our cookie notice style templates."
2063
  msgstr "Wählen Sie ein Templates für die Cookie Notice."
2064
 
2065
+ #: admin/tabs/v3/popup-notice/page.php:254
2066
  msgid "Cookie Notice text"
2067
  msgstr "Cookie Notice Text"
2068
 
2069
+ #: admin/tabs/v3/popup-notice/page.php:256
2070
  msgid ""
2071
  "This text gets displayed within the cookie notice. If you use WPML you can "
2072
  "translate these inputs via WPML String Translations."
2074
  "<strong>Wichtiger Hinweis:</strong> Falls Sie WPML verwenden, können Sie mit "
2075
  "Hilfe der WPML String Translations diese Texte übersetzen."
2076
 
2077
+ #: admin/tabs/v3/popup-notice/page.php:258
2078
  msgid ""
2079
  "Warning: If you change this text by your own you risk not be confirm with "
2080
  "the GDPR."
2082
  "Warnung: Wenn Sie diesen Text ändern, verlieren Sie eventuell die DSGVO-"
2083
  "Konformität."
2084
 
2085
+ #: admin/tabs/v3/popup-notice/page.php:263
2086
  msgid "Position:"
2087
  msgstr "Position:"
2088
 
2089
+ #: admin/tabs/v3/popup-notice/page.php:265
2090
  msgid "On top"
2091
  msgstr "Oben"
2092
 
2093
+ #: admin/tabs/v3/popup-notice/page.php:268
2094
  msgid "Bottom"
2095
  msgstr "Unten"
2096
 
2097
+ #: admin/tabs/v3/popup-notice/page.php:271
2098
  msgid "Specifies the location where the cookie notice should be displayed."
2099
  msgstr "Gibt die Position an wo die Cookie Notice angezeigt werden soll."
2100
 
2101
+ #: admin/tabs/v3/popup-notice/page.php:276
2102
  msgid "Animation"
2103
  msgstr "Animation"
2104
 
2105
+ #: admin/tabs/v3/popup-notice/page.php:278
2106
  msgid "None"
2107
  msgstr "Keine"
2108
 
2109
+ #: admin/tabs/v3/popup-notice/page.php:281
2110
  msgid "fade"
2111
  msgstr "Ausgleiten"
2112
 
2113
+ #: admin/tabs/v3/popup-notice/page.php:284
2114
  msgid "hide"
2115
  msgstr "Ausblenden"
2116
 
2117
+ #: admin/tabs/v3/popup-notice/page.php:287
2118
  msgid "Animation when accepting the cookie message."
2119
  msgstr "Animation beim Akzeptieren der Cookie-Nachricht."
2120
 
2121
+ #: admin/tabs/v3/popup-notice/page.php:291
2122
  msgid "Font size"
2123
  msgstr "Textgröße"
2124
 
2125
+ #: admin/tabs/v3/popup-notice/page.php:318
2126
  msgid "Background color"
2127
  msgstr "Hintergrundfarbe"
2128
 
2129
+ #: admin/tabs/v3/popup-notice/page.php:320
2130
  msgid "Specifies the background color of the cookie notice."
2131
  msgstr "Definiert die Hintergrundfarbe der Cookie Notice."
2132
 
2133
+ #: admin/tabs/v3/popup-notice/page.php:327
2134
  msgid "Specifies the text/font color of the cookie notice text."
2135
  msgstr "Definiert die Schriftfarbe der Cookie Notice."
2136
 
2137
+ #: admin/tabs/v3/popup-notice/page.php:332
2138
  msgid "Button background color"
2139
  msgstr "Hintergrundfarbe des Buttons"
2140
 
2141
+ #: admin/tabs/v3/popup-notice/page.php:334
2142
  msgid "Specifies the background color of the cookie notice button."
2143
  msgstr "Definiert die Hintergrundfarbe des Buttons der Cookie Notice."
2144
 
2145
+ #: admin/tabs/v3/popup-notice/page.php:341
2146
  msgid "Specifies the border color of the cookie notice button."
2147
  msgstr "Definiert die Rahmenfarbe des Buttons der Cookie Notice."
2148
 
2149
+ #: admin/tabs/v3/popup-notice/page.php:360
2150
  msgid "Button text/font color"
2151
  msgstr "Schriftfarbe des Buttons"
2152
 
2153
+ #: admin/tabs/v3/popup-notice/page.php:362
2154
  msgid "Specifies the text/font color of the cookie notice button."
2155
  msgstr "Definiert die Schriftfarbe des Buttons der Cookie Notice."
2156
 
2157
+ #: admin/tabs/v3/popup-notice/page.php:367
2158
  msgid "CSS class cookie notice"
2159
  msgstr "CSS Klasse Cookie Notice"
2160
 
2161
+ #: admin/tabs/v3/popup-notice/page.php:368
2162
+ #: admin/tabs/v3/popup-notice/page.php:375
2163
+ #: admin/tabs/v3/popup-notice/page.php:382
2164
  msgid ".myClass1 .myClass2"
2165
  msgstr ""
2166
 
2167
+ #: admin/tabs/v3/popup-notice/page.php:369
2168
  msgid ""
2169
  "Specifies one or multiple additional classes for the cookie notice. Please "
2170
  "specify them without leading \".\""
2172
  "Hier können Sie eine oder mehrere zusätzliche CSS Klassen angeben um die "
2173
  "Cookie Notice anzupassen. Bitte geben Sie diese ohne führenden Punkte an."
2174
 
2175
+ #: admin/tabs/v3/popup-notice/page.php:374
2176
  msgid "CSS class text"
2177
  msgstr "CSS Klassen für Text"
2178
 
2179
+ #: admin/tabs/v3/popup-notice/page.php:376
2180
  msgid ""
2181
  "Specifies one or multiple additional classes for the text of cookie notice. "
2182
  "Please specify them with leading \".\""
2185
  "Text der Cookie Notice anzupassen. Bitte geben Sie diese ohne führenden "
2186
  "Punkte an."
2187
 
2188
+ #: admin/tabs/v3/popup-notice/page.php:381
2189
  msgid "CSS class button"
2190
  msgstr "CSS Klasse für Button"
2191
 
2192
+ #: admin/tabs/v3/popup-notice/page.php:383
2193
  msgid ""
2194
  "Specifies one or multiple additional classes for the button of cookie "
2195
  "notice. Please specify them with leading \".\""
2198
  "Buttons der Cookie Notice anzupassen. Bitte geben Sie diese ohne führenden "
2199
  "Punkte an."
2200
 
2201
+ #: admin/tabs/v3/popup-notice/page.php:389
2202
  msgid "Height of cookie notice"
2203
  msgstr "Höhe der Cookie Notice"
2204
 
2205
+ #: admin/tabs/v3/popup-notice/page.php:415
2206
  msgid "Show WP DSGVO Tools (GDPR) icon"
2207
  msgstr "WP DSGVO Tools (GDPR) Icon anzeigen"
2208
 
2209
+ #: admin/tabs/v3/popup-notice/page.php:417
2210
  msgid ""
2211
  "Displays the WP DSGVO Tools (GDPR) icon on the left side of the cookie "
2212
  "notice."
2401
 
2402
  #: admin/tabs/v3/subject-access-request/page.php:188
2403
  #: admin/tabs/v3/super-unsubscribe/page.php:301
2404
+ #: public/class-sp-dsgvo-public.php:737 public/class-sp-dsgvo-public.php:847
2405
+ #: public/class-sp-dsgvo-public.php:891
2406
  msgid "Yes"
2407
  msgstr "Ja"
2408
 
2416
  #: includes/integrations/targeting/fbpixel/page.php:45
2417
  #: includes/integrations/targeting/gadsense/page.php:43
2418
  #: includes/integrations/targeting/linkedinpixel/page.php:45
2419
+ #: public/class-sp-dsgvo-public.php:737 public/class-sp-dsgvo-public.php:847
2420
+ #: public/class-sp-dsgvo-public.php:891
2421
  msgid "No"
2422
  msgstr "Nein"
2423
 
3998
  msgstr ""
3999
  "Ich stimme der Speicherung der Daten zur Verarbeitung im Sinne der DSGVO zu."
4000
 
4001
+ #: includes/class-sp-dsgvo-settings.php:129
4002
  msgid ""
4003
  "To change your privacy setting, e.g. granting or withdrawing consent, click "
4004
  "here:"
4006
  "Zum Ändern Ihrer Datenschutzeinstellung, z.B. Erteilung oder Widerruf von "
4007
  "Einwilligungen, klicken Sie hier:"
4008
 
4009
+ #: includes/class-sp-dsgvo-settings.php:132
4010
  msgid "OK"
4011
  msgstr "OK"
4012
 
4013
+ #: includes/class-sp-dsgvo-settings.php:136
4014
  msgid "Deny"
4015
  msgstr "Ablehnen"
4016
 
4017
+ #: includes/class-sp-dsgvo-settings.php:139
4018
  msgid "More information"
4019
  msgstr "Mehr Information"
4020
 
4709
  msgid "Accept <br />all"
4710
  msgstr "Alles<br />akzeptieren"
4711
 
4712
+ #: public/class-sp-dsgvo-public.php:838
4713
  msgid "Service"
4714
  msgstr "Dienst"
4715
 
4716
+ #: public/class-sp-dsgvo-public.php:838
4717
  msgid "Services"
4718
  msgstr "Dienste"
4719
 
4720
+ #: public/class-sp-dsgvo-public.php:871
4721
  msgid "via"
4722
  msgstr "via"
4723
 
4724
+ #: public/class-sp-dsgvo-public.php:875
4725
  msgid "Local installation"
4726
  msgstr "Lokale Installation"
4727
 
4728
+ #: public/class-sp-dsgvo-public.php:881 public/class-sp-dsgvo-public.php:886
4729
  msgid "All Details"
4730
  msgstr "Alle Details"
4731
 
4732
+ #: public/class-sp-dsgvo-public.php:1115
4733
  msgid "Terms: "
4734
  msgstr "AGB: "
4735
 
public/class-sp-dsgvo-public.php CHANGED
@@ -827,6 +827,9 @@ class SPDSGVOPublic
827
  // fetch all integrations with given category and check if they are enabled
828
  $integrations = SPDSGVOIntegrationApiBase::getAllIntegrationApis($categorySlug, FALSE);
829
 
 
 
 
830
  ?>
831
  <div class="sp-dsgvo-category-container">
832
  <div>
@@ -840,7 +843,7 @@ class SPDSGVOPublic
840
  <div class="sp-dsgvo-category-toggle lwb-col-3">
841
 
842
  <label class="switch switch-green float-right">
843
- <input type="checkbox" class="switch-input" value="1" name="sp-dsgvo-switch-category" <?php echo $categorySlug == SPDSGVOConstants::CATEGORY_SLUG_MANDATORY ? 'checked disabled' : '' ?> data-slug="<?= $categorySlug?>" id="sp-dsgvo-switch-category-<?= $categorySlug?>">
844
  <span class="switch-label" data-on="<?= __('Yes', 'shapepress-dsgvo');?>" data-off="<?= __('No', 'shapepress-dsgvo');?>"></span>
845
  <span class="switch-handle"></span>
846
  </label>
@@ -857,7 +860,7 @@ class SPDSGVOPublic
857
  $withTagmanager = (array_key_exists('usedTagmanager', $settings) && $settings['usedTagmanager'] != '');
858
  $usedTagmanager = array_key_exists('usedTagmanager', $settings) && $settings['usedTagmanager'] != '' ? $settings['usedTagmanager'] : '';
859
  $isLocal = (array_key_exists('implementationMode', $settings) && $settings['implementationMode'] == 'on-premises');
860
- $isReadonly = $isLocal || $categorySlug == SPDSGVOConstants::CATEGORY_SLUG_MANDATORY;
861
  ?>
862
  <hr />
863
  <div class="sp-dsgvo-category-item lwb-row no-gutters pl-1">
827
  // fetch all integrations with given category and check if they are enabled
828
  $integrations = SPDSGVOIntegrationApiBase::getAllIntegrationApis($categorySlug, FALSE);
829
 
830
+ $mandatoryIntegrationsEditable = SPDSGVOSettings::get('mandatory_integrations_editable') == '1';
831
+ $isReadonly = ($categorySlug == SPDSGVOConstants::CATEGORY_SLUG_MANDATORY) && $mandatoryIntegrationsEditable == false;
832
+
833
  ?>
834
  <div class="sp-dsgvo-category-container">
835
  <div>
843
  <div class="sp-dsgvo-category-toggle lwb-col-3">
844
 
845
  <label class="switch switch-green float-right">
846
+ <input type="checkbox" class="switch-input" value="1" name="sp-dsgvo-switch-category" <?php echo $isReadonly ? 'checked disabled' : '' ?> data-slug="<?= $categorySlug?>" id="sp-dsgvo-switch-category-<?= $categorySlug?>">
847
  <span class="switch-label" data-on="<?= __('Yes', 'shapepress-dsgvo');?>" data-off="<?= __('No', 'shapepress-dsgvo');?>"></span>
848
  <span class="switch-handle"></span>
849
  </label>
860
  $withTagmanager = (array_key_exists('usedTagmanager', $settings) && $settings['usedTagmanager'] != '');
861
  $usedTagmanager = array_key_exists('usedTagmanager', $settings) && $settings['usedTagmanager'] != '' ? $settings['usedTagmanager'] : '';
862
  $isLocal = (array_key_exists('implementationMode', $settings) && $settings['implementationMode'] == 'on-premises');
863
+ $isReadonly = ($isLocal || $categorySlug == SPDSGVOConstants::CATEGORY_SLUG_MANDATORY) && $mandatoryIntegrationsEditable == false;
864
  ?>
865
  <hr />
866
  <div class="sp-dsgvo-category-item lwb-row no-gutters pl-1">
public/js/sp-dsgvo-public.js CHANGED
@@ -662,6 +662,22 @@ const CATEGORY_SLUG_MANDATORY = 'necessary';
662
  case CATEGORY_SLUG_EMBEDDINGS: enableEmbeddingIntegration(integrationObject); break;
663
  }
664
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
 
666
  });
667
  }
@@ -731,6 +747,22 @@ const CATEGORY_SLUG_MANDATORY = 'necessary';
731
 
732
 
733
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
734
  }
735
 
736
  function enableEmbeddingByPlaceholderClick(embeddingSlug)
@@ -779,6 +811,26 @@ const CATEGORY_SLUG_MANDATORY = 'necessary';
779
  }
780
  }
781
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
782
  });
783
 
784
  // safe mode because scripts still could run in browser
@@ -794,6 +846,22 @@ const CATEGORY_SLUG_MANDATORY = 'necessary';
794
  // check if it was enabled before
795
  if (enabledIntegrationsBeforeClosing.includes(integrationConfig.slug)) reloadNeeded++;
796
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
797
  /* currently not needed because we remove it in reload because otherwise the script cant be removed from js vm
798
  //remove script of the integration
799
  var scriptContainer = $('#sp-dsgvo-script-container-'+integrationConfig.slug);
662
  case CATEGORY_SLUG_EMBEDDINGS: enableEmbeddingIntegration(integrationObject); break;
663
  }
664
 
665
+ var optinEvent = new CustomEvent(
666
+ "lw-optinout",
667
+ {
668
+ detail: {
669
+ integrationId: integrationObject.slug,
670
+ integrationCategory: integrationObject.category,
671
+ integrationCode: integrationObject.jsCode,
672
+ mode: 'optin',
673
+ time: new Date(),
674
+ },
675
+ bubbles: true,
676
+ cancelable: false
677
+ }
678
+ );
679
+ document.querySelector('.sp-dsgvo-privacy-popup').dispatchEvent(optinEvent);
680
+
681
 
682
  });
683
  }
747
 
748
 
749
  });
750
+
751
+ var optinEvent = new CustomEvent(
752
+ "lw-optinout",
753
+ {
754
+ detail: {
755
+ integrationId: integrationObject.slug,
756
+ integrationCategory: integrationObject.category,
757
+ integrationCode: integrationObject.jsCode,
758
+ mode: 'optin',
759
+ time: new Date(),
760
+ },
761
+ bubbles: true,
762
+ cancelable: false
763
+ }
764
+ );
765
+ document.querySelector('.sp-dsgvo-privacy-popup').dispatchEvent(optinEvent);
766
  }
767
 
768
  function enableEmbeddingByPlaceholderClick(embeddingSlug)
811
  }
812
  }
813
 
814
+ // check if it was enabled before
815
+ if (enabledIntegrationsBeforeClosing.includes(integrationConfig.slug)) {
816
+
817
+ var optoutEvent = new CustomEvent(
818
+ "lw-optinout",
819
+ {
820
+ detail: {
821
+ integrationId: integrationConfig.slug,
822
+ integrationCategory: integrationConfig.category,
823
+ integrationCode: integrationConfig.jsCode,
824
+ mode: 'optout',
825
+ time: new Date(),
826
+ },
827
+ bubbles: true,
828
+ cancelable: false
829
+ }
830
+ );
831
+ document.querySelector('.sp-dsgvo-privacy-popup').dispatchEvent(optoutEvent);
832
+ }
833
+
834
  });
835
 
836
  // safe mode because scripts still could run in browser
846
  // check if it was enabled before
847
  if (enabledIntegrationsBeforeClosing.includes(integrationConfig.slug)) reloadNeeded++;
848
 
849
+ var optoutEvent = new CustomEvent(
850
+ "lw-optinout",
851
+ {
852
+ detail: {
853
+ integrationId: integrationConfig.slug,
854
+ integrationCategory: integrationConfig.category,
855
+ integrationCode: integrationConfig.jsCode,
856
+ mode: 'optout',
857
+ time: new Date(),
858
+ },
859
+ bubbles: true,
860
+ cancelable: false
861
+ }
862
+ );
863
+ document.querySelector('.sp-dsgvo-privacy-popup').dispatchEvent(optoutEvent);
864
+
865
  /* currently not needed because we remove it in reload because otherwise the script cant be removed from js vm
866
  //remove script of the integration
867
  var scriptContainer = $('#sp-dsgvo-script-container-'+integrationConfig.slug);
sp-dsgvo.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: WP DSGVO Tools (GDPR)
17
  * Plugin URI: https://legalweb.io
18
  * Description: WP DSGVO Tools (GDPR) help you to fulfill the GDPR (DGSVO) compliance guidance (<a target="_blank" href="https://ico.org.uk/for-organisations/data-protection-reform/overview-of-the-gdpr/">GDPR</a>)
19
- * Version: 3.1.14
20
  * Author: legalweb
21
  * Author URI: https://www.legalweb.io
22
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -28,7 +28,7 @@ if (! defined('WPINC')) {
28
  die();
29
  }
30
 
31
- define('sp_dsgvo_VERSION', '3.1.14');
32
  define('sp_dsgvo_NAME', 'sp-dsgvo');
33
  define('sp_dsgvo_PLUGIN_NAME', 'shapepress-dsgvo');
34
  define('sp_dsgvo_LEGAL_TEXTS_MIN_VERSION', '1579021814');
16
  * Plugin Name: WP DSGVO Tools (GDPR)
17
  * Plugin URI: https://legalweb.io
18
  * Description: WP DSGVO Tools (GDPR) help you to fulfill the GDPR (DGSVO) compliance guidance (<a target="_blank" href="https://ico.org.uk/for-organisations/data-protection-reform/overview-of-the-gdpr/">GDPR</a>)
19
+ * Version: 3.1.15
20
  * Author: legalweb
21
  * Author URI: https://www.legalweb.io
22
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
28
  die();
29
  }
30
 
31
+ define('sp_dsgvo_VERSION', '3.1.15');
32
  define('sp_dsgvo_NAME', 'sp-dsgvo');
33
  define('sp_dsgvo_PLUGIN_NAME', 'shapepress-dsgvo');
34
  define('sp_dsgvo_LEGAL_TEXTS_MIN_VERSION', '1579021814');