Changeset 2460811 for shapepress-dsgvo
- Timestamp:
- 01/22/2021 08:47:39 AM (5 years ago)
- Location:
- shapepress-dsgvo/trunk
- Files:
-
- 9 edited
-
README.txt (modified) (2 diffs)
-
admin/tabs/v3/popup-notice/class-sp-dsgvo-cookie-notice-action.php (modified) (1 diff)
-
admin/tabs/v3/popup-notice/page.php (modified) (1 diff)
-
includes/class-sp-dsgvo-settings.php (modified) (1 diff)
-
languages/shapepress-dsgvo-de_DE.mo (modified) (previous)
-
languages/shapepress-dsgvo-de_DE.po (modified) (21 diffs)
-
public/class-sp-dsgvo-public.php (modified) (3 diffs)
-
public/js/sp-dsgvo-public.js (modified) (4 diffs)
-
sp-dsgvo.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shapepress-dsgvo/trunk/README.txt
r2457812 r2460811 5 5 Requires at least: 3.0.1 6 6 Tested up to: 5.6.0 7 Stable tag: 3.1.1 47 Stable tag: 3.1.15 8 8 Requires PHP: 5.6.0 9 9 License: GPLv2 or later … … 202 202 203 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 204 208 = 3.1.14 = 205 209 * updated webinar section -
shapepress-dsgvo/trunk/admin/tabs/v3/popup-notice/class-sp-dsgvo-cookie-notice-action.php
r2273977 r2460811 13 13 SPDSGVOSettings::set('show_notice_on_close', $this->get('show_notice_on_close', '0')); 14 14 SPDSGVOSettings::set('force_cookie_info', $this->get('force_cookie_info', '0')); 15 SPDSGVOSettings::set('mandatory_integrations_editable', $this->get('mandatory_integrations_editable', '0')); 15 16 SPDSGVOSettings::set('cookie_notice_text', $this->get('cookie_notice_text', '')); 16 17 SPDSGVOSettings::set('cn_cookie_validity', $this->get('cn_cookie_validity', '86400')); -
shapepress-dsgvo/trunk/admin/tabs/v3/popup-notice/page.php
r2273977 r2460811 48 48 '', 49 49 __('Show the cookie notice/popup although it is not necessary because no integrations are used. Also show technically necessary integrations and integrations like matomo/piwik/WP Statistics,.. for which no opt-in by your user is required by GDPR. If you have not any integrations enabled, only the popup with an OK button will be shown.', 'shapepress-dsgvo')); 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')); 50 58 51 59 ?> -
shapepress-dsgvo/trunk/includes/class-sp-dsgvo-settings.php
r2286328 r2460811 125 125 'display_cookie_notice' => '0', 126 126 'force_cookie_info' => '0', 127 'mandatory_integrations_editable' => '0', 127 128 'cookie_notice_custom_css' => "", 128 129 'cookie_notice_text' => __('To change your privacy setting, e.g. granting or withdrawing consent, click here:','shapepress-dsgvo'), -
shapepress-dsgvo/trunk/languages/shapepress-dsgvo-de_DE.po
r2457812 r2460811 2 2 msgstr "" 3 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"4 "POT-Creation-Date: 2021-01-22 09:06+0100\n" 5 "PO-Revision-Date: 2021-01-22 09:09+0100\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 403 403 #: admin/tabs/setup/class-sp-dsgvo-create-page-action.php:51 404 404 #: admin/tabs/v3/common-settings/page.php:195 405 #: includes/class-sp-dsgvo-settings.php:18 7405 #: includes/class-sp-dsgvo-settings.php:188 406 406 msgid "Privacy Policy" 407 407 msgstr "Datenschutzerklärung" … … 559 559 #: admin/tabs/v3/page-basics/page.php:358 560 560 #: admin/tabs/v3/page-basics/page.php:417 561 #: admin/tabs/v3/popup-notice/page.php:1 16562 #: admin/tabs/v3/popup-notice/page.php:1 65563 #: admin/tabs/v3/popup-notice/page.php:4 13561 #: 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 564 #: admin/tabs/v3/subject-access-request/page.php:79 565 565 #: admin/tabs/v3/subject-access-request/page.php:135 … … 816 816 817 817 #: admin/tabs/v3/common-settings/page.php:409 818 #: admin/tabs/v3/popup-notice/page.php:2 47818 #: admin/tabs/v3/popup-notice/page.php:255 819 819 msgid "A message text" 820 820 msgstr "Meldungstext" … … 845 845 "die Embeddings. Die Vorschau rechts wird bei jedem Speichern aktualisiert." 846 846 847 #: admin/tabs/v3/embeddings/page.php:26 admin/tabs/v3/popup-notice/page.php:3 17847 #: admin/tabs/v3/embeddings/page.php:26 admin/tabs/v3/popup-notice/page.php:325 848 848 msgid "Text/Font color" 849 849 msgstr "Text/Schriftfarbe" … … 853 853 msgstr "Definiert die Schriftfarbe des Texts im Platzhalter." 854 854 855 #: admin/tabs/v3/embeddings/page.php:33 admin/tabs/v3/popup-notice/page.php:33 1855 #: admin/tabs/v3/embeddings/page.php:33 admin/tabs/v3/popup-notice/page.php:339 856 856 msgid "Button border color" 857 857 msgstr "Rahmenfarbe des Buttons" … … 861 861 msgstr "Definiert die Rahmenfarbe des Opt-in Buttons im Platzhalter." 862 862 863 #: admin/tabs/v3/embeddings/page.php:39 admin/tabs/v3/popup-notice/page.php:3 37863 #: admin/tabs/v3/embeddings/page.php:39 admin/tabs/v3/popup-notice/page.php:345 864 864 msgid "Size of the button border" 865 865 msgstr "Rahmendicke des Buttons" … … 1934 1934 1935 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 1936 1955 msgid "Cookie lifetime if accepted" 1937 1956 msgstr "Cookie Speicherdauer wenn akzeptiert wird (alles/partiell)" 1938 1957 1939 #: admin/tabs/v3/popup-notice/page.php: 581940 #: admin/tabs/v3/popup-notice/page.php:8 11958 #: admin/tabs/v3/popup-notice/page.php:66 1959 #: admin/tabs/v3/popup-notice/page.php:89 1941 1960 msgid "Day" 1942 1961 msgstr "Tag" 1943 1962 1944 #: admin/tabs/v3/popup-notice/page.php:6 01945 #: admin/tabs/v3/popup-notice/page.php: 831963 #: admin/tabs/v3/popup-notice/page.php:68 1964 #: admin/tabs/v3/popup-notice/page.php:91 1946 1965 msgid "Week" 1947 1966 msgstr "Woche" 1948 1967 1949 #: admin/tabs/v3/popup-notice/page.php: 621950 #: admin/tabs/v3/popup-notice/page.php: 651951 #: admin/tabs/v3/popup-notice/page.php: 681952 #: admin/tabs/v3/popup-notice/page.php: 851953 #: admin/tabs/v3/popup-notice/page.php: 881954 #: admin/tabs/v3/popup-notice/page.php:9 11968 #: 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 1955 1974 msgid "Month" 1956 1975 msgstr "Monat" 1957 1976 1958 #: admin/tabs/v3/popup-notice/page.php:7 11959 #: admin/tabs/v3/popup-notice/page.php: 941977 #: admin/tabs/v3/popup-notice/page.php:79 1978 #: admin/tabs/v3/popup-notice/page.php:102 1960 1979 msgid "Year" 1961 1980 msgstr "Jahr" 1962 1981 1963 #: admin/tabs/v3/popup-notice/page.php: 741982 #: admin/tabs/v3/popup-notice/page.php:82 1964 1983 msgid "" 1965 1984 "For this period, the cookie gets stored if the user accepts. After this " … … 1970 1989 "Besucher erneut eine Auswahl treffen." 1971 1990 1972 #: admin/tabs/v3/popup-notice/page.php: 781991 #: admin/tabs/v3/popup-notice/page.php:86 1973 1992 msgid "Cookie lifetime if dismissed" 1974 1993 msgstr "Cookie Speicherdauer wenn abgelehnt wird" 1975 1994 1976 #: admin/tabs/v3/popup-notice/page.php: 971995 #: admin/tabs/v3/popup-notice/page.php:105 1977 1996 msgid "" 1978 1997 "For this period, the cookie gets stored when a user clicks cancel or dismiss " … … 1983 2002 "Besucher erneut eine Auswahl treffen." 1984 2003 1985 #: admin/tabs/v3/popup-notice/page.php:1 042004 #: admin/tabs/v3/popup-notice/page.php:112 1986 2005 msgid "Cookie version" 1987 2006 msgstr "Cookie Version" 1988 2007 1989 #: admin/tabs/v3/popup-notice/page.php:11 12008 #: admin/tabs/v3/popup-notice/page.php:119 1990 2009 msgid "Refresh/Update Cookie Version" 1991 2010 msgstr "Erhöhen der Cookie Version" 1992 2011 1993 #: admin/tabs/v3/popup-notice/page.php:1 122012 #: admin/tabs/v3/popup-notice/page.php:120 1994 2013 msgid "" 1995 2014 "If you have made changes at your cookie settings (style, integrations,..) " … … 2002 2021 "Auswahl zu bitten." 2003 2022 2004 #: admin/tabs/v3/popup-notice/page.php:1 252023 #: admin/tabs/v3/popup-notice/page.php:133 2005 2024 msgid "Cookie Popup customization" 2006 2025 msgstr "Cookie Popup Anpassung" 2007 2026 2008 #: admin/tabs/v3/popup-notice/page.php:1 322027 #: admin/tabs/v3/popup-notice/page.php:140 2009 2028 msgid "Enable Dark Mode of the popup" 2010 2029 msgstr "Aktiviere den Dark Mode des Popups" 2011 2030 2012 #: admin/tabs/v3/popup-notice/page.php:1 342031 #: admin/tabs/v3/popup-notice/page.php:142 2013 2032 msgid "Shows the popup in dark colors." 2014 2033 msgstr "Stellt das Popup mit dunklem Hintergrund und heller Schrift dar." 2015 2034 2016 #: admin/tabs/v3/popup-notice/page.php:1 492035 #: admin/tabs/v3/popup-notice/page.php:157 2017 2036 msgid "Popup header logo" 2018 2037 msgstr "Popup Logo" 2019 2038 2020 #: admin/tabs/v3/popup-notice/page.php:15 02039 #: admin/tabs/v3/popup-notice/page.php:158 2021 2040 msgid "We recommend to use a square image." 2022 2041 msgstr "Wir empfehlen die Benutzung eines quadratischen Logos." 2023 2042 2024 #: admin/tabs/v3/popup-notice/page.php:1 592043 #: admin/tabs/v3/popup-notice/page.php:167 2025 2044 msgid "Upload image" 2026 2045 msgstr "Bild uploaden" 2027 2046 2028 #: admin/tabs/v3/popup-notice/page.php:1 742047 #: admin/tabs/v3/popup-notice/page.php:182 2029 2048 msgid "Cookie Notice customization" 2030 2049 msgstr "Cookie Notice Anpassung" 2031 2050 2032 #: admin/tabs/v3/popup-notice/page.php:1 832051 #: admin/tabs/v3/popup-notice/page.php:191 2033 2052 msgid "Cookie notice style" 2034 2053 msgstr "Cookie Notice Stil" 2035 2054 2036 #: admin/tabs/v3/popup-notice/page.php:1 892037 #: admin/tabs/v3/popup-notice/page.php:2 882038 #: admin/tabs/v3/popup-notice/page.php:3 862055 #: 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 2039 2058 msgid "Default" 2040 2059 msgstr "Standard" 2041 2060 2042 #: admin/tabs/v3/popup-notice/page.php:2 072061 #: admin/tabs/v3/popup-notice/page.php:215 2043 2062 msgid "Choose one of our cookie notice style templates." 2044 2063 msgstr "Wählen Sie ein Templates für die Cookie Notice." 2045 2064 2046 #: admin/tabs/v3/popup-notice/page.php:2 462065 #: admin/tabs/v3/popup-notice/page.php:254 2047 2066 msgid "Cookie Notice text" 2048 2067 msgstr "Cookie Notice Text" 2049 2068 2050 #: admin/tabs/v3/popup-notice/page.php:2 482069 #: admin/tabs/v3/popup-notice/page.php:256 2051 2070 msgid "" 2052 2071 "This text gets displayed within the cookie notice. If you use WPML you can " … … 2056 2075 "Hilfe der WPML String Translations diese Texte übersetzen." 2057 2076 2058 #: admin/tabs/v3/popup-notice/page.php:25 02077 #: admin/tabs/v3/popup-notice/page.php:258 2059 2078 msgid "" 2060 2079 "Warning: If you change this text by your own you risk not be confirm with " … … 2064 2083 "Konformität." 2065 2084 2066 #: admin/tabs/v3/popup-notice/page.php:2 552085 #: admin/tabs/v3/popup-notice/page.php:263 2067 2086 msgid "Position:" 2068 2087 msgstr "Position:" 2069 2088 2070 #: admin/tabs/v3/popup-notice/page.php:2 572089 #: admin/tabs/v3/popup-notice/page.php:265 2071 2090 msgid "On top" 2072 2091 msgstr "Oben" 2073 2092 2074 #: admin/tabs/v3/popup-notice/page.php:26 02093 #: admin/tabs/v3/popup-notice/page.php:268 2075 2094 msgid "Bottom" 2076 2095 msgstr "Unten" 2077 2096 2078 #: admin/tabs/v3/popup-notice/page.php:2 632097 #: admin/tabs/v3/popup-notice/page.php:271 2079 2098 msgid "Specifies the location where the cookie notice should be displayed." 2080 2099 msgstr "Gibt die Position an wo die Cookie Notice angezeigt werden soll." 2081 2100 2082 #: admin/tabs/v3/popup-notice/page.php:2 682101 #: admin/tabs/v3/popup-notice/page.php:276 2083 2102 msgid "Animation" 2084 2103 msgstr "Animation" 2085 2104 2086 #: admin/tabs/v3/popup-notice/page.php:27 02105 #: admin/tabs/v3/popup-notice/page.php:278 2087 2106 msgid "None" 2088 2107 msgstr "Keine" 2089 2108 2090 #: admin/tabs/v3/popup-notice/page.php:2 732109 #: admin/tabs/v3/popup-notice/page.php:281 2091 2110 msgid "fade" 2092 2111 msgstr "Ausgleiten" 2093 2112 2094 #: admin/tabs/v3/popup-notice/page.php:2 762113 #: admin/tabs/v3/popup-notice/page.php:284 2095 2114 msgid "hide" 2096 2115 msgstr "Ausblenden" 2097 2116 2098 #: admin/tabs/v3/popup-notice/page.php:2 792117 #: admin/tabs/v3/popup-notice/page.php:287 2099 2118 msgid "Animation when accepting the cookie message." 2100 2119 msgstr "Animation beim Akzeptieren der Cookie-Nachricht." 2101 2120 2102 #: admin/tabs/v3/popup-notice/page.php:2 832121 #: admin/tabs/v3/popup-notice/page.php:291 2103 2122 msgid "Font size" 2104 2123 msgstr "Textgröße" 2105 2124 2106 #: admin/tabs/v3/popup-notice/page.php:31 02125 #: admin/tabs/v3/popup-notice/page.php:318 2107 2126 msgid "Background color" 2108 2127 msgstr "Hintergrundfarbe" 2109 2128 2110 #: admin/tabs/v3/popup-notice/page.php:3 122129 #: admin/tabs/v3/popup-notice/page.php:320 2111 2130 msgid "Specifies the background color of the cookie notice." 2112 2131 msgstr "Definiert die Hintergrundfarbe der Cookie Notice." 2113 2132 2114 #: admin/tabs/v3/popup-notice/page.php:3 192133 #: admin/tabs/v3/popup-notice/page.php:327 2115 2134 msgid "Specifies the text/font color of the cookie notice text." 2116 2135 msgstr "Definiert die Schriftfarbe der Cookie Notice." 2117 2136 2118 #: admin/tabs/v3/popup-notice/page.php:3 242137 #: admin/tabs/v3/popup-notice/page.php:332 2119 2138 msgid "Button background color" 2120 2139 msgstr "Hintergrundfarbe des Buttons" 2121 2140 2122 #: admin/tabs/v3/popup-notice/page.php:3 262141 #: admin/tabs/v3/popup-notice/page.php:334 2123 2142 msgid "Specifies the background color of the cookie notice button." 2124 2143 msgstr "Definiert die Hintergrundfarbe des Buttons der Cookie Notice." 2125 2144 2126 #: admin/tabs/v3/popup-notice/page.php:3 332145 #: admin/tabs/v3/popup-notice/page.php:341 2127 2146 msgid "Specifies the border color of the cookie notice button." 2128 2147 msgstr "Definiert die Rahmenfarbe des Buttons der Cookie Notice." 2129 2148 2130 #: admin/tabs/v3/popup-notice/page.php:3 522149 #: admin/tabs/v3/popup-notice/page.php:360 2131 2150 msgid "Button text/font color" 2132 2151 msgstr "Schriftfarbe des Buttons" 2133 2152 2134 #: admin/tabs/v3/popup-notice/page.php:3 542153 #: admin/tabs/v3/popup-notice/page.php:362 2135 2154 msgid "Specifies the text/font color of the cookie notice button." 2136 2155 msgstr "Definiert die Schriftfarbe des Buttons der Cookie Notice." 2137 2156 2138 #: admin/tabs/v3/popup-notice/page.php:3 592157 #: admin/tabs/v3/popup-notice/page.php:367 2139 2158 msgid "CSS class cookie notice" 2140 2159 msgstr "CSS Klasse Cookie Notice" 2141 2160 2142 #: admin/tabs/v3/popup-notice/page.php:36 02143 #: admin/tabs/v3/popup-notice/page.php:3 672144 #: admin/tabs/v3/popup-notice/page.php:3 742161 #: 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 2145 2164 msgid ".myClass1 .myClass2" 2146 2165 msgstr "" 2147 2166 2148 #: admin/tabs/v3/popup-notice/page.php:36 12167 #: admin/tabs/v3/popup-notice/page.php:369 2149 2168 msgid "" 2150 2169 "Specifies one or multiple additional classes for the cookie notice. Please " … … 2154 2173 "Cookie Notice anzupassen. Bitte geben Sie diese ohne führenden Punkte an." 2155 2174 2156 #: admin/tabs/v3/popup-notice/page.php:3 662175 #: admin/tabs/v3/popup-notice/page.php:374 2157 2176 msgid "CSS class text" 2158 2177 msgstr "CSS Klassen für Text" 2159 2178 2160 #: admin/tabs/v3/popup-notice/page.php:3 682179 #: admin/tabs/v3/popup-notice/page.php:376 2161 2180 msgid "" 2162 2181 "Specifies one or multiple additional classes for the text of cookie notice. " … … 2167 2186 "Punkte an." 2168 2187 2169 #: admin/tabs/v3/popup-notice/page.php:3 732188 #: admin/tabs/v3/popup-notice/page.php:381 2170 2189 msgid "CSS class button" 2171 2190 msgstr "CSS Klasse für Button" 2172 2191 2173 #: admin/tabs/v3/popup-notice/page.php:3 752192 #: admin/tabs/v3/popup-notice/page.php:383 2174 2193 msgid "" 2175 2194 "Specifies one or multiple additional classes for the button of cookie " … … 2180 2199 "Punkte an." 2181 2200 2182 #: admin/tabs/v3/popup-notice/page.php:38 12201 #: admin/tabs/v3/popup-notice/page.php:389 2183 2202 msgid "Height of cookie notice" 2184 2203 msgstr "Höhe der Cookie Notice" 2185 2204 2186 #: admin/tabs/v3/popup-notice/page.php:4 072205 #: admin/tabs/v3/popup-notice/page.php:415 2187 2206 msgid "Show WP DSGVO Tools (GDPR) icon" 2188 2207 msgstr "WP DSGVO Tools (GDPR) Icon anzeigen" 2189 2208 2190 #: admin/tabs/v3/popup-notice/page.php:4 092209 #: admin/tabs/v3/popup-notice/page.php:417 2191 2210 msgid "" 2192 2211 "Displays the WP DSGVO Tools (GDPR) icon on the left side of the cookie " … … 2383 2402 #: admin/tabs/v3/subject-access-request/page.php:188 2384 2403 #: admin/tabs/v3/super-unsubscribe/page.php:301 2385 #: public/class-sp-dsgvo-public.php:737 public/class-sp-dsgvo-public.php:84 42386 #: public/class-sp-dsgvo-public.php:8 882404 #: public/class-sp-dsgvo-public.php:737 public/class-sp-dsgvo-public.php:847 2405 #: public/class-sp-dsgvo-public.php:891 2387 2406 msgid "Yes" 2388 2407 msgstr "Ja" … … 2398 2417 #: includes/integrations/targeting/gadsense/page.php:43 2399 2418 #: includes/integrations/targeting/linkedinpixel/page.php:45 2400 #: public/class-sp-dsgvo-public.php:737 public/class-sp-dsgvo-public.php:84 42401 #: public/class-sp-dsgvo-public.php:8 882419 #: public/class-sp-dsgvo-public.php:737 public/class-sp-dsgvo-public.php:847 2420 #: public/class-sp-dsgvo-public.php:891 2402 2421 msgid "No" 2403 2422 msgstr "Nein" … … 3980 3999 "Ich stimme der Speicherung der Daten zur Verarbeitung im Sinne der DSGVO zu." 3981 4000 3982 #: includes/class-sp-dsgvo-settings.php:12 84001 #: includes/class-sp-dsgvo-settings.php:129 3983 4002 msgid "" 3984 4003 "To change your privacy setting, e.g. granting or withdrawing consent, click " … … 3988 4007 "Einwilligungen, klicken Sie hier:" 3989 4008 3990 #: includes/class-sp-dsgvo-settings.php:13 14009 #: includes/class-sp-dsgvo-settings.php:132 3991 4010 msgid "OK" 3992 4011 msgstr "OK" 3993 4012 3994 #: includes/class-sp-dsgvo-settings.php:13 54013 #: includes/class-sp-dsgvo-settings.php:136 3995 4014 msgid "Deny" 3996 4015 msgstr "Ablehnen" 3997 4016 3998 #: includes/class-sp-dsgvo-settings.php:13 84017 #: includes/class-sp-dsgvo-settings.php:139 3999 4018 msgid "More information" 4000 4019 msgstr "Mehr Information" … … 4691 4710 msgstr "Alles<br />akzeptieren" 4692 4711 4693 #: public/class-sp-dsgvo-public.php:83 54712 #: public/class-sp-dsgvo-public.php:838 4694 4713 msgid "Service" 4695 4714 msgstr "Dienst" 4696 4715 4697 #: public/class-sp-dsgvo-public.php:83 54716 #: public/class-sp-dsgvo-public.php:838 4698 4717 msgid "Services" 4699 4718 msgstr "Dienste" 4700 4719 4701 #: public/class-sp-dsgvo-public.php:8 684720 #: public/class-sp-dsgvo-public.php:871 4702 4721 msgid "via" 4703 4722 msgstr "via" 4704 4723 4705 #: public/class-sp-dsgvo-public.php:87 24724 #: public/class-sp-dsgvo-public.php:875 4706 4725 msgid "Local installation" 4707 4726 msgstr "Lokale Installation" 4708 4727 4709 #: public/class-sp-dsgvo-public.php:8 78 public/class-sp-dsgvo-public.php:8834728 #: public/class-sp-dsgvo-public.php:881 public/class-sp-dsgvo-public.php:886 4710 4729 msgid "All Details" 4711 4730 msgstr "Alle Details" 4712 4731 4713 #: public/class-sp-dsgvo-public.php:111 24732 #: public/class-sp-dsgvo-public.php:1115 4714 4733 msgid "Terms: " 4715 4734 msgstr "AGB: " -
shapepress-dsgvo/trunk/public/class-sp-dsgvo-public.php
r2395834 r2460811 828 828 $integrations = SPDSGVOIntegrationApiBase::getAllIntegrationApis($categorySlug, FALSE); 829 829 830 $mandatoryIntegrationsEditable = SPDSGVOSettings::get('mandatory_integrations_editable') == '1'; 831 $isReadonly = ($categorySlug == SPDSGVOConstants::CATEGORY_SLUG_MANDATORY) && $mandatoryIntegrationsEditable == false; 832 830 833 ?> 831 834 <div class="sp-dsgvo-category-container"> … … 841 844 842 845 <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?>">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?>"> 844 847 <span class="switch-label" data-on="<?= __('Yes', 'shapepress-dsgvo');?>" data-off="<?= __('No', 'shapepress-dsgvo');?>"></span> 845 848 <span class="switch-handle"></span> … … 858 861 $usedTagmanager = array_key_exists('usedTagmanager', $settings) && $settings['usedTagmanager'] != '' ? $settings['usedTagmanager'] : ''; 859 862 $isLocal = (array_key_exists('implementationMode', $settings) && $settings['implementationMode'] == 'on-premises'); 860 $isReadonly = $isLocal || $categorySlug == SPDSGVOConstants::CATEGORY_SLUG_MANDATORY;863 $isReadonly = ($isLocal || $categorySlug == SPDSGVOConstants::CATEGORY_SLUG_MANDATORY) && $mandatoryIntegrationsEditable == false; 861 864 ?> 862 865 <hr /> -
shapepress-dsgvo/trunk/public/js/sp-dsgvo-public.js
r2357270 r2460811 663 663 } 664 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 665 681 666 682 }); … … 732 748 733 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); 734 766 } 735 767 … … 780 812 } 781 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 782 834 }); 783 835 … … 794 846 // check if it was enabled before 795 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); 796 864 797 865 /* currently not needed because we remove it in reload because otherwise the script cant be removed from js vm -
shapepress-dsgvo/trunk/sp-dsgvo.php
r2457812 r2460811 17 17 * Plugin URI: https://legalweb.io 18 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.1 419 * Version: 3.1.15 20 20 * Author: legalweb 21 21 * Author URI: https://www.legalweb.io … … 29 29 } 30 30 31 define('sp_dsgvo_VERSION', '3.1.1 4');31 define('sp_dsgvo_VERSION', '3.1.15'); 32 32 define('sp_dsgvo_NAME', 'sp-dsgvo'); 33 33 define('sp_dsgvo_PLUGIN_NAME', 'shapepress-dsgvo');
Note: See TracChangeset
for help on using the changeset viewer.