Cookie Notice by dFactory - Version 1.1.0

Version Description

  • New: Rewritten cookie setting method to pure JS
  • Fix: Compatibility with WP Super Cache and other caching plugins
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Cookie Notice by dFactory
Version 1.1.0
Comparing to
See all releases

Code changes from version 1.0.1 to 1.1.0

cookie-notice.php CHANGED
@@ -2,12 +2,14 @@
2
  /*
3
  Plugin Name: Cookie Notice
4
  Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
5
- Version: 1.0.1
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
 
 
11
 
12
  Restrict Widgets
13
  Copyright (C) 2013, Digital Factory - info@digitalfactory.pl
@@ -68,7 +70,7 @@ class Cookie_Notice
68
  add_action('plugins_loaded', array(&$this, 'load_defaults'));
69
  add_action('admin_enqueue_scripts', array(&$this, 'admin_load_scripts_styles'));
70
  add_action('wp_enqueue_scripts', array(&$this, 'front_load_scripts_styles'));
71
- add_action('wp_footer', array(&$this, 'add_cookie_notice'));
72
 
73
  //filters
74
  add_filter('plugin_row_meta', array(&$this, 'plugin_extend_links'), 10, 2);
@@ -148,7 +150,7 @@ class Cookie_Notice
148
 
149
  public function admin_menu_options()
150
  {
151
- $watermark_settings_page = add_options_page(
152
  __('Cookie Notice', 'cookie-notice'),
153
  __('Cookie Notice', 'cookie-notice'),
154
  'manage_options',
@@ -208,7 +210,7 @@ class Cookie_Notice
208
  //design
209
  add_settings_section('cookie_notice_design', __('Design', 'cookie-notice'), '', 'cookie_notice_options');
210
  add_settings_field('cn_position', __('Position', 'cookie-notice'), array(&$this, 'cn_position'), 'cookie_notice_options', 'cookie_notice_design');
211
- add_settings_field('cn_hide_effect', __('Hide animation', 'cookie-notice'), array(&$this, 'cn_hide_effect'), 'cookie_notice_options', 'cookie_notice_design');
212
  add_settings_field('cn_css_style', __('Button style', 'cookie-notice'), array(&$this, 'cn_css_style'), 'cookie_notice_options', 'cookie_notice_design');
213
  add_settings_field('cn_colors', __('Colors', 'cookie-notice'), array(&$this, 'cn_colors'), 'cookie_notice_options', 'cookie_notice_design');
214
  }
@@ -516,12 +518,12 @@ class Cookie_Notice
516
 
517
  wp_enqueue_script(
518
  'cookie-notice-admin',
519
- plugins_url('js/cookie-notice-admin.js', __FILE__),
520
  array('jquery', 'jquery-ui-core', 'jquery-ui-button', 'wp-color-picker')
521
  );
522
 
523
  wp_enqueue_style('wp-color-picker');
524
- wp_enqueue_style('cookie-notice-admin', plugins_url('css/cookie-notice-admin.css', __FILE__));
525
  wp_enqueue_style('cookie-notice-wplike', plugins_url('css/wp-like-ui-theme.css', __FILE__));
526
  }
527
 
@@ -535,7 +537,7 @@ class Cookie_Notice
535
  {
536
  wp_enqueue_script(
537
  'cookie-notice-front',
538
- plugins_url('js/cookie-notice-front.js', __FILE__),
539
  array('jquery')
540
  );
541
 
@@ -553,7 +555,7 @@ class Cookie_Notice
553
  )
554
  );
555
 
556
- wp_enqueue_style('cookie-notice-front', plugins_url('css/cookie-notice-front.css', __FILE__));
557
  }
558
  }
559
  }
2
  /*
3
  Plugin Name: Cookie Notice
4
  Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
5
+ Version: 1.1.0
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
+ Text Domain: cookie-notice
12
+ Domain Path: /languages
13
 
14
  Restrict Widgets
15
  Copyright (C) 2013, Digital Factory - info@digitalfactory.pl
70
  add_action('plugins_loaded', array(&$this, 'load_defaults'));
71
  add_action('admin_enqueue_scripts', array(&$this, 'admin_load_scripts_styles'));
72
  add_action('wp_enqueue_scripts', array(&$this, 'front_load_scripts_styles'));
73
+ add_action('wp_footer', array(&$this, 'add_cookie_notice'), 1000);
74
 
75
  //filters
76
  add_filter('plugin_row_meta', array(&$this, 'plugin_extend_links'), 10, 2);
150
 
151
  public function admin_menu_options()
152
  {
153
+ add_options_page(
154
  __('Cookie Notice', 'cookie-notice'),
155
  __('Cookie Notice', 'cookie-notice'),
156
  'manage_options',
210
  //design
211
  add_settings_section('cookie_notice_design', __('Design', 'cookie-notice'), '', 'cookie_notice_options');
212
  add_settings_field('cn_position', __('Position', 'cookie-notice'), array(&$this, 'cn_position'), 'cookie_notice_options', 'cookie_notice_design');
213
+ add_settings_field('cn_hide_effect', __('Animation', 'cookie-notice'), array(&$this, 'cn_hide_effect'), 'cookie_notice_options', 'cookie_notice_design');
214
  add_settings_field('cn_css_style', __('Button style', 'cookie-notice'), array(&$this, 'cn_css_style'), 'cookie_notice_options', 'cookie_notice_design');
215
  add_settings_field('cn_colors', __('Colors', 'cookie-notice'), array(&$this, 'cn_colors'), 'cookie_notice_options', 'cookie_notice_design');
216
  }
518
 
519
  wp_enqueue_script(
520
  'cookie-notice-admin',
521
+ plugins_url('js/admin.js', __FILE__),
522
  array('jquery', 'jquery-ui-core', 'jquery-ui-button', 'wp-color-picker')
523
  );
524
 
525
  wp_enqueue_style('wp-color-picker');
526
+ wp_enqueue_style('cookie-notice-admin', plugins_url('css/admin.css', __FILE__));
527
  wp_enqueue_style('cookie-notice-wplike', plugins_url('css/wp-like-ui-theme.css', __FILE__));
528
  }
529
 
537
  {
538
  wp_enqueue_script(
539
  'cookie-notice-front',
540
+ plugins_url('js/front.js', __FILE__),
541
  array('jquery')
542
  );
543
 
555
  )
556
  );
557
 
558
+ wp_enqueue_style('cookie-notice-front', plugins_url('css/front.css', __FILE__));
559
  }
560
  }
561
  }
css/admin.css ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cookie-notice { width:68%; margin-right:20px; }
2
+ .cookie-notice h3 { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; font-weight: bold; }
3
+ .cookie-notice hr, .df-credits hr { border: solid #ddd; border-width: 1px 0 0; clear: both; height: 0; -moz-box-shadow: 0px 1px 0px #fff; -webkit-box-shadow: 0px 1px 0px #fff; box-shadow: 0px 1px 0px #fff; margin:15px 0; }
4
+ .cookie-notice .form-table { border-bottom:1px solid #ddd; margin-bottom:20px; }
5
+ .cookie-notice .form-table input { width: 25em; }
6
+ #cn_colors label { min-width: 10em; display:inline-block; }
7
+ #cn_colors div { vertical-align:middle; }
8
+ .df-credits { width:28%; max-width:350px; margin-top:20px; border:1px solid #ddd; background:#fcfcfc; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
9
+ .df-credits h3 { margin-top:5px; }
10
+ .df-credits h3.metabox-title { background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; border: 1px solid; border-color: #21759b; border-bottom-color: #1e6a8d; -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); color: #fff; text-decoration: none; text-shadow: 0 1px 0 rgba(0,0,0,0.5); margin:0; line-height:32px; font-weight:normal; padding:0 10px; }
11
+ .df-credits .inner { padding:15px 10px; }
12
+ .df-credits .df-link { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-style:italic; margin:0; }
13
+ .df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 4px; }
css/cookie-notice-front.css CHANGED
@@ -3,10 +3,8 @@
3
  min-width: 100%;
4
  height: auto;
5
  z-index: 999;
6
- font-size: 12px;
7
- line-height: 18px;
8
- left: 0;
9
- text-align: center;
10
  }
11
  .cookie-notice-container { padding:10px; }
12
  .cn-top { top:0; }
3
  min-width: 100%;
4
  height: auto;
5
  z-index: 999;
6
+ font-size:12px;
7
+ line-height:18px;
 
 
8
  }
9
  .cookie-notice-container { padding:10px; }
10
  .cn-top { top:0; }
css/front.css ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #cookie-notice {
2
+ display: none;
3
+ position: fixed;
4
+ min-width: 100%;
5
+ height: auto;
6
+ z-index: 999;
7
+ font-size: 12px;
8
+ line-height: 18px;
9
+ left: 0;
10
+ text-align: center;
11
+ }
12
+ .cookie-notice-container { padding:10px; }
13
+ .cn-top { top:0; }
14
+ .cn-bottom { bottom:0; }
15
+ #cookie-notice .button { margin-left: 10px; }
16
+ #cookie-notice .button.wp-default {
17
+ font-family: sans-serif;
18
+ line-height: 18px;
19
+ padding: 2px 12px;
20
+ background: linear-gradient(to bottom, #FEFEFE, #F4F4F4) repeat scroll 0 0 #F3F3F3;
21
+ border-color: #BBB;
22
+ color: #333;
23
+ text-shadow: 0 1px 0 #FFF;
24
+ -moz-box-sizing: border-box;
25
+ border-radius: 3px 3px 3px 3px;
26
+ border-style: solid;
27
+ border-width: 1px;
28
+ cursor: pointer;
29
+ display: inline-block;
30
+ font-size: 12px;
31
+ font-style:normal;
32
+ text-decoration: none;
33
+ white-space: nowrap;
34
+ outline: none;
35
+ }
36
+ #cookie-notice .button.wp-default:hover, #cookie-notice .button.wp-default:focus {
37
+ background: linear-gradient(to bottom, #FFFFFF, #F3F3F3) repeat scroll 0 0 #F3F3F3;
38
+ border-color: #999999;
39
+ color: #222222;
40
+ }
41
+ #cookie-notice .button.bootstrap {
42
+ font-family: sans-serif;
43
+ display: inline-block;
44
+ *display: inline;
45
+ padding: 4px 12px;
46
+ margin-right:0.3em;
47
+ margin-bottom: 0;
48
+ *margin-left: .3em;
49
+ line-height: 20px;
50
+ color: #333333;
51
+ text-align: center;
52
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
53
+ font-style:normal;
54
+ vertical-align: middle;
55
+ cursor: pointer;
56
+ color: #ffffff;
57
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
58
+ background-color: #006dcc;
59
+ *background-color: #0044cc;
60
+ background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
61
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
62
+ background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
63
+ background-image: -o-linear-gradient(top, #0088cc, #0044cc);
64
+ background-image: linear-gradient(to bottom, #0088cc, #0044cc);
65
+ background-repeat: repeat-x;
66
+ border-style: solid;
67
+ border-width: 1px;
68
+ border-color: #0044cc #0044cc #002a80;
69
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
70
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
71
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
72
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
73
+ padding: 2px 10px;
74
+ font-size: 12px;
75
+ text-decoration: none;
76
+ -webkit-border-radius: 3px;
77
+ -moz-border-radius: 3px;
78
+ border-radius: 3px;
79
+ outline:none;
80
+ }
81
+ #cookie-notice .button.bootstrap:hover, #cookie-notice .button.bootstrap:focus {
82
+ color: #ffffff;
83
+ background-color: #0044cc;
84
+ *background-color: #003bb3;background-position: 0 -15px;
85
+ -webkit-transition: background-position 0.1s linear;
86
+ -moz-transition: background-position 0.1s linear;
87
+ -o-transition: background-position 0.1s linear;
88
+ transition: background-position 0.1s linear;
89
+ }
js/admin.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($) {
2
+
3
+ $('#cn_position, #cn_hide_effect, #cn_see_more, #cn_css_style, #cn_see_more_opt_custom_link').buttonset();
4
+ $('.cn-color').wpColorPicker();
5
+
6
+ $('#cn-see-more-yes, #cn-see-more-no').change(function() {
7
+ if($('#cn-see-more-yes:checked').val() === 'yes') {
8
+ $('#cn_see_more_opt').fadeIn(300);
9
+ } else if($('#cn-see-more-no:checked').val() === 'no') {
10
+ $('#cn_see_more_opt').fadeOut(300);
11
+ }
12
+ });
13
+
14
+ $('#cn-see-more-link-custom, #cn-see-more-link-page').change(function() {
15
+ if($('#cn-see-more-link-custom:checked').val() === 'custom') {
16
+ $('#cn_see_more_opt_page').fadeOut(300, function() {
17
+ $('#cn_see_more_opt_link').fadeIn(300);
18
+ });
19
+ } else if($('#cn-see-more-link-page:checked').val() === 'page') {
20
+ $('#cn_see_more_opt_link').fadeOut(300, function() {
21
+ $('#cn_see_more_opt_page').fadeIn(300);
22
+ });
23
+ }
24
+ });
25
+ });
js/cookie-notice-admin.js CHANGED
@@ -1,22 +1,32 @@
1
  jQuery(document).ready(function($) {
2
 
 
3
  $('#cn_position, #cn_hide_effect, #cn_see_more, #cn_css_style, #cn_see_more_opt_custom_link').buttonset();
 
4
  $('.cn-color').wpColorPicker();
5
 
6
- $('#cn-see-more-yes, #cn-see-more-no').change(function() {
7
- if($('#cn-see-more-yes:checked').val() === 'yes') {
 
 
8
  $('#cn_see_more_opt').fadeIn(300);
9
- } else if($('#cn-see-more-no:checked').val() === 'no') {
 
 
10
  $('#cn_see_more_opt').fadeOut(300);
11
  }
12
  });
13
 
14
- $('#cn-see-more-link-custom, #cn-see-more-link-page').change(function() {
15
- if($('#cn-see-more-link-custom:checked').val() === 'custom') {
 
 
16
  $('#cn_see_more_opt_page').fadeOut(300, function() {
17
  $('#cn_see_more_opt_link').fadeIn(300);
18
  });
19
- } else if($('#cn-see-more-link-page:checked').val() === 'page') {
 
 
20
  $('#cn_see_more_opt_link').fadeOut(300, function() {
21
  $('#cn_see_more_opt_page').fadeIn(300);
22
  });
1
  jQuery(document).ready(function($) {
2
 
3
+ //.click(function() { e.preventDefault(); })
4
  $('#cn_position, #cn_hide_effect, #cn_see_more, #cn_css_style, #cn_see_more_opt_custom_link').buttonset();
5
+
6
  $('.cn-color').wpColorPicker();
7
 
8
+ $('#cn-see-more-yes, #cn-see-more-no').change(function()
9
+ {
10
+ if($('#cn-see-more-yes:checked').val() === 'yes')
11
+ {
12
  $('#cn_see_more_opt').fadeIn(300);
13
+ }
14
+ else if($('#cn-see-more-no:checked').val() === 'no')
15
+ {
16
  $('#cn_see_more_opt').fadeOut(300);
17
  }
18
  });
19
 
20
+ $('#cn-see-more-link-custom, #cn-see-more-link-page').change(function()
21
+ {
22
+ if($('#cn-see-more-link-custom:checked').val() === 'custom')
23
+ {
24
  $('#cn_see_more_opt_page').fadeOut(300, function() {
25
  $('#cn_see_more_opt_link').fadeIn(300);
26
  });
27
+ }
28
+ else if($('#cn-see-more-link-page:checked').val() === 'page')
29
+ {
30
  $('#cn_see_more_opt_link').fadeOut(300, function() {
31
  $('#cn_see_more_opt_page').fadeIn(300);
32
  });
js/cookie-notice-front.js CHANGED
@@ -2,15 +2,29 @@ jQuery(document).ready(function($) {
2
 
3
  $(document).on('click', '#cn-accept-cookie', function(event) {
4
  event.preventDefault();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
- //sets cookie
7
- var cnTime = new Date();
8
- var cnLater = new Date();
9
 
10
- cnLater.setTime(cnTime.getTime() + cnArgs.cookieTime);
11
- document.cookie = cnArgs.cookieName+"="+escape(cnArgs.cookieValue)+";expires="+cnLater.toGMTString()+';domain='+cnArgs.cookieDomain+';path='+cnArgs.cookiePath;
12
-
13
- //hides box
14
  if(cnArgs.hideEffect === 'fade') {
15
  $('#cookie-notice').fadeOut(300, function() {
16
  $(this).remove();
@@ -22,5 +36,14 @@ jQuery(document).ready(function($) {
22
  } else {
23
  $('#cookie-notice').remove();
24
  }
25
- });
 
 
 
 
 
 
 
 
 
26
  });
2
 
3
  $(document).on('click', '#cn-accept-cookie', function(event) {
4
  event.preventDefault();
5
+ $.ajax({
6
+ type: 'POST',
7
+ url: cnArgs.ajaxurl,
8
+ data: {
9
+ action: 'cn-save-cookie'
10
+ },
11
+ dataType: 'html'
12
+ })
13
+ .done(function(data) {
14
+ if(data === 'CN_OK') {
15
+ cnHideFrontBox();
16
+ } else {
17
+ cnSetCookie();
18
+ cnHideFrontBox();
19
+ }
20
+ }).fail(function(data) {
21
+ cnSetCookie();
22
+ cnHideFrontBox();
23
+ });
24
+ });
25
 
 
 
 
26
 
27
+ function cnHideFrontBox() {
 
 
 
28
  if(cnArgs.hideEffect === 'fade') {
29
  $('#cookie-notice').fadeOut(300, function() {
30
  $(this).remove();
36
  } else {
37
  $('#cookie-notice').remove();
38
  }
39
+ }
40
+
41
+
42
+ function cnSetCookie() {
43
+ var cnTime = new Date();
44
+ var cnLater = new Date();
45
+
46
+ cnLater.setTime(cnTime.getTime() + cnArgs.cookieTime);
47
+ document.cookie = cnArgs.cookieName+"="+escape(cnArgs.cookieValue)+";expires="+cnLater.toGMTString()+';domain='+cnArgs.cookieDomain+';path='+cnArgs.cookiePath;
48
+ }
49
  });
js/front.js ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($) {
2
+
3
+ $(document).on('click', '#cn-accept-cookie', function(event) {
4
+ event.preventDefault();
5
+
6
+ var cnTime = new Date();
7
+ var cnLater = new Date();
8
+
9
+ //set new time in seconds
10
+ cnLater.setTime(parseInt(cnTime.getTime()) + parseInt(cnArgs.cookieTime) * 1000);
11
+
12
+ //set cookie
13
+ document.cookie = cnArgs.cookieName+"="+escape(cnArgs.cookieValue)+";expires="+cnLater.toGMTString()+';domain='+cnArgs.cookieDomain+';path='+cnArgs.cookiePath;
14
+
15
+ //hide box
16
+ if(cnArgs.hideEffect === 'fade') {
17
+ $('#cookie-notice').fadeOut(300, function() {
18
+ $(this).remove();
19
+ });
20
+ } else if(cnArgs.hideEffect === 'slide') {
21
+ $('#cookie-notice').slideUp(300, function() {
22
+ $(this).remove();
23
+ });
24
+ } else {
25
+ $('#cookie-notice').remove();
26
+ }
27
+ });
28
+
29
+ if(document.cookie.indexOf('cookie_notice_accepted') === -1) {
30
+ if(cnArgs.hideEffect === 'fade') {
31
+ $('#cookie-notice').fadeIn(300);
32
+ } else if(cnArgs.hideEffect === 'slide') {
33
+ $('#cookie-notice').slideDown(300);
34
+ }
35
+ } else {
36
+ $('#cookie-notice').remove();
37
+ }
38
+ });
languages/cookie notice_nl_NL.mo ADDED
Binary file
languages/cookie notice_nl_NL.po ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Cookie Notice\n"
4
+ "POT-Creation-Date: 2013-07-02 18:32+0100\n"
5
+ "PO-Revision-Date: 2013-10-19 09:48+0100\n"
6
+ "Last-Translator: Bostekst <info@bostekst.nl>\n"
7
+ "Language-Team: bostekst <info@bostekst.nl>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "Language: NL\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../cookie-notice.php:84
19
+ msgid "Top"
20
+ msgstr "Bovenkant"
21
+
22
+ #: ../cookie-notice.php:85
23
+ msgid "Bottom"
24
+ msgstr "Onderkant"
25
+
26
+ #: ../cookie-notice.php:89 ../cookie-notice.php:120
27
+ msgid "None"
28
+ msgstr "Geen"
29
+
30
+ #: ../cookie-notice.php:90
31
+ msgid "WordPress"
32
+ msgstr "WordPress"
33
+
34
+ #: ../cookie-notice.php:91
35
+ msgid "Bootstrap"
36
+ msgstr "Bootstrap"
37
+
38
+ #: ../cookie-notice.php:95
39
+ msgid "Enable"
40
+ msgstr "Zet aan"
41
+
42
+ #: ../cookie-notice.php:96
43
+ msgid "Disable"
44
+ msgstr "Zet uit"
45
+
46
+ #: ../cookie-notice.php:100
47
+ msgid "Custom link"
48
+ msgstr "Standaardlink"
49
+
50
+ #: ../cookie-notice.php:101
51
+ msgid "Page link"
52
+ msgstr "Paginalink"
53
+
54
+ #: ../cookie-notice.php:105
55
+ msgid "Text color"
56
+ msgstr "Tektskleur"
57
+
58
+ #: ../cookie-notice.php:106
59
+ msgid "Bar color"
60
+ msgstr "Kleur balk"
61
+
62
+ #: ../cookie-notice.php:110
63
+ msgid "1 day"
64
+ msgstr "1 dag"
65
+
66
+ #: ../cookie-notice.php:111
67
+ msgid "1 week"
68
+ msgstr "1 week"
69
+
70
+ #: ../cookie-notice.php:112
71
+ msgid "1 month"
72
+ msgstr "1 maand"
73
+
74
+ #: ../cookie-notice.php:113
75
+ msgid "3 months"
76
+ msgstr "3 maanden"
77
+
78
+ #: ../cookie-notice.php:114
79
+ msgid "6 months"
80
+ msgstr "6 maanden"
81
+
82
+ #: ../cookie-notice.php:115
83
+ msgid "1 year"
84
+ msgstr "1 jaar"
85
+
86
+ #: ../cookie-notice.php:116
87
+ msgid "infinity"
88
+ msgstr "eindeloos"
89
+
90
+ #: ../cookie-notice.php:121
91
+ msgid "Fade"
92
+ msgstr "Vervagen"
93
+
94
+ #: ../cookie-notice.php:122
95
+ msgid "Slide"
96
+ msgstr "Schuiven"
97
+
98
+ #: ../cookie-notice.php:154 ../cookie-notice.php:155 ../cookie-notice.php:167
99
+ #: ../cookie-notice.php:180
100
+ msgid "Cookie Notice"
101
+ msgstr "Cookie Notice"
102
+
103
+ #: ../cookie-notice.php:182
104
+ msgid "Need support?"
105
+ msgstr "Hulp nodig?"
106
+
107
+ #: ../cookie-notice.php:183
108
+ msgid ""
109
+ "If you are having problems with this plugin, please talk about them in the"
110
+ msgstr "Als je problemen hebt met deze plugin, heb het erover op het"
111
+
112
+ #: ../cookie-notice.php:183
113
+ msgid "Support forum"
114
+ msgstr "support-forum"
115
+
116
+ #: ../cookie-notice.php:185
117
+ msgid "Do you like this plugin?"
118
+ msgstr "Vind je deze plugin goed?"
119
+
120
+ #: ../cookie-notice.php:186
121
+ msgid "Rate it 5"
122
+ msgstr "Geef het een 5"
123
+
124
+ #: ../cookie-notice.php:186
125
+ msgid "on WordPress.org"
126
+ msgstr "op WordPress.org"
127
+
128
+ #: ../cookie-notice.php:187
129
+ msgid "Blog about it & link to the"
130
+ msgstr "Blog erover & link naar de"
131
+
132
+ #: ../cookie-notice.php:187
133
+ msgid "plugin page"
134
+ msgstr "plugin pagina"
135
+
136
+ #: ../cookie-notice.php:188
137
+ msgid "Check out our other"
138
+ msgstr "Bekijk onze andere"
139
+
140
+ #: ../cookie-notice.php:188
141
+ msgid "WordPress plugins"
142
+ msgstr "WordPress-plugins"
143
+
144
+ #: ../cookie-notice.php:204
145
+ msgid "Configuration"
146
+ msgstr "Instellingen"
147
+
148
+ #: ../cookie-notice.php:205
149
+ msgid "Message"
150
+ msgstr "Bericht"
151
+
152
+ #: ../cookie-notice.php:206 ../cookie-notice.php:256
153
+ msgid "Button text"
154
+ msgstr "Knop-tekst"
155
+
156
+ #: ../cookie-notice.php:207
157
+ msgid "More info"
158
+ msgstr "Meer informatie"
159
+
160
+ #: ../cookie-notice.php:208
161
+ msgid "Cookie expiry"
162
+ msgstr "Verstrijken cookie"
163
+
164
+ #: ../cookie-notice.php:211
165
+ msgid "Design"
166
+ msgstr "Ontwerp"
167
+
168
+ #: ../cookie-notice.php:212
169
+ msgid "Position"
170
+ msgstr "Positie"
171
+
172
+ #: ../cookie-notice.php:213
173
+ msgid "Hide animation"
174
+ msgstr "Verberg animatie"
175
+
176
+ #: ../cookie-notice.php:214
177
+ msgid "Button style"
178
+ msgstr "Stijl knop"
179
+
180
+ #: ../cookie-notice.php:215
181
+ msgid "Colors"
182
+ msgstr "Kleuren"
183
+
184
+ #: ../cookie-notice.php:224
185
+ msgid "Enter the cookie notice message."
186
+ msgstr "Voer het cookie-bericht in."
187
+
188
+ #: ../cookie-notice.php:234
189
+ msgid "The text to show on the button when cookies have not been accepted"
190
+ msgstr "De tekst op de knop wanneer cookies niet zijn geaccepteerd"
191
+
192
+ #: ../cookie-notice.php:252
193
+ msgid "Enable or Disable Read more button."
194
+ msgstr "Zet de lees-meer knop aan of uit."
195
+
196
+ #: ../cookie-notice.php:268
197
+ msgid "Select where to redirect user for more information about cookies."
198
+ msgstr ""
199
+ "Kies waar gebruikers voor meer informatie over cookies naartoe gestuurd "
200
+ "worden."
201
+
202
+ #: ../cookie-notice.php:271
203
+ msgid "-- select page --"
204
+ msgstr "-- selecteer pagina --"
205
+
206
+ #: ../cookie-notice.php:281
207
+ msgid "Select from one of your site's pages"
208
+ msgstr "Kies een van de pagina's van je website"
209
+
210
+ #: ../cookie-notice.php:285
211
+ msgid "Enter the full URL starting with http://"
212
+ msgstr "Geef de volledige url, beginnend met http://"
213
+
214
+ #: ../cookie-notice.php:304
215
+ msgid "The ammount of time that cookie should be stored for."
216
+ msgstr "De periode dat deze cookie bewaard moet worden."
217
+
218
+ #: ../cookie-notice.php:322
219
+ msgid "Select location for your cookie notice."
220
+ msgstr "Kies een locatie voor je cookie-bericht."
221
+
222
+ #: ../cookie-notice.php:340
223
+ msgid "Cookie notice acceptance animation."
224
+ msgstr "Animatie voor accepteren cookie-bericht."
225
+
226
+ #: ../cookie-notice.php:358
227
+ msgid "Choose buttons style."
228
+ msgstr "Kies de stijl van de knoppen."
229
+
230
+ #: ../cookie-notice.php:473
231
+ msgid "Support"
232
+ msgstr "Ondersteuning"
233
+
234
+ #: ../cookie-notice.php:495
235
+ msgid "Settings"
236
+ msgstr "Instellingen"
237
+
238
+ #: ../cookie-notice.php:524
239
+ msgid ""
240
+ "We use cookies to ensure that we give you the best experience on our "
241
+ "website. If you continue to use this site we will assume that you are happy "
242
+ "with it."
243
+ msgstr ""
244
+ "We gebruiken cookies om er zeker van te zijn dat je onze website zo goed "
245
+ "mogelijk beleeft. Als je deze website blijft gebruiken gaan we ervan uit dat "
246
+ "je dat goed vindt."
247
+
248
+ #: ../cookie-notice.php:525
249
+ msgid "Ok"
250
+ msgstr "Ok"
251
+
252
+ #: ../cookie-notice.php:526
253
+ msgid "Read more"
254
+ msgstr "Lees meer"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  Donate link: http://www.dfactory.eu/
4
  Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
5
  Requires at least: 3.3
6
- Tested up to: 3.6.1
7
- Stable tag: 1.0.1
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -27,6 +27,10 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
27
  * Set the text and bar background colors
28
  * .pot file for translations included
29
 
 
 
 
 
30
 
31
  == Installation ==
32
 
@@ -44,6 +48,13 @@ No questions yet.
44
 
45
  == Changelog ==
46
 
 
 
 
 
 
 
 
47
  = 1.0.1 =
48
  * Tweak: Changed setting cookie mode from AJAX to JS driven
49
 
@@ -52,5 +63,6 @@ Initial release
52
 
53
  == Upgrade Notice ==
54
 
55
- = 1.0.1 =
56
- * Tweak: Changed setting cookie from AJAX to JS driven
 
3
  Donate link: http://www.dfactory.eu/
4
  Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
5
  Requires at least: 3.3
6
+ Tested up to: 3.8
7
+ Stable tag: 1.1.0
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
27
  * Set the text and bar background colors
28
  * .pot file for translations included
29
 
30
+ = Translations: =
31
+ * Dutch - by [Heleen van den Bos](http://www.bostekst.nl/)
32
+ * Polish - by Bartosz Arendt
33
+
34
 
35
  == Installation ==
36
 
48
 
49
  == Changelog ==
50
 
51
+ = 1.1.0 =
52
+ * New: Rewritten cookie setting method to pure JS
53
+ * Fix: Compatibility with WP Super Cache and other caching plugins
54
+
55
+ = 1.0.2 =
56
+ * New: Dutch translation, thanks to Heleen van den Bos
57
+
58
  = 1.0.1 =
59
  * Tweak: Changed setting cookie mode from AJAX to JS driven
60
 
63
 
64
  == Upgrade Notice ==
65
 
66
+ = 1.1.0 =
67
+ * New: Rewritten cookie setting method to pure JS
68
+ * Fix: Compatibility with WP Super Cache and other caching plugins