WP DSGVO Tools - Version 1.4.6

Version Description

  • CSS Verbeserung bei Cookie Notice
  • Konfigurierbare Checkboxen bei Datenauszug- und Löschanfrage zur Zustimmung der Datenspeicherung
Download this release

Release Info

Developer shapepress
Plugin Icon 128x128 WP DSGVO Tools
Version 1.4.6
Comparing to
See all releases

Code changes from version 1.4.5 to 1.4.6

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wp-dsgvo.eu
4
  Tags: gdpr, dsgvo, datenschutz, wordpress, compliance, data
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.5
7
- Stable tag: 1.4.5
8
  Requires PHP: 5.6.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -75,6 +75,10 @@ WICHTIG: Vor der Installation bitte alle bisher aktivierten Cookie Notice Plugin
75
 
76
  == Changelog ==
77
 
 
 
 
 
78
  = 1.4.5 =
79
  * CF7 Fehlerbehebung
80
  * CF7 Möglichkeit zur Ersetzung des Texts bei Acceptance Checkboxen mit dem DSGVO Zustimmungstext
4
  Tags: gdpr, dsgvo, datenschutz, wordpress, compliance, data
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.5
7
+ Stable tag: 1.4.6
8
  Requires PHP: 5.6.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
75
 
76
  == Changelog ==
77
 
78
+ = 1.4.6 =
79
+ * CSS Verbeserung bei Cookie Notice
80
+ * Konfigurierbare Checkboxen bei Datenauszug- und Löschanfrage zur Zustimmung der Datenspeicherung
81
+
82
  = 1.4.5 =
83
  * CF7 Fehlerbehebung
84
  * CF7 Möglichkeit zur Ersetzung des Texts bei Acceptance Checkboxen mit dem DSGVO Zustimmungstext
admin/tabs/cookie-notice/page.php CHANGED
@@ -326,7 +326,8 @@
326
  </label></td>
327
  </tr>
328
  <tr>
329
- <th scope="row" colspan="2">CSS Klassen</th>
 
330
  </tr>
331
  <tr>
332
  <td>Cookie Notice:</td>
326
  </label></td>
327
  </tr>
328
  <tr>
329
+ <th scope="row">CSS Klassen</th>
330
+ <td><span class="info-text">Die unter "Farbliche Anpassung" angef&uuml;hrten Farben m&uuml;ssen mit !important &uuml;berschrieben werden.</span></td>
331
  </tr>
332
  <tr>
333
  <td>Cookie Notice:</td>
admin/tabs/subject-access-request/class-sp-dsgvo-subject-access-request-action.php CHANGED
@@ -8,6 +8,7 @@ Class SPDSGVOAdminSubjectAccessRequestAction extends SPDSGVOAjaxAction{
8
  $this->requireAdmin();
9
 
10
  SPDSGVOSettings::set('sar_cron', $this->get('sar_cron', '0'));
 
11
 
12
  if($this->has('sar_page')){
13
  SPDSGVOSettings::set('sar_page', $this->get('sar_page'));
8
  $this->requireAdmin();
9
 
10
  SPDSGVOSettings::set('sar_cron', $this->get('sar_cron', '0'));
11
+ SPDSGVOSettings::set('sar_dsgvo_accepted_text', $this->get('sar_dsgvo_accepted_text', ''));
12
 
13
  if($this->has('sar_page')){
14
  SPDSGVOSettings::set('sar_page', $this->get('sar_page'));
admin/tabs/subject-access-request/page.php CHANGED
@@ -28,7 +28,15 @@
28
  <span class="info-text">Anfragen werden nach eingestellter Zeit
29
  automatisch bearbeitet und dem User gesendet.</span></td>
30
  </tr>
31
-
 
 
 
 
 
 
 
 
32
  <tr>
33
  <th scope="row">Seite zum Anfordern:</th>
34
  <td>
@@ -88,6 +96,8 @@
88
  scope="col" style="width: 15%">Vorname</th>
89
  <th id="last_name" class="manage-column column-last_name" scope="col"
90
  style="width: 15%">Nachname</th>
 
 
91
  <th id="process" class="manage-column column-process" scope="col"
92
  style="width: 15%">Ausf&uuml;hren</th>
93
  </tr>
@@ -109,6 +119,9 @@
109
  <td class="column-auto-deleting-on">
110
  <?= $pendingRequest->last_name ?>
111
  </td>
 
 
 
112
  <td class="column-unsubscribe-user"><a class="button-primary"
113
  href="<?= SPDSGVOAdminSubjectAccessRequestAction::url(array('process' => $pendingRequest->ID)) ?>">Ausf&uuml;hren</a></td>
114
  </tr>
@@ -129,6 +142,7 @@
129
  <th class="manage-column column-email" scope="col">Email</th>
130
  <th class="manage-column column-first_name" scope="col">Vorname</th>
131
  <th class="manage-column column-last_name" scope="col">Nachname</th>
 
132
  <th class="manage-column column-process" scope="col">Ausf&uuml;hren</th>
133
  </tr>
134
  </tfoot>
@@ -167,6 +181,11 @@
167
  <td><input name="last_name" type="text" id="last_name" value=""
168
  class="regular-text ltr"></td>
169
  </tr>
 
 
 
 
 
170
  <tr>
171
  <th scope="row"><label for="process_now">Sofort ausf&uuml;hren</label></th>
172
  <td><input name="process_now" type="checkbox" id="process_now"
28
  <span class="info-text">Anfragen werden nach eingestellter Zeit
29
  automatisch bearbeitet und dem User gesendet.</span></td>
30
  </tr>
31
+ <tr>
32
+ <td>DSGVO Zustimmungstext:</td>
33
+ <td>
34
+ <input
35
+ name="sar_dsgvo_accepted_text" type="text" style="width: 550px;"
36
+ id="sar_dsgvo_accepted_text" value="<?= SPDSGVOSettings::get('sar_dsgvo_accepted_text'); ?>">
37
+ <span class="info-text">Der Text der bei der Checkbox f&uuml; die Datenspeicherung angezeigt werden soll</span>
38
+ </td>
39
+ </tr>
40
  <tr>
41
  <th scope="row">Seite zum Anfordern:</th>
42
  <td>
96
  scope="col" style="width: 15%">Vorname</th>
97
  <th id="last_name" class="manage-column column-last_name" scope="col"
98
  style="width: 15%">Nachname</th>
99
+ <th id="dsgvo_accepted" class="manage-column column-dsgvo_accepted" scope="col"
100
+ style="width: 15%">DSGVO Zustimmung</th>
101
  <th id="process" class="manage-column column-process" scope="col"
102
  style="width: 15%">Ausf&uuml;hren</th>
103
  </tr>
119
  <td class="column-auto-deleting-on">
120
  <?= $pendingRequest->last_name ?>
121
  </td>
122
+ <td class="column-auto-deleting-on">
123
+ <?= $pendingRequest->dsgvo_accepted === '1' ? 'Ja' : 'Nein' ?>
124
+ </td>
125
  <td class="column-unsubscribe-user"><a class="button-primary"
126
  href="<?= SPDSGVOAdminSubjectAccessRequestAction::url(array('process' => $pendingRequest->ID)) ?>">Ausf&uuml;hren</a></td>
127
  </tr>
142
  <th class="manage-column column-email" scope="col">Email</th>
143
  <th class="manage-column column-first_name" scope="col">Vorname</th>
144
  <th class="manage-column column-last_name" scope="col">Nachname</th>
145
+ <th class="manage-column column-dsgvo_accepted" scope="col">DSGVO Zustimmung</th>
146
  <th class="manage-column column-process" scope="col">Ausf&uuml;hren</th>
147
  </tr>
148
  </tfoot>
181
  <td><input name="last_name" type="text" id="last_name" value=""
182
  class="regular-text ltr"></td>
183
  </tr>
184
+ <tr>
185
+ <th scope="row"><label for="dsgvo_checkbox">DSGVO Speicherungszustimmung</label></th>
186
+ <td><input name="dsgvo_checkbox" type="checkbox" id="dsgvo_checkbox"
187
+ value="1"></td>
188
+ </tr>
189
  <tr>
190
  <th scope="row"><label for="process_now">Sofort ausf&uuml;hren</label></th>
191
  <td><input name="process_now" type="checkbox" id="process_now"
admin/tabs/super-unsubscribe/class-sp-dsgvo-super-unsubscribe-action.php CHANGED
@@ -10,6 +10,8 @@ Class SPDSGVOSuperUnsubscribeAction extends SPDSGVOAjaxAction{
10
 
11
  // unsubscribe_auto_delete
12
  SPDSGVOSettings::set('unsubscribe_auto_delete', $this->get('unsubscribe_auto_delete', '0'));
 
 
13
 
14
  // unsubscribe auto delete tme
15
  SPDSGVOSettings::set('su_auto_del_time', $this->get('su_auto_del_time', '0'));
10
 
11
  // unsubscribe_auto_delete
12
  SPDSGVOSettings::set('unsubscribe_auto_delete', $this->get('unsubscribe_auto_delete', '0'));
13
+ SPDSGVOSettings::set('su_dsgvo_accepted_text', $this->get('su_dsgvo_accepted_text', ''));
14
+
15
 
16
  // unsubscribe auto delete tme
17
  SPDSGVOSettings::set('su_auto_del_time', $this->get('su_auto_del_time', '0'));
admin/tabs/super-unsubscribe/page.php CHANGED
@@ -34,6 +34,7 @@
34
  <option value="3m" <?= selected($suAutoDelTime === '3m') ?>>3 Monate</option>
35
  <option value="6m" <?= selected($suAutoDelTime === '6m') ?>>6 Monate</option>
36
  <option value="1y" <?= selected($suAutoDelTime === '1y') ?>>1 Jahr</option>
 
37
  <option value="7y" <?= selected($suAutoDelTime === '7y') ?>>7 Jahre</option>
38
  </select>
39
  </label>
@@ -41,6 +42,16 @@
41
  automatisch gel&ouml;scht. Stellt die maximale Aufbewahrungszeit sicher.</span></td>
42
  </tr>
43
 
 
 
 
 
 
 
 
 
 
 
44
  <?php if (enablePremiumFeatures()) : ?>
45
  <tr>
46
  <td>WooCommerce Daten</td>
@@ -146,6 +157,8 @@ if (in_array($_GET['status'], $statuses)) {
146
  scope="col" style="width: 15%">Vorname</th>
147
  <th id="last_name" class="manage-column column-last_name" scope="col"
148
  style="width: 15%">Nachname</th>
 
 
149
  <th id="status" class="manage-column column-status" scope="col"
150
  style="width: 15%">Status</th>
151
  <th id="process" class="manage-column column-process" scope="col"
@@ -169,6 +182,9 @@ if (in_array($_GET['status'], $statuses)) {
169
  <td class="column-auto-deleting-on">
170
  <?= $confirmedRequest->last_name ?>
171
  </td>
 
 
 
172
  <td class="column-auto-deleting-on">
173
  <?= ucfirst($confirmedRequest->status) ?>
174
  </td>
@@ -205,6 +221,7 @@ if (in_array($_GET['status'], $statuses)) {
205
  <th class="manage-column column-email" scope="col">Email</th>
206
  <th class="manage-column column-first_name" scope="col">Vorname</th>
207
  <th class="manage-column column-last_name" scope="col">Nachname</th>
 
208
  <th class="manage-column column-status" scope="col">Status</th>
209
  <th class="manage-column column-process" scope="col">Jetzt l&ouml;schen</th>
210
  </tr>
@@ -245,6 +262,11 @@ if (in_array($_GET['status'], $statuses)) {
245
  <td><input name="last_name" type="text" id="last_name" value=""
246
  class="regular-text ltr"></td>
247
  </tr>
 
 
 
 
 
248
  <tr>
249
  <th scope="row"><label for="process_now">Ohne Benutzerbest&auml;tigung ausf&uuml;hren</label></th>
250
  <td><input name="process_now" type="checkbox" id="process_now"
34
  <option value="3m" <?= selected($suAutoDelTime === '3m') ?>>3 Monate</option>
35
  <option value="6m" <?= selected($suAutoDelTime === '6m') ?>>6 Monate</option>
36
  <option value="1y" <?= selected($suAutoDelTime === '1y') ?>>1 Jahr</option>
37
+ <option value="6y" <?= selected($suAutoDelTime === '6y') ?>>6 Jahre</option>
38
  <option value="7y" <?= selected($suAutoDelTime === '7y') ?>>7 Jahre</option>
39
  </select>
40
  </label>
42
  automatisch gel&ouml;scht. Stellt die maximale Aufbewahrungszeit sicher.</span></td>
43
  </tr>
44
 
45
+ <tr>
46
+ <td>DSGVO Zustimmungstext:</td>
47
+ <td>
48
+ <input
49
+ name="su_dsgvo_accepted_text" type="text" style="width: 550px;"
50
+ id="su_dsgvo_accepted_text" value="<?= SPDSGVOSettings::get('su_dsgvo_accepted_text'); ?>">
51
+ <span class="info-text">Der Text der bei der Checkbox f&uuml; die Datenspeicherung angezeigt werden soll</span>
52
+ </td>
53
+ </tr>
54
+
55
  <?php if (enablePremiumFeatures()) : ?>
56
  <tr>
57
  <td>WooCommerce Daten</td>
157
  scope="col" style="width: 15%">Vorname</th>
158
  <th id="last_name" class="manage-column column-last_name" scope="col"
159
  style="width: 15%">Nachname</th>
160
+ <th id="dsgvo_accepted" class="manage-column column-dsgvo_accepted" scope="col"
161
+ style="width: 15%">DSGVO Zustimmung</th>
162
  <th id="status" class="manage-column column-status" scope="col"
163
  style="width: 15%">Status</th>
164
  <th id="process" class="manage-column column-process" scope="col"
182
  <td class="column-auto-deleting-on">
183
  <?= $confirmedRequest->last_name ?>
184
  </td>
185
+ <td class="column-auto-deleting-on">
186
+ <?= $confirmedRequest->dsgvo_accepted === '1' ? 'Ja' : 'Nein' ?>
187
+ </td>
188
  <td class="column-auto-deleting-on">
189
  <?= ucfirst($confirmedRequest->status) ?>
190
  </td>
221
  <th class="manage-column column-email" scope="col">Email</th>
222
  <th class="manage-column column-first_name" scope="col">Vorname</th>
223
  <th class="manage-column column-last_name" scope="col">Nachname</th>
224
+ <th class="manage-column column-dsgvo_accepted" scope="col">DSGVO Zustimmung</th>
225
  <th class="manage-column column-status" scope="col">Status</th>
226
  <th class="manage-column column-process" scope="col">Jetzt l&ouml;schen</th>
227
  </tr>
262
  <td><input name="last_name" type="text" id="last_name" value=""
263
  class="regular-text ltr"></td>
264
  </tr>
265
+ <tr>
266
+ <th scope="row"><label for="dsgvo_checkbox">DSGVO Speicherungszustimmung</label></th>
267
+ <td><input name="dsgvo_checkbox" type="checkbox" id="dsgvo_checkbox"
268
+ value="1"></td>
269
+ </tr>
270
  <tr>
271
  <th scope="row"><label for="process_now">Ohne Benutzerbest&auml;tigung ausf&uuml;hren</label></th>
272
  <td><input name="process_now" type="checkbox" id="process_now"
includes/class-sp-dsgvo-settings.php CHANGED
@@ -42,6 +42,8 @@ class SPDSGVOSettings{
42
  /////////////////////////////////////
43
  'sar_cron' => '0',
44
  'sar_page' => '0',
 
 
45
 
46
  /////////////////////////////////////
47
  // Third-party Services
@@ -80,6 +82,7 @@ class SPDSGVOSettings{
80
  'unsubscribe_auto_delete' => '0',
81
  'su_auto_del_time' => '0',
82
  'su_woo_data_action' => 'ignore',
 
83
 
84
 
85
  /////////////////////////////////////
42
  /////////////////////////////////////
43
  'sar_cron' => '0',
44
  'sar_page' => '0',
45
+ 'sar_dsgvo_accepted_text' => 'Ich stimme der Speicherung der Daten zur Verarbeitung im Sinne der DSGVO zu.',
46
+
47
 
48
  /////////////////////////////////////
49
  // Third-party Services
82
  'unsubscribe_auto_delete' => '0',
83
  'su_auto_del_time' => '0',
84
  'su_woo_data_action' => 'ignore',
85
+ 'su_dsgvo_accepted_text' => 'Ich stimme der Speicherung der Daten zur Verarbeitung im Sinne der DSGVO zu.',
86
 
87
 
88
  /////////////////////////////////////
includes/models/subject-access-request.php CHANGED
@@ -9,6 +9,7 @@ Class SPDSGVOSubjectAccessRequest extends SPDSGVOModel {
9
  'first_name',
10
  'last_name',
11
  'email',
 
12
 
13
  'token',
14
  'status',
9
  'first_name',
10
  'last_name',
11
  'email',
12
+ 'dsgvo_accepted',
13
 
14
  'token',
15
  'status',
includes/models/unsubscriber.php CHANGED
@@ -7,6 +7,7 @@ Class SPDSGVOUnsubscriber extends SPDSGVOModel {
7
  'first_name',
8
  'last_name',
9
  'email',
 
10
  'process_now',
11
 
12
  'token',
7
  'first_name',
8
  'last_name',
9
  'email',
10
+ 'dsgvo_accepted',
11
  'process_now',
12
 
13
  'token',
public/class-sp-dsgvo-public.php CHANGED
@@ -155,20 +155,20 @@ class SPDSGVOPublic
155
  <?php endif; ?>
156
 
157
  <span id="cn-notice-text" class="<?= SPDSGVOSettings::get('cn_custom_css_text') !== '' ? SPDSGVOSettings::get('cn_custom_css_text'):'' ?>"
158
- style="font-size:<?= SPDSGVOSettings::get('cn_size_text') ?> !important;"
159
  ><?= convDeChars(SPDSGVOSettings::get('cookie_notice_custom_text')) ?></span>
160
 
161
  <a href="#" id="cn-accept-cookie" data-cookie-set="accept"
162
  class="cn-set-cookie button wp-default <?= SPDSGVOSettings::get('cn_custom_css_buttons') !== '' ? SPDSGVOSettings::get('cn_custom_css_buttons'):'' ?>"
163
- style="background-color: <?= SPDSGVOSettings::get('cn_background_color_button') ?> !important;
164
- color: <?= SPDSGVOSettings::get('cn_text_color_button') ?> !important;"
165
  ><?= SPDSGVOSettings::get('cn_button_text_ok') ?></a>
166
 
167
  <?php if(SPDSGVOSettings::get('cn_activate_cancel_btn') != '0'): ?>
168
  <a href="#" id="cn-refuse-cookie"
169
  data-cookie-set="refuse" class="cn-set-cookie button wp-default <?= SPDSGVOSettings::get('cn_custom_css_buttons') !== '' ? SPDSGVOSettings::get('cn_custom_css_buttons'):'' ?>"
170
- style="background-color: <?= SPDSGVOSettings::get('cn_background_color_button') ?> !important;
171
- color: <?= SPDSGVOSettings::get('cn_text_color_button') ?> !important;"
172
  ><?= SPDSGVOSettings::get('cn_button_text_cancel') ?></a>
173
  <?php endif; ?>
174
 
@@ -178,8 +178,8 @@ class SPDSGVOPublic
178
  id="cn-more-info"
179
  target="<?= SPDSGVOSettings::get('cn_decline_target_url') ?>"
180
  class="cn-more-info button wp-default <?= SPDSGVOSettings::get('cn_custom_css_buttons') !== '' ? SPDSGVOSettings::get('cn_custom_css_buttons'):'' ?>"
181
- style="background-color: <?= SPDSGVOSettings::get('cn_background_color_button') ?> !important;
182
- color: <?= SPDSGVOSettings::get('cn_text_color_button') ?> !important;"
183
  ><?= SPDSGVOSettings::get('cn_button_text_more') ?></a>
184
  <?php endif; ?>
185
 
155
  <?php endif; ?>
156
 
157
  <span id="cn-notice-text" class="<?= SPDSGVOSettings::get('cn_custom_css_text') !== '' ? SPDSGVOSettings::get('cn_custom_css_text'):'' ?>"
158
+ style="font-size:<?= SPDSGVOSettings::get('cn_size_text') ?>;"
159
  ><?= convDeChars(SPDSGVOSettings::get('cookie_notice_custom_text')) ?></span>
160
 
161
  <a href="#" id="cn-accept-cookie" data-cookie-set="accept"
162
  class="cn-set-cookie button wp-default <?= SPDSGVOSettings::get('cn_custom_css_buttons') !== '' ? SPDSGVOSettings::get('cn_custom_css_buttons'):'' ?>"
163
+ style="background-color: <?= SPDSGVOSettings::get('cn_background_color_button') ?>;
164
+ color: <?= SPDSGVOSettings::get('cn_text_color_button') ?>"
165
  ><?= SPDSGVOSettings::get('cn_button_text_ok') ?></a>
166
 
167
  <?php if(SPDSGVOSettings::get('cn_activate_cancel_btn') != '0'): ?>
168
  <a href="#" id="cn-refuse-cookie"
169
  data-cookie-set="refuse" class="cn-set-cookie button wp-default <?= SPDSGVOSettings::get('cn_custom_css_buttons') !== '' ? SPDSGVOSettings::get('cn_custom_css_buttons'):'' ?>"
170
+ style="background-color: <?= SPDSGVOSettings::get('cn_background_color_button') ?>;
171
+ color: <?= SPDSGVOSettings::get('cn_text_color_button') ?>;"
172
  ><?= SPDSGVOSettings::get('cn_button_text_cancel') ?></a>
173
  <?php endif; ?>
174
 
178
  id="cn-more-info"
179
  target="<?= SPDSGVOSettings::get('cn_decline_target_url') ?>"
180
  class="cn-more-info button wp-default <?= SPDSGVOSettings::get('cn_custom_css_buttons') !== '' ? SPDSGVOSettings::get('cn_custom_css_buttons'):'' ?>"
181
+ style="background-color: <?= SPDSGVOSettings::get('cn_background_color_button') ?>;
182
+ color: <?= SPDSGVOSettings::get('cn_text_color_button') ?>;"
183
  ><?= SPDSGVOSettings::get('cn_button_text_more') ?></a>
184
  <?php endif; ?>
185
 
public/css/sp-dsgvo-public.css CHANGED
@@ -559,32 +559,30 @@ to {
559
  font-family: sans-serif;
560
  line-height: 18px;
561
  padding: 2px 12px !important;
562
- background: linear-gradient(to bottom, #FEFEFE, #F4F4F4) repeat scroll 0
563
- 0 #F3F3F3 !important;
564
- border-color: #BBB !important;
565
- color: #333 !important;
566
- text-shadow: 0 1px 0 #FFF;
 
567
  -moz-box-sizing: border-box;
568
- border-radius: 3px 3px 3px 3px !important;
569
- border-style: solid !important;
570
- border-width: 1px !important;
571
  cursor: pointer;
572
  display: inline-block;
573
- font-size: 12px !important;
574
- font-style: normal !important;
575
- text-decoration: none !important;
576
- white-space: nowrap !important;
577
- outline: none !important;
578
  width: initial;
579
  height: initial;
580
  }
581
 
582
  #cookie-notice .button.wp-default:hover, #cookie-notice .button.wp-default:focus
583
  {
584
- background: linear-gradient(to bottom, #FFFFFF, #F3F3F3) repeat scroll 0
585
- 0 #F3F3F3 !important;
586
- border-color: #999999 !important;
587
- color: #222222 !important;
588
  }
589
 
590
  /* TODO this css file will be added on a lot of pages so selectors should very direct */
559
  font-family: sans-serif;
560
  line-height: 18px;
561
  padding: 2px 12px !important;
562
+ /* background: linear-gradient(to bottom, #FEFEFE, #F4F4F4) repeat scroll 0
563
+ 0 #F3F3F3 !important; */
564
+ background-image: none;
565
+ border-color: #BBB;
566
+ color: #333;
567
+ /* text-shadow: 0 1px 0 #FFF; */
568
  -moz-box-sizing: border-box;
569
+ border-radius: 3px 3px 3px 3px;
570
+ border-style: solid;
571
+ border-width: 1px;
572
  cursor: pointer;
573
  display: inline-block;
574
+ font-size: 12px;
575
+ font-style: normal;
576
+ text-decoration: none;
577
+ white-space: nowrap;
578
+ outline: none;
579
  width: initial;
580
  height: initial;
581
  }
582
 
583
  #cookie-notice .button.wp-default:hover, #cookie-notice .button.wp-default:focus
584
  {
585
+
 
 
 
586
  }
587
 
588
  /* TODO this css file will be added on a lot of pages so selectors should very direct */
public/shortcodes/subject-access-request/subject-access-request-action.php CHANGED
@@ -6,13 +6,18 @@ Class SPDSGVOSubjectAccessRequestAction extends SPDSGVOAjaxAction{
6
 
7
  public function run(){
8
  if(!$this->has('email') || empty($this->get('email'))){
9
- $this->error('No email address provided.');
 
 
 
 
10
  }
11
 
12
  $sar = SPDSGVOSubjectAccessRequest::insert(array(
13
  'first_name' => $this->get('first_name'),
14
  'last_name' => $this->get('last_name'),
15
  'email' => $this->get('email'),
 
16
  ));
17
 
18
 
6
 
7
  public function run(){
8
  if(!$this->has('email') || empty($this->get('email'))){
9
+ $this->error('Bitte eine Email Adresse angeben.');
10
+ }
11
+
12
+ if(!$this->has('dsgvo_checkbox') || $this->get('dsgvo_checkbox') !== '1'){
13
+ $this->error('Die DSGVO Zustimmung ist zwingend.');
14
  }
15
 
16
  $sar = SPDSGVOSubjectAccessRequest::insert(array(
17
  'first_name' => $this->get('first_name'),
18
  'last_name' => $this->get('last_name'),
19
  'email' => $this->get('email'),
20
+ 'dsgvo_accepted' => $this->get('dsgvo_checkbox')
21
  ));
22
 
23
 
public/shortcodes/subject-access-request/subject-access-request.php CHANGED
@@ -33,10 +33,21 @@ function SPDSGVODownloadMyDataShortcode($atts){
33
  </div>
34
  </div>
35
 
36
- <label for="email-field">Email</label>
37
- <input required type="email" id="email-field" name="email" value="<?= $email ?>" placeholder="Email" spellcheck="false" />
38
-
39
- <br><br>
 
 
 
 
 
 
 
 
 
 
 
40
  <input type="submit" value="Anfrage absenden" />
41
  </fieldset>
42
  </form>
33
  </div>
34
  </div>
35
 
36
+ <div class="row">
37
+ <div class="column">
38
+ <label for="email-field">Email</label>
39
+ <input required type="email" id="email-field" name="email" value="<?= $email ?>" placeholder="Email" spellcheck="false" />
40
+ </div>
41
+ </div>
42
+ <div class="row">
43
+ <div class="column">
44
+ <label for="dsgvo-checkbox">
45
+ <input required type="checkbox" id="dsgvo-checkbox" name="dsgvo_checkbox" value="1" />
46
+ <span style="font-weight:normal"><?= convDeChars(SPDSGVOSettings::get('sar_dsgvo_accepted_text')); ?></span>
47
+ </label>
48
+ </div>
49
+ </div>
50
+ <br>
51
  <input type="submit" value="Anfrage absenden" />
52
  </fieldset>
53
  </form>
public/shortcodes/super-unsubscribe/unsubscribe-form-action.php CHANGED
@@ -6,13 +6,18 @@ Class SPDSGVOSuperUnsubscribeFormAction extends SPDSGVOAjaxAction{
6
 
7
  public function run(){
8
  if(!$this->has('email') || empty($this->get('email'))){
9
- $this->error('No email address provided.');
 
 
 
 
10
  }
11
 
12
  $unsubscriber = SPDSGVOUnsubscriber::insert(array(
13
  'first_name' => $this->get('first_name'),
14
  'last_name' => $this->get('last_name'),
15
  'email' => $this->get('email'),
 
16
  'process_now'=> $this->get('process_now')
17
  ));
18
 
6
 
7
  public function run(){
8
  if(!$this->has('email') || empty($this->get('email'))){
9
+ $this->error('Bitte eine Email Adresse angeben.');
10
+ }
11
+
12
+ if(!$this->has('dsgvo_checkbox') || $this->get('dsgvo_checkbox') !== '1'){
13
+ $this->error('Die DSGVO Zustimmung ist zwingend.');
14
  }
15
 
16
  $unsubscriber = SPDSGVOUnsubscriber::insert(array(
17
  'first_name' => $this->get('first_name'),
18
  'last_name' => $this->get('last_name'),
19
  'email' => $this->get('email'),
20
+ 'dsgvo_accepted' => $this->get('dsgvo_checkbox'),
21
  'process_now'=> $this->get('process_now')
22
  ));
23
 
public/shortcodes/super-unsubscribe/unsubscribe-form.php CHANGED
@@ -37,10 +37,21 @@ function SPDSGVOUnsubscribeShortcode($atts){
37
  </div>
38
  </div>
39
 
40
- <label for="email-field">Email</label>
41
- <input required type="email" id="email-field" name="email" value="<?= $email ?>" placeholder="Email" spellcheck="false" />
42
-
43
- <br><br>
 
 
 
 
 
 
 
 
 
 
 
44
  <input type="submit" value="L&ouml;schanfrage senden" />
45
  </fieldset>
46
  </form>
37
  </div>
38
  </div>
39
 
40
+ <div class="row">
41
+ <div class="column">
42
+ <label for="email-field">Email</label>
43
+ <input required type="email" id="email-field" name="email" value="<?= $email ?>" placeholder="Email" spellcheck="false" />
44
+ </div>
45
+ </div>
46
+ <div class="row">
47
+ <div class="column">
48
+ <label for="dsgvo-checkbox">
49
+ <input required type="checkbox" id="dsgvo-checkbox" name="dsgvo_checkbox" value="1" />
50
+ <span style="font-weight:normal"><?= convDeChars(SPDSGVOSettings::get('su_dsgvo_accepted_text')); ?></span>
51
+ </label>
52
+ </div>
53
+ </div>
54
+ <br>
55
  <input type="submit" value="L&ouml;schanfrage senden" />
56
  </fieldset>
57
  </form>
sp-dsgvo.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: WP DSGVO Tools
17
  * Plugin URI: https://wp-dsgvo.eu
18
  * Description: WP DSGVO Tools helfen beim Erf&uuml;llen der Richtlinien der Datenschutzgrundverordnung (<a target="_blank" href="https://ico.org.uk/for-organisations/data-protection-reform/overview-of-the-gdpr/">DSGVO</a>), spezialisiert auf &Ouml;sterreich und Deutschland.
19
- * Version: 1.4.5
20
  * Author: Shapepress eU
21
  * Author URI: https://www.shapepress.com
22
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
16
  * Plugin Name: WP DSGVO Tools
17
  * Plugin URI: https://wp-dsgvo.eu
18
  * Description: WP DSGVO Tools helfen beim Erf&uuml;llen der Richtlinien der Datenschutzgrundverordnung (<a target="_blank" href="https://ico.org.uk/for-organisations/data-protection-reform/overview-of-the-gdpr/">DSGVO</a>), spezialisiert auf &Ouml;sterreich und Deutschland.
19
+ * Version: 1.4.6
20
  * Author: Shapepress eU
21
  * Author URI: https://www.shapepress.com
22
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt