Version Description
- Feature Request: Overlay bei Cookie Notice um ein Agieren vor Zustimmung/Ablehnung zu verhindern
Download this release
Release Info
Developer | shapepress |
Plugin | WP DSGVO Tools |
Version | 1.4.3 |
Comparing to | |
See all releases |
Code changes from version 1.4.2 to 1.4.3
- README.txt +5 -1
- admin/tabs/cookie-notice/class-sp-dsgvo-cookie-notice-action.php +3 -1
- admin/tabs/cookie-notice/page.php +10 -0
- includes/class-sp-dsgvo-settings.php +1 -0
- public/class-sp-dsgvo-public.php +5 -0
- public/css/sp-dsgvo-public.css +14 -0
- public/js/sp-dsgvo-public.js +1 -0
- sp-dsgvo.php +2 -2
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.
|
8 |
Requires PHP: 5.6.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -36,6 +36,7 @@ Features
|
|
36 |
* Alle Features der Free Edition
|
37 |
* **anpassbare Cookie Notice**
|
38 |
* Texte der Checkbox bei den Kommentaren anpassbar
|
|
|
39 |
|
40 |
**Premium Edition**
|
41 |
* Alle Features der Free und Blog Edition
|
@@ -74,6 +75,9 @@ WICHTIG: Vor der Installation bitte alle bisher aktivierten Cookie Notice Plugin
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
77 |
= 1.4.2 =
|
78 |
* Problem mit Cookie Notice behoben
|
79 |
|
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.3
|
8 |
Requires PHP: 5.6.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
36 |
* Alle Features der Free Edition
|
37 |
* **anpassbare Cookie Notice**
|
38 |
* Texte der Checkbox bei den Kommentaren anpassbar
|
39 |
+
* **Overlay** bei Cookie Notice um ein Agieren vor Zustimmung/Ablehnung zu verhindern
|
40 |
|
41 |
**Premium Edition**
|
42 |
* Alle Features der Free und Blog Edition
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.4.3 =
|
79 |
+
* Feature Request: Overlay bei Cookie Notice um ein Agieren vor Zustimmung/Ablehnung zu verhindern
|
80 |
+
|
81 |
= 1.4.2 =
|
82 |
* Problem mit Cookie Notice behoben
|
83 |
|
admin/tabs/cookie-notice/class-sp-dsgvo-cookie-notice-action.php
CHANGED
@@ -45,7 +45,9 @@ Class SPDSGVOCookieNoticeAction extends SPDSGVOAjaxAction{
|
|
45 |
|
46 |
SPDSGVOSettings::set('cn_size_text', $this->get('cn_size_text', 'auto'));
|
47 |
SPDSGVOSettings::set('cn_height_container', $this->get('cn_height_container', 'auto'));
|
48 |
-
SPDSGVOSettings::set('cn_show_dsgvo_icon', $this->get('cn_show_dsgvo_icon', '0'));
|
|
|
|
|
49 |
}
|
50 |
|
51 |
$this->returnBack();
|
45 |
|
46 |
SPDSGVOSettings::set('cn_size_text', $this->get('cn_size_text', 'auto'));
|
47 |
SPDSGVOSettings::set('cn_height_container', $this->get('cn_height_container', 'auto'));
|
48 |
+
SPDSGVOSettings::set('cn_show_dsgvo_icon', $this->get('cn_show_dsgvo_icon', '0'));
|
49 |
+
|
50 |
+
SPDSGVOSettings::set('cn_use_overlay', $this->get('cn_use_overlay', '0'));
|
51 |
}
|
52 |
|
53 |
$this->returnBack();
|
admin/tabs/cookie-notice/page.php
CHANGED
@@ -84,6 +84,7 @@
|
|
84 |
<?= (SPDSGVOSettings::get('display_cookie_notice') === '1')? ' checked ' : ''; ?>>
|
85 |
</label></td>
|
86 |
</tr>
|
|
|
87 |
<tr>
|
88 |
<th scope="row">Meldungstext:</th>
|
89 |
<td><textarea name="cookie_notice_custom_text"
|
@@ -399,6 +400,15 @@
|
|
399 |
<?= (SPDSGVOSettings::get('cn_show_dsgvo_icon') === '1')? ' checked ' : ''; ?>>
|
400 |
</label></td>
|
401 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
402 |
<?php endif;?>
|
403 |
</tbody>
|
404 |
</table>
|
84 |
<?= (SPDSGVOSettings::get('display_cookie_notice') === '1')? ' checked ' : ''; ?>>
|
85 |
</label></td>
|
86 |
</tr>
|
87 |
+
|
88 |
<tr>
|
89 |
<th scope="row">Meldungstext:</th>
|
90 |
<td><textarea name="cookie_notice_custom_text"
|
400 |
<?= (SPDSGVOSettings::get('cn_show_dsgvo_icon') === '1')? ' checked ' : ''; ?>>
|
401 |
</label></td>
|
402 |
</tr>
|
403 |
+
<tr>
|
404 |
+
<td>Overlay verwenden:</td>
|
405 |
+
<td><label for="cn_use_overlay"> <input
|
406 |
+
name="cn_use_overlay" type="checkbox"
|
407 |
+
<?= $disableCnStylingOptionTableInput ? 'disabled' : ''; ?>
|
408 |
+
id="cn_use_overlay" value="1"
|
409 |
+
<?= (SPDSGVOSettings::get('cn_use_overlay') === '1')? ' checked ' : ''; ?>>
|
410 |
+
</label><span class="info-text"> Blendet einen grauen Hintergrund ein und verhindert das Besucher mit der Site agiern bevor eine Wahl getroffen wurde.</span></td>
|
411 |
+
</tr>
|
412 |
<?php endif;?>
|
413 |
</tbody>
|
414 |
</table>
|
includes/class-sp-dsgvo-settings.php
CHANGED
@@ -116,6 +116,7 @@ class SPDSGVOSettings{
|
|
116 |
'cn_size_text' => '13px',
|
117 |
'cn_height_container' => 'auto',
|
118 |
'cn_show_dsgvo_icon' => '1',
|
|
|
119 |
|
120 |
|
121 |
/////////////////////////////////////
|
116 |
'cn_size_text' => '13px',
|
117 |
'cn_height_container' => 'auto',
|
118 |
'cn_show_dsgvo_icon' => '1',
|
119 |
+
'cn_use_overlay' => '0',
|
120 |
|
121 |
|
122 |
/////////////////////////////////////
|
public/class-sp-dsgvo-public.php
CHANGED
@@ -132,6 +132,11 @@ class SPDSGVOPublic
|
|
132 |
if (SPDSGVOSettings::get('display_cookie_notice') === '1') :
|
133 |
if (hasUserGivenPermissionFor('cookies') === FALSE) :
|
134 |
?>
|
|
|
|
|
|
|
|
|
|
|
135 |
<div id="cookie-notice" role="banner"
|
136 |
class="cn-<?= SPDSGVOSettings::get('cn_position') ?> <?= SPDSGVOSettings::get('cn_custom_css_container') !== '' ? SPDSGVOSettings::get('cn_custom_css_container'):'' ?>"
|
137 |
style="background-color: <?= SPDSGVOSettings::get('cn_background_color') ?> !important;
|
132 |
if (SPDSGVOSettings::get('display_cookie_notice') === '1') :
|
133 |
if (hasUserGivenPermissionFor('cookies') === FALSE) :
|
134 |
?>
|
135 |
+
|
136 |
+
<?php if (SPDSGVOSettings::get('cn_use_overlay') === '1') : ?>
|
137 |
+
<div id="cookie-notice-blocker"></div>
|
138 |
+
<?php endif; ?>
|
139 |
+
|
140 |
<div id="cookie-notice" role="banner"
|
141 |
class="cn-<?= SPDSGVOSettings::get('cn_position') ?> <?= SPDSGVOSettings::get('cn_custom_css_container') !== '' ? SPDSGVOSettings::get('cn_custom_css_container'):'' ?>"
|
142 |
style="background-color: <?= SPDSGVOSettings::get('cn_background_color') ?> !important;
|
public/css/sp-dsgvo-public.css
CHANGED
@@ -507,6 +507,20 @@ to {
|
|
507 |
float: right
|
508 |
}
|
509 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
#cookie-notice {
|
511 |
display: none;
|
512 |
position: fixed;
|
507 |
float: right
|
508 |
}
|
509 |
|
510 |
+
#cookie-notice-blocker
|
511 |
+
{
|
512 |
+
position: fixed;
|
513 |
+
display: block;
|
514 |
+
width: 100%;
|
515 |
+
height: 100%;
|
516 |
+
top: 0;
|
517 |
+
left: 0;
|
518 |
+
right: 0;
|
519 |
+
bottom: 0;
|
520 |
+
background-color: rgba(0,0,0,0.5);
|
521 |
+
z-index: 9999;
|
522 |
+
}
|
523 |
+
|
524 |
#cookie-notice {
|
525 |
display: none;
|
526 |
position: fixed;
|
public/js/sp-dsgvo-public.js
CHANGED
@@ -75,6 +75,7 @@ function getCookieValue(a) {
|
|
75 |
// remove Cookie Notice
|
76 |
$.fn.removeCookieNotice = function ( cookie_value ) {
|
77 |
$( '#cookie-notice' ).remove();
|
|
|
78 |
$( 'body' ).removeClass( 'cookies-not-accepted' );
|
79 |
};
|
80 |
|
75 |
// remove Cookie Notice
|
76 |
$.fn.removeCookieNotice = function ( cookie_value ) {
|
77 |
$( '#cookie-notice' ).remove();
|
78 |
+
$( '#cookie-notice-blocker' ).remove();
|
79 |
$( 'body' ).removeClass( 'cookies-not-accepted' );
|
80 |
};
|
81 |
|
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ü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 Österreich und Deutschland.
|
19 |
-
* Version: 1.4.
|
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', '1.4.
|
32 |
define('sp_dsgvo_NAME', 'sp-dsgvo');
|
33 |
|
34 |
/**
|
16 |
* Plugin Name: WP DSGVO Tools
|
17 |
* Plugin URI: https://wp-dsgvo.eu
|
18 |
* Description: WP DSGVO Tools helfen beim Erfü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 Österreich und Deutschland.
|
19 |
+
* Version: 1.4.3
|
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', '1.4.3');
|
32 |
define('sp_dsgvo_NAME', 'sp-dsgvo');
|
33 |
|
34 |
/**
|