Version Description
- error handling at logging
- some php 7.3 warnings removed
Download this release
Release Info
Developer | shapepress |
Plugin | WP DSGVO Tools |
Version | 2.2.12 |
Comparing to | |
See all releases |
Code changes from version 2.2.11 to 2.2.12
- README.txt +5 -1
- admin/class-sp-dsgvo-admin.php +6 -3
- admin/js/sp-dsgvo-admin.js +9 -0
- admin/tabs/imprint/page.php +2 -1
- admin/tabs/privacy-policy/page.php +3 -2
- admin/tabs/setup/class-sp-dsgvo-create-page-action.php +5 -0
- includes/class-sp-dsgvo-log.php +42 -26
- includes/class-sp-dsgvo-settings.php +2 -0
- includes/class-sp-dsgvo.php +1 -0
- includes/lib/tcpdf/dsgdf.php +6 -6
- languages/shapepress-dsgvo-de_DE.mo +0 -0
- languages/shapepress-dsgvo-de_DE.po +27 -13
- public/actions/notice-action.php +26 -0
- sp-dsgvo.php +2 -2
- wpml-config.xml +1 -0
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wp-dsgvo.eu
|
|
4 |
Tags: gdpr, dsgvo, datenschutz, wordpress, compliance, data, privacy, woocommerce,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.1.0
|
7 |
-
Stable tag: 2.2.
|
8 |
Requires PHP: 5.6.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -80,6 +80,10 @@ Important: Disable other cookie notice plugins and Google Analytics or FB Pixel
|
|
80 |
|
81 |
== Changelog ==
|
82 |
|
|
|
|
|
|
|
|
|
83 |
= 2.2.11 =
|
84 |
* fixed bug where reset button of imprint and privacy policy have not been visible if no wpml was used
|
85 |
|
4 |
Tags: gdpr, dsgvo, datenschutz, wordpress, compliance, data, privacy, woocommerce,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.1.0
|
7 |
+
Stable tag: 2.2.12
|
8 |
Requires PHP: 5.6.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
80 |
|
81 |
== Changelog ==
|
82 |
|
83 |
+
= 2.2.12 =
|
84 |
+
* error handling at logging
|
85 |
+
* some php 7.3 warnings removed
|
86 |
+
|
87 |
= 2.2.11 =
|
88 |
* fixed bug where reset button of imprint and privacy policy have not been visible if no wpml was used
|
89 |
|
admin/class-sp-dsgvo-admin.php
CHANGED
@@ -276,10 +276,13 @@ class SPDSGVOAdmin{
|
|
276 |
}
|
277 |
|
278 |
function dsvgvo_admin_notices() {
|
279 |
-
$class = 'notice notice-warning';
|
280 |
-
$message = __( 'Attention. Google has changed his GDPR texts. Please refresh your privacy_policy by pressing "Refresh Template" button under privacy policy.', 'shapepress-dsgvo' );
|
281 |
|
282 |
-
|
|
|
|
|
|
|
|
|
|
|
283 |
}
|
284 |
|
285 |
}
|
276 |
}
|
277 |
|
278 |
function dsvgvo_admin_notices() {
|
|
|
|
|
279 |
|
280 |
+
if (SPDSGVOSettings::get('google_gdpr_refresh_notice') != '1') {
|
281 |
+
$class = 'notice notice-warning is-dismissible google-gdpr-refresh-notice';
|
282 |
+
$message = __( 'Attention. Google has changed his GDPR texts. Please refresh your Privacy Policy by pressing "Reload ... template" button under privacy policy settings.', 'shapepress-dsgvo' );
|
283 |
+
|
284 |
+
printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $message ) );
|
285 |
+
}
|
286 |
}
|
287 |
|
288 |
}
|
admin/js/sp-dsgvo-admin.js
CHANGED
@@ -85,6 +85,15 @@
|
|
85 |
}
|
86 |
});
|
87 |
/* i592995 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
});
|
90 |
})( jQuery );
|
85 |
}
|
86 |
});
|
87 |
/* i592995 */
|
88 |
+
|
89 |
+
$('.google-gdpr-refresh-notice').on('click tap', function() {
|
90 |
+
|
91 |
+
$.post( args.ajaxurl, {
|
92 |
+
action: 'notice-action',
|
93 |
+
id: 'google-gdpr-refresh-notice'
|
94 |
+
});
|
95 |
+
|
96 |
+
});
|
97 |
|
98 |
});
|
99 |
})( jQuery );
|
admin/tabs/imprint/page.php
CHANGED
@@ -45,7 +45,8 @@
|
|
45 |
<p><?php _e('<strong>Important Note:</strong> If you use WPML you can translate these inputs via WPML String Translations.','shapepress-dsgvo')?></p>
|
46 |
<?php endif; ?>
|
47 |
<p>
|
48 |
-
<a class="button button-default" href="<?= SPDSGVOCreatePageAction::url(array('reset_imprint_page' => '1','imprint_page_language' => '
|
|
|
49 |
</p>
|
50 |
<!--
|
51 |
<span class="info-text" style="margin-bottom: 20px;"><?php _e('Note: In order to be able to reset or reload the text (eg: after changing the language), highlight the text, delete it and click save. Thus, the text is reloaded.','shapepress-dsgvo')?></span>
|
45 |
<p><?php _e('<strong>Important Note:</strong> If you use WPML you can translate these inputs via WPML String Translations.','shapepress-dsgvo')?></p>
|
46 |
<?php endif; ?>
|
47 |
<p>
|
48 |
+
<a class="button button-default" href="<?= SPDSGVOCreatePageAction::url(array('reset_imprint_page' => '1','imprint_page_language' => 'en_EN')) ?>"><?php _e('Reload English template','shapepress-dsgvo')?></a>
|
49 |
+
<a class="button button-default" href="<?= SPDSGVOCreatePageAction::url(array('reset_imprint_page' => '1','imprint_page_language' => 'de_DE')) ?>"><?php _e('Reload German template','shapepress-dsgvo')?></a>
|
50 |
</p>
|
51 |
<!--
|
52 |
<span class="info-text" style="margin-bottom: 20px;"><?php _e('Note: In order to be able to reset or reload the text (eg: after changing the language), highlight the text, delete it and click save. Thus, the text is reloaded.','shapepress-dsgvo')?></span>
|
admin/tabs/privacy-policy/page.php
CHANGED
@@ -67,8 +67,9 @@
|
|
67 |
<?php else: ?>
|
68 |
<p><?php _e('<strong>Important Note:</strong> If you use WPML you can translate these inputs via WPML String Translations.','shapepress-dsgvo')?></p>
|
69 |
<?php endif; ?>
|
70 |
-
|
71 |
-
<a class="button button-default" href="<?= SPDSGVOCreatePageAction::url(array('reset_privacy_policy_page' => '1','privacy_policy_language' => '
|
|
|
72 |
</p>
|
73 |
<!--
|
74 |
<span class="info-text" style="margin-bottom: 20px;"><?php _e('Note: In order to be able to reset or reload the text (eg: after changing the language), highlight the text, delete it and click save. Thus, the text is reloaded.','shapepress-dsgvo')?></span>
|
67 |
<?php else: ?>
|
68 |
<p><?php _e('<strong>Important Note:</strong> If you use WPML you can translate these inputs via WPML String Translations.','shapepress-dsgvo')?></p>
|
69 |
<?php endif; ?>
|
70 |
+
<p>
|
71 |
+
<a class="button button-default" href="<?= SPDSGVOCreatePageAction::url(array('reset_privacy_policy_page' => '1','privacy_policy_language' => 'en_EN')) ?>"><?php _e('Reload English template','shapepress-dsgvo')?></a>
|
72 |
+
<a class="button button-default" href="<?= SPDSGVOCreatePageAction::url(array('reset_privacy_policy_page' => '1','privacy_policy_language' => 'de_DE')) ?>"><?php _e('Reload German template','shapepress-dsgvo')?></a>
|
73 |
</p>
|
74 |
<!--
|
75 |
<span class="info-text" style="margin-bottom: 20px;"><?php _e('Note: In order to be able to reset or reload the text (eg: after changing the language), highlight the text, delete it and click save. Thus, the text is reloaded.','shapepress-dsgvo')?></span>
|
admin/tabs/setup/class-sp-dsgvo-create-page-action.php
CHANGED
@@ -117,6 +117,11 @@ Class SPDSGVOCreatePageAction extends SPDSGVOAjaxAction{
|
|
117 |
$privacyPolicy = file_get_contents(SPDSGVO::pluginDir('/templates/'.$language.'/privacy-policy.txt'));
|
118 |
SPDSGVOSettings::set('privacy_policy_hash', wp_hash($privacyPolicy));
|
119 |
SPDSGVOSettings::set('privacy_policy', $privacyPolicy);
|
|
|
|
|
|
|
|
|
|
|
120 |
}
|
121 |
}
|
122 |
|
117 |
$privacyPolicy = file_get_contents(SPDSGVO::pluginDir('/templates/'.$language.'/privacy-policy.txt'));
|
118 |
SPDSGVOSettings::set('privacy_policy_hash', wp_hash($privacyPolicy));
|
119 |
SPDSGVOSettings::set('privacy_policy', $privacyPolicy);
|
120 |
+
SPDSGVOSettings::set('google_gdpr_refresh_notice', '1');
|
121 |
+
$version = SPDSGVOSettings::get('privacy_policy_version');
|
122 |
+
$version = intval($version);
|
123 |
+
$version++;
|
124 |
+
$version = SPDSGVOSettings::set('privacy_policy_version', $version);
|
125 |
}
|
126 |
}
|
127 |
|
includes/class-sp-dsgvo-log.php
CHANGED
@@ -33,6 +33,12 @@ class SPDSGVOLog
|
|
33 |
{
|
34 |
$this->content = $content;
|
35 |
$this->date = date("Y-m-d H:i:s");
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
|
38 |
public function boot()
|
@@ -91,41 +97,51 @@ class SPDSGVOLog
|
|
91 |
|
92 |
public static function all()
|
93 |
{
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
}
|
103 |
-
|
104 |
-
return $logs;
|
105 |
}
|
106 |
|
107 |
public static function mostRecent($limit = 15)
|
108 |
{
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
}
|
118 |
-
|
119 |
-
return $logs;
|
120 |
}
|
121 |
|
122 |
public function save()
|
123 |
{
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
|
|
|
|
130 |
}
|
131 |
}
|
33 |
{
|
34 |
$this->content = $content;
|
35 |
$this->date = date("Y-m-d H:i:s");
|
36 |
+
|
37 |
+
try {
|
38 |
+
if($this->tableExists() === FALSE){
|
39 |
+
$this->migrate();
|
40 |
+
}
|
41 |
+
} catch (Exception $e){}
|
42 |
}
|
43 |
|
44 |
public function boot()
|
97 |
|
98 |
public static function all()
|
99 |
{
|
100 |
+
try {
|
101 |
+
global $wpdb;
|
102 |
+
$tableName = $wpdb->prefix . self::$tableName;
|
103 |
+
|
104 |
+
$result = $wpdb->get_results("SELECT * FROM {$tableName} ORDER BY ID DESC");
|
105 |
+
|
106 |
+
$logs = array();
|
107 |
+
foreach ($result as $key => $row) {
|
108 |
+
array_push($logs, self::find($row->ID));
|
109 |
+
}
|
110 |
+
|
111 |
+
return $logs;
|
112 |
+
} catch (Exception $e){
|
113 |
+
return array();
|
114 |
}
|
|
|
|
|
115 |
}
|
116 |
|
117 |
public static function mostRecent($limit = 15)
|
118 |
{
|
119 |
+
try {
|
120 |
+
global $wpdb;
|
121 |
+
$tableName = $wpdb->prefix . self::$tableName;
|
122 |
+
|
123 |
+
$result = $wpdb->get_results("SELECT * FROM {$tableName} ORDER BY ID DESC LIMIT {$limit}");
|
124 |
+
|
125 |
+
$logs = array();
|
126 |
+
foreach ($result as $key => $row) {
|
127 |
+
array_push($logs, self::find($row->ID));
|
128 |
+
}
|
129 |
+
|
130 |
+
return $logs;
|
131 |
+
} catch (Exception $e){
|
132 |
+
return array();
|
133 |
}
|
|
|
|
|
134 |
}
|
135 |
|
136 |
public function save()
|
137 |
{
|
138 |
+
try {
|
139 |
+
global $wpdb;
|
140 |
+
$tableName = $wpdb->prefix . self::$tableName;
|
141 |
+
|
142 |
+
$wpdb->get_results("
|
143 |
+
INSERT INTO {$tableName} (log_date, log_content) VALUES('{$this->date}', '$this->content')
|
144 |
+
");
|
145 |
+
} catch (Exception $e){}
|
146 |
}
|
147 |
}
|
includes/class-sp-dsgvo-settings.php
CHANGED
@@ -196,6 +196,7 @@ class SPDSGVOSettings{
|
|
196 |
'cb_spdsgvo_cl_plugins' => '0',
|
197 |
'cb_spdsgvo_cl_experts' => '0',
|
198 |
|
|
|
199 |
|
200 |
);
|
201 |
}
|
@@ -219,6 +220,7 @@ class SPDSGVOSettings{
|
|
219 |
// $privacyPolicy = str_replace('[email]', $admin->user_email, $privacyPolicy);
|
220 |
// }
|
221 |
SPDSGVOSettings::set('privacy_policy_hash', wp_hash($privacyPolicy));
|
|
|
222 |
self::set('privacy_policy', $privacyPolicy);
|
223 |
}
|
224 |
|
196 |
'cb_spdsgvo_cl_plugins' => '0',
|
197 |
'cb_spdsgvo_cl_experts' => '0',
|
198 |
|
199 |
+
'google_gdpr_refresh_notice' => '0'
|
200 |
|
201 |
);
|
202 |
}
|
220 |
// $privacyPolicy = str_replace('[email]', $admin->user_email, $privacyPolicy);
|
221 |
// }
|
222 |
SPDSGVOSettings::set('privacy_policy_hash', wp_hash($privacyPolicy));
|
223 |
+
SPDSGVOSettings::set('google_gdpr_refresh_notice', '1');
|
224 |
self::set('privacy_policy', $privacyPolicy);
|
225 |
}
|
226 |
|
includes/class-sp-dsgvo.php
CHANGED
@@ -129,6 +129,7 @@ class SPDSGVO{
|
|
129 |
/* i592995 */
|
130 |
SPDSGVO::pluginDir('public/actions/popup-accept.php'),
|
131 |
/* i592995 */
|
|
|
132 |
|
133 |
|
134 |
//======================================================================
|
129 |
/* i592995 */
|
130 |
SPDSGVO::pluginDir('public/actions/popup-accept.php'),
|
131 |
/* i592995 */
|
132 |
+
SPDSGVO::pluginDir('public/actions/notice-action.php'),
|
133 |
|
134 |
|
135 |
//======================================================================
|
includes/lib/tcpdf/dsgdf.php
CHANGED
@@ -14958,7 +14958,7 @@ class DSGVOTCPDF {
|
|
14958 |
for ($i=0; $i < $cnt; ++$i) {
|
14959 |
$line = $lines[$i];
|
14960 |
if (($line == '') OR ($line[0] == '%')) {
|
14961 |
-
|
14962 |
}
|
14963 |
$len = strlen($line);
|
14964 |
// check for spot color names
|
@@ -14981,7 +14981,7 @@ class DSGVOTCPDF {
|
|
14981 |
$g = array_pop($chunks);
|
14982 |
$r = array_pop($chunks);
|
14983 |
$this->_out(''.$r.' '.$g.' '.$b.' '.($cmd=='Xa'?'rg':'RG')); //substr($line, 0, -2).'rg' -> in EPS (AI8): c m y k r g b rg!
|
14984 |
-
|
14985 |
}
|
14986 |
$skip = false;
|
14987 |
if ($fixoutvals) {
|
@@ -16438,7 +16438,7 @@ class DSGVOTCPDF {
|
|
16438 |
$thead = true;
|
16439 |
}
|
16440 |
++$elkey;
|
16441 |
-
|
16442 |
}
|
16443 |
$dom[$key]['tag'] = true;
|
16444 |
$dom[$key]['value'] = $tagname;
|
@@ -17721,7 +17721,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
|
|
17721 |
if ($offset === false) {
|
17722 |
$this->Error('HTML Justification: malformed PDF code.');
|
17723 |
}
|
17724 |
-
|
17725 |
}
|
17726 |
if ($this->isRTLTextDir()) {
|
17727 |
$spacew = ($spacewidth * ($nsmax - $ns));
|
@@ -17745,7 +17745,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
|
|
17745 |
$pmid_e = substr($pmid, $epsposend);
|
17746 |
$pmid = $pmid_b."\nq\n".$trx."\n".$pmid_m."\nQ\n".$pmid_e;
|
17747 |
$offset = $epsposend;
|
17748 |
-
|
17749 |
}
|
17750 |
}
|
17751 |
$currentxpos = 0;
|
@@ -17781,7 +17781,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
|
|
17781 |
// justify block
|
17782 |
if (!DSGVOTCPDF_STATIC::empty_string($this->lispacer)) {
|
17783 |
$this->lispacer = '';
|
17784 |
-
|
17785 |
}
|
17786 |
preg_match('/([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]('.$strpiece[1][0].')[\s](re)([\s]*)/x', $pmid, $xmatches);
|
17787 |
if (!isset($xmatches[1])) {
|
14958 |
for ($i=0; $i < $cnt; ++$i) {
|
14959 |
$line = $lines[$i];
|
14960 |
if (($line == '') OR ($line[0] == '%')) {
|
14961 |
+
break;
|
14962 |
}
|
14963 |
$len = strlen($line);
|
14964 |
// check for spot color names
|
14981 |
$g = array_pop($chunks);
|
14982 |
$r = array_pop($chunks);
|
14983 |
$this->_out(''.$r.' '.$g.' '.$b.' '.($cmd=='Xa'?'rg':'RG')); //substr($line, 0, -2).'rg' -> in EPS (AI8): c m y k r g b rg!
|
14984 |
+
break;
|
14985 |
}
|
14986 |
$skip = false;
|
14987 |
if ($fixoutvals) {
|
16438 |
$thead = true;
|
16439 |
}
|
16440 |
++$elkey;
|
16441 |
+
break;
|
16442 |
}
|
16443 |
$dom[$key]['tag'] = true;
|
16444 |
$dom[$key]['value'] = $tagname;
|
17721 |
if ($offset === false) {
|
17722 |
$this->Error('HTML Justification: malformed PDF code.');
|
17723 |
}
|
17724 |
+
break;
|
17725 |
}
|
17726 |
if ($this->isRTLTextDir()) {
|
17727 |
$spacew = ($spacewidth * ($nsmax - $ns));
|
17745 |
$pmid_e = substr($pmid, $epsposend);
|
17746 |
$pmid = $pmid_b."\nq\n".$trx."\n".$pmid_m."\nQ\n".$pmid_e;
|
17747 |
$offset = $epsposend;
|
17748 |
+
break;
|
17749 |
}
|
17750 |
}
|
17751 |
$currentxpos = 0;
|
17781 |
// justify block
|
17782 |
if (!DSGVOTCPDF_STATIC::empty_string($this->lispacer)) {
|
17783 |
$this->lispacer = '';
|
17784 |
+
break;
|
17785 |
}
|
17786 |
preg_match('/([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]('.$strpiece[1][0].')[\s](re)([\s]*)/x', $pmid, $xmatches);
|
17787 |
if (!isset($xmatches[1])) {
|
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: 2019-02-
|
5 |
-
"PO-Revision-Date: 2019-02-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: de_DE\n"
|
@@ -213,13 +213,15 @@ msgstr "Datenschutzeinstellungen des Benutzers"
|
|
213 |
msgid "Dienste"
|
214 |
msgstr "Dienste"
|
215 |
|
216 |
-
#: admin/class-sp-dsgvo-admin.php:
|
217 |
msgid ""
|
218 |
-
"Attention. Google has changed his GDPR texts. Please refresh your "
|
219 |
-
"
|
|
|
220 |
msgstr ""
|
221 |
"Achtung! Bitte aktualisieren Sie ihre Datenschutzexte um die letzten "
|
222 |
-
"Änderungen (Änderungen für Google) zu erhalten."
|
|
|
223 |
|
224 |
#: admin/tabs/common-settings/class-sp-dsgvo-common-settings-activate-action.php:28
|
225 |
#: admin/tabs/common-settings/class-sp-dsgvo-common-settings-activate-action.php:50
|
@@ -357,7 +359,7 @@ msgstr "Zustimmungstext"
|
|
357 |
|
358 |
#: admin/tabs/common-settings/page.php:120
|
359 |
#: admin/tabs/cookie-notice/page.php:144 admin/tabs/imprint/page.php:45
|
360 |
-
#: admin/tabs/privacy-policy/page.php:
|
361 |
msgid ""
|
362 |
"<strong>Important Note:</strong> If you use WPML you can translate these "
|
363 |
"inputs via WPML String Translations."
|
@@ -992,11 +994,15 @@ msgstr ""
|
|
992 |
"shapepress-dsgvo/templates/de_DE/imprint.txt\" target=\"_blank\">/templates/"
|
993 |
"de_DE/imprint.txt.</a>"
|
994 |
|
995 |
-
#: admin/tabs/imprint/page.php:
|
996 |
-
msgid "
|
|
|
|
|
|
|
|
|
997 |
msgstr "Deutsches Template laden"
|
998 |
|
999 |
-
#: admin/tabs/imprint/page.php:
|
1000 |
msgid ""
|
1001 |
"Note: In order to be able to reset or reload the text (eg: after changing "
|
1002 |
"the language), highlight the text, delete it and click save. Thus, the text "
|
@@ -1744,17 +1750,17 @@ msgstr ""
|
|
1744 |
"Ich stimme der Speicherung der Daten zur Verarbeitung im Sinne der DSGVO zu."
|
1745 |
|
1746 |
#: includes/class-sp-dsgvo-settings.php:86
|
1747 |
-
#: includes/class-sp-dsgvo-settings.php:
|
1748 |
msgid "We use cookies to analyze visitor behavior."
|
1749 |
msgstr "Wir benutzen Cookies um das Besucherverhalten zu analysieren."
|
1750 |
|
1751 |
#: includes/class-sp-dsgvo-settings.php:93
|
1752 |
-
#: includes/class-sp-dsgvo-settings.php:
|
1753 |
msgid "Google Analytics is used to analyze website traffic."
|
1754 |
msgstr "Google Analytics wird zum Anlayiseren des Websitetraffics verwendet."
|
1755 |
|
1756 |
#: includes/class-sp-dsgvo-settings.php:100
|
1757 |
-
#: includes/class-sp-dsgvo-settings.php:
|
1758 |
msgid "Facebook Pixel is used to analyze visitor behavior."
|
1759 |
msgstr "Facebook Pixel wird zum Analysieren des Besucherverhaltens verwendet."
|
1760 |
|
@@ -2263,6 +2269,14 @@ msgstr ""
|
|
2263 |
"Wenn Sie dies nicht durchführen möchten, können Sie dieses E-"
|
2264 |
"Mail gnorieren."
|
2265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2266 |
#~ msgid ""
|
2267 |
#~ "[company_name]<br/>Owner: [company_owner]<br/>[adress_street]<br/"
|
2268 |
#~ ">[adress_zip_location]<br/><br/>Management: [company_law_person]<br/"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2019-02-22 13:40+0100\n"
|
5 |
+
"PO-Revision-Date: 2019-02-22 13:41+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: de_DE\n"
|
213 |
msgid "Dienste"
|
214 |
msgstr "Dienste"
|
215 |
|
216 |
+
#: admin/class-sp-dsgvo-admin.php:282
|
217 |
msgid ""
|
218 |
+
"Attention. Google has changed his GDPR texts. Please refresh your Privacy "
|
219 |
+
"Policy by pressing \"Reload ... template\" button under privacy policy "
|
220 |
+
"settings."
|
221 |
msgstr ""
|
222 |
"Achtung! Bitte aktualisieren Sie ihre Datenschutzexte um die letzten "
|
223 |
+
"Änderungen (Änderungen für Google) zu erhalten. Benutzen Sie dazu den Button "
|
224 |
+
"\"... Template laden\" in den Datenschutzeinstellungen."
|
225 |
|
226 |
#: admin/tabs/common-settings/class-sp-dsgvo-common-settings-activate-action.php:28
|
227 |
#: admin/tabs/common-settings/class-sp-dsgvo-common-settings-activate-action.php:50
|
359 |
|
360 |
#: admin/tabs/common-settings/page.php:120
|
361 |
#: admin/tabs/cookie-notice/page.php:144 admin/tabs/imprint/page.php:45
|
362 |
+
#: admin/tabs/privacy-policy/page.php:68
|
363 |
msgid ""
|
364 |
"<strong>Important Note:</strong> If you use WPML you can translate these "
|
365 |
"inputs via WPML String Translations."
|
994 |
"shapepress-dsgvo/templates/de_DE/imprint.txt\" target=\"_blank\">/templates/"
|
995 |
"de_DE/imprint.txt.</a>"
|
996 |
|
997 |
+
#: admin/tabs/imprint/page.php:48 admin/tabs/privacy-policy/page.php:71
|
998 |
+
msgid "Reload English template"
|
999 |
+
msgstr "Englisches Template laden"
|
1000 |
+
|
1001 |
+
#: admin/tabs/imprint/page.php:49 admin/tabs/privacy-policy/page.php:72
|
1002 |
+
msgid "Reload German template"
|
1003 |
msgstr "Deutsches Template laden"
|
1004 |
|
1005 |
+
#: admin/tabs/imprint/page.php:52 admin/tabs/privacy-policy/page.php:75
|
1006 |
msgid ""
|
1007 |
"Note: In order to be able to reset or reload the text (eg: after changing "
|
1008 |
"the language), highlight the text, delete it and click save. Thus, the text "
|
1750 |
"Ich stimme der Speicherung der Daten zur Verarbeitung im Sinne der DSGVO zu."
|
1751 |
|
1752 |
#: includes/class-sp-dsgvo-settings.php:86
|
1753 |
+
#: includes/class-sp-dsgvo-settings.php:246
|
1754 |
msgid "We use cookies to analyze visitor behavior."
|
1755 |
msgstr "Wir benutzen Cookies um das Besucherverhalten zu analysieren."
|
1756 |
|
1757 |
#: includes/class-sp-dsgvo-settings.php:93
|
1758 |
+
#: includes/class-sp-dsgvo-settings.php:253
|
1759 |
msgid "Google Analytics is used to analyze website traffic."
|
1760 |
msgstr "Google Analytics wird zum Anlayiseren des Websitetraffics verwendet."
|
1761 |
|
1762 |
#: includes/class-sp-dsgvo-settings.php:100
|
1763 |
+
#: includes/class-sp-dsgvo-settings.php:260
|
1764 |
msgid "Facebook Pixel is used to analyze visitor behavior."
|
1765 |
msgstr "Facebook Pixel wird zum Analysieren des Besucherverhaltens verwendet."
|
1766 |
|
2269 |
"Wenn Sie dies nicht durchführen möchten, können Sie dieses E-"
|
2270 |
"Mail gnorieren."
|
2271 |
|
2272 |
+
#, fuzzy
|
2273 |
+
#~| msgid "Load German template"
|
2274 |
+
#~ msgid "Load English template"
|
2275 |
+
#~ msgstr "Deutsches Template laden"
|
2276 |
+
|
2277 |
+
#~ msgid "Load German template"
|
2278 |
+
#~ msgstr "Deutsches Template laden"
|
2279 |
+
|
2280 |
#~ msgid ""
|
2281 |
#~ "[company_name]<br/>Owner: [company_owner]<br/>[adress_street]<br/"
|
2282 |
#~ ">[adress_zip_location]<br/><br/>Management: [company_law_person]<br/"
|
public/actions/notice-action.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
Class SPDSGVONoticeAction extends SPDSGVOAjaxAction{
|
4 |
+
|
5 |
+
protected $action = 'notice-action';
|
6 |
+
|
7 |
+
protected function run(){
|
8 |
+
|
9 |
+
$noticeKey = $this->get('id');
|
10 |
+
//error_log('notice-action: '.$noticeKey);
|
11 |
+
|
12 |
+
if ($noticeKey == NULL || $noticeKey == '')
|
13 |
+
{
|
14 |
+
echo "invalid notice key";
|
15 |
+
die;
|
16 |
+
}
|
17 |
+
|
18 |
+
if ($noticeKey == 'google-gdpr-refresh-notice') {
|
19 |
+
SPDSGVOSettings::set('google_gdpr_refresh_notice', '1');
|
20 |
+
}
|
21 |
+
|
22 |
+
die;
|
23 |
+
}
|
24 |
+
}
|
25 |
+
|
26 |
+
SPDSGVONoticeAction::listen();
|
sp-dsgvo.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: WP DSGVO Tools (GDPR)
|
17 |
* Plugin URI: https://wp-dsgvo.eu
|
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: 2.2.
|
20 |
* Author: Shapepress eU
|
21 |
* Author URI: https://www.shapepress.com
|
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', '2.2.
|
32 |
define('sp_dsgvo_NAME', 'sp-dsgvo');
|
33 |
/* i592995 */
|
34 |
define('sp_dsgvo_URL', plugin_dir_url( __FILE__ ));
|
16 |
* Plugin Name: WP DSGVO Tools (GDPR)
|
17 |
* Plugin URI: https://wp-dsgvo.eu
|
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: 2.2.12
|
20 |
* Author: Shapepress eU
|
21 |
* Author URI: https://www.shapepress.com
|
22 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
28 |
die();
|
29 |
}
|
30 |
|
31 |
+
define('sp_dsgvo_VERSION', '2.2.12');
|
32 |
define('sp_dsgvo_NAME', 'sp-dsgvo');
|
33 |
/* i592995 */
|
34 |
define('sp_dsgvo_URL', plugin_dir_url( __FILE__ ));
|
wpml-config.xml
CHANGED
@@ -17,6 +17,7 @@
|
|
17 |
<key name="sp_dsgvo_cn_button_text_cancel"/>
|
18 |
<key name="sp_dsgvo_cn_button_text_more"/>
|
19 |
<key name="sp_dsgvo_privacy_policy"/>
|
|
|
20 |
<key name="sp_dsgvo_imprint"/>
|
21 |
<key name="sp_dsgvo_spdsgvo_comments_checkbox_info"/>
|
22 |
<key name="sp_dsgvo_spdsgvo_comments_checkbox_confirm"/>
|
17 |
<key name="sp_dsgvo_cn_button_text_cancel"/>
|
18 |
<key name="sp_dsgvo_cn_button_text_more"/>
|
19 |
<key name="sp_dsgvo_privacy_policy"/>
|
20 |
+
<key name="sp_dsgvo_woo_privacy_text" />
|
21 |
<key name="sp_dsgvo_imprint"/>
|
22 |
<key name="sp_dsgvo_spdsgvo_comments_checkbox_info"/>
|
23 |
<key name="sp_dsgvo_spdsgvo_comments_checkbox_confirm"/>
|