Cookie Notice by dFactory - Version 2.0.1

Version Description

  • Fix: Pending Compliance update blocking the notice
  • Fix: PHP Warning: Cannot modify header information
  • Tweak: UI/UX fixes for the settings screen
Download this release

Release Info

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

Code changes from version 2.0.0 to 2.0.1

cookie-notice.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Cookie Notice & Compliance for GDPR / CCPA
4
  Description: Cookie Notice allows you to you elegantly inform users that your site uses cookies and helps you comply with GDPR, CCPA and other data privacy laws.
5
- Version: 2.0.0
6
  Author: Hu-manity.co
7
  Author URI: https://hu-manity.co/
8
  Plugin URI: https://hu-manity.co/
@@ -29,7 +29,7 @@ if ( ! defined( 'ABSPATH' ) )
29
  * Cookie Notice class.
30
  *
31
  * @class Cookie_Notice
32
- * @version 2.0.0
33
  */
34
  class Cookie_Notice {
35
 
@@ -42,6 +42,7 @@ class Cookie_Notice {
42
  'general' => array(
43
  'app_id' => '',
44
  'app_key' => '',
 
45
  'position' => 'bottom',
46
  'message_text' => '',
47
  'css_style' => 'bootstrap',
@@ -80,11 +81,11 @@ class Cookie_Notice {
80
  'script_placement' => 'header',
81
  'translate' => true,
82
  'deactivation_delete' => false,
83
- 'update_version' => 3,
84
  'update_notice' => true,
85
  'update_delay_date' => 0
86
  ),
87
- 'version' => '2.0.0'
88
  );
89
 
90
  private static $_instance;
@@ -159,7 +160,9 @@ class Cookie_Notice {
159
  * Set plugin status.
160
  */
161
  public function set_status() {
162
- $this->status = get_option( 'cookie_notice_status', '' );
 
 
163
  }
164
 
165
 
@@ -189,15 +192,6 @@ class Cookie_Notice {
189
  * Activate the plugin.
190
  */
191
  public function activation() {
192
- // get current database version
193
- $current_db_version = get_option( 'cookie_notice_version', '1.0.0' );
194
-
195
- // new version?
196
- if ( version_compare( $current_db_version, $this->defaults['version'], '<' ) ) {
197
- // update plugin version
198
- update_option( 'cookie_notice_version', $this->defaults['version'], false );
199
- }
200
-
201
  add_option( 'cookie_notice_options', $this->defaults['general'], '', 'no' );
202
  }
203
 
@@ -228,12 +222,18 @@ class Cookie_Notice {
228
 
229
  $current_update = 5;
230
 
231
- if ( $this->options['general']['update_version'] < $current_update ) {
 
 
 
232
  // check version, if update version is lower than plugin version, set update notice to true
233
  $this->options['general'] = wp_parse_args( array( 'update_version' => $current_update, 'update_notice' => true ), $this->options['general'] );
234
 
235
  update_option( 'cookie_notice_options', $this->options['general'] );
236
 
 
 
 
237
  // show welcome
238
  set_transient( 'cn_activation_redirect', 1 );
239
  }
@@ -367,7 +367,7 @@ class Cookie_Notice {
367
  // escape class(es)
368
  $args['class'] = esc_attr( $args['class'] );
369
 
370
- if ( ! empty( $this->get_status() ) ) {
371
  $shortcode = '<a href="#" class="cn-revoke-cookie cn-button cn-revoke-inline' . ( $options['css_style'] !== 'none' ? ' ' . $options['css_style'] : '' ) . ( $args['class'] !== '' ? ' ' . $args['class'] : '' ) . '" title="' . esc_html( $args['title'] ) . '" data-hu-action="notice-revoke">' . esc_html( $args['title'] ) . '</a>';
372
  } else {
373
  $shortcode = '<a href="#" class="cn-revoke-cookie cn-button cn-revoke-inline' . ( $options['css_style'] !== 'none' ? ' ' . $options['css_style'] : '' ) . ( $args['class'] !== '' ? ' ' . $args['class'] : '' ) . '" title="' . esc_html( $args['title'] ) . '">' . esc_html( $args['title'] ) . '</a>';
@@ -408,7 +408,7 @@ class Cookie_Notice {
408
  * @return bool
409
  */
410
  public static function cookies_accepted() {
411
- if ( ! empty( Cookie_Notice()->get_status() ) ) {
412
  $cookies = isset( $_COOKIE['hu-consent'] ) ? json_decode( $_COOKIE['hu-consent'], true ) : array();
413
 
414
  $result = ! empty( $cookies['consent'] ) ? true : false;
@@ -425,7 +425,7 @@ class Cookie_Notice {
425
  * @return boolean Whether cookies are set
426
  */
427
  public function cookies_set() {
428
- if ( ! empty( Cookie_Notice()->get_status() ) ) {
429
  $result = isset( $_COOKIE['hu-consent'] );
430
  } else {
431
  $result = isset( $_COOKIE['cookie_notice_accepted'] );
2
  /*
3
  Plugin Name: Cookie Notice & Compliance for GDPR / CCPA
4
  Description: Cookie Notice allows you to you elegantly inform users that your site uses cookies and helps you comply with GDPR, CCPA and other data privacy laws.
5
+ Version: 2.0.1
6
  Author: Hu-manity.co
7
  Author URI: https://hu-manity.co/
8
  Plugin URI: https://hu-manity.co/
29
  * Cookie Notice class.
30
  *
31
  * @class Cookie_Notice
32
+ * @version 2.0.1
33
  */
34
  class Cookie_Notice {
35
 
42
  'general' => array(
43
  'app_id' => '',
44
  'app_key' => '',
45
+ 'app_blocking' => true,
46
  'position' => 'bottom',
47
  'message_text' => '',
48
  'css_style' => 'bootstrap',
81
  'script_placement' => 'header',
82
  'translate' => true,
83
  'deactivation_delete' => false,
84
+ 'update_version' => 4,
85
  'update_notice' => true,
86
  'update_delay_date' => 0
87
  ),
88
+ 'version' => '2.0.1'
89
  );
90
 
91
  private static $_instance;
160
  * Set plugin status.
161
  */
162
  public function set_status() {
163
+ $status = get_option( 'cookie_notice_status', '' );
164
+
165
+ $this->status = ! empty( $status ) && in_array( $status, array( 'active', 'pending' ), true ) ? $status : false;
166
  }
167
 
168
 
192
  * Activate the plugin.
193
  */
194
  public function activation() {
 
 
 
 
 
 
 
 
 
195
  add_option( 'cookie_notice_options', $this->defaults['general'], '', 'no' );
196
  }
197
 
222
 
223
  $current_update = 5;
224
 
225
+ // get current database version
226
+ $current_db_version = get_option( 'cookie_notice_version', '1.0.0' );
227
+
228
+ if ( version_compare( $current_db_version, $this->defaults['version'], '<' ) && $this->options['general']['update_version'] < $current_update ) {
229
  // check version, if update version is lower than plugin version, set update notice to true
230
  $this->options['general'] = wp_parse_args( array( 'update_version' => $current_update, 'update_notice' => true ), $this->options['general'] );
231
 
232
  update_option( 'cookie_notice_options', $this->options['general'] );
233
 
234
+ // update plugin version
235
+ update_option( 'cookie_notice_version', $this->defaults['version'], false );
236
+
237
  // show welcome
238
  set_transient( 'cn_activation_redirect', 1 );
239
  }
367
  // escape class(es)
368
  $args['class'] = esc_attr( $args['class'] );
369
 
370
+ if ( Cookie_Notice()->get_status() === 'active' ) {
371
  $shortcode = '<a href="#" class="cn-revoke-cookie cn-button cn-revoke-inline' . ( $options['css_style'] !== 'none' ? ' ' . $options['css_style'] : '' ) . ( $args['class'] !== '' ? ' ' . $args['class'] : '' ) . '" title="' . esc_html( $args['title'] ) . '" data-hu-action="notice-revoke">' . esc_html( $args['title'] ) . '</a>';
372
  } else {
373
  $shortcode = '<a href="#" class="cn-revoke-cookie cn-button cn-revoke-inline' . ( $options['css_style'] !== 'none' ? ' ' . $options['css_style'] : '' ) . ( $args['class'] !== '' ? ' ' . $args['class'] : '' ) . '" title="' . esc_html( $args['title'] ) . '">' . esc_html( $args['title'] ) . '</a>';
408
  * @return bool
409
  */
410
  public static function cookies_accepted() {
411
+ if ( Cookie_Notice()->get_status() === 'active' ) {
412
  $cookies = isset( $_COOKIE['hu-consent'] ) ? json_decode( $_COOKIE['hu-consent'], true ) : array();
413
 
414
  $result = ! empty( $cookies['consent'] ) ? true : false;
425
  * @return boolean Whether cookies are set
426
  */
427
  public function cookies_set() {
428
+ if ( Cookie_Notice()->get_status() === 'active' ) {
429
  $result = isset( $_COOKIE['hu-consent'] );
430
  } else {
431
  $result = isset( $_COOKIE['cookie_notice_accepted'] );
css/admin-welcome.css CHANGED
@@ -210,7 +210,7 @@
210
 
211
  .cn-welcome-wrap .cn-flex-item ul {
212
  padding: 0;
213
- margin: 3em 0 0;
214
  list-style: none;
215
  font-size: 14px;
216
  }
@@ -927,7 +927,15 @@
927
  background-color: rgba(32,193,158,.1);
928
  }
929
 
930
- .cn-welcome-wrap form .cn-plan-wrapper input:checked + span .cn-plan-description {
 
 
 
 
 
 
 
 
931
  color: #fff;
932
  }
933
 
@@ -938,11 +946,9 @@
938
  color: #fff;
939
  }
940
 
941
- .cn-welcome-wrap form .cn-plan-price {
942
  display: inline-block;
943
  font-size: 1.1em;
944
- font-weight: bold;
945
- color: #fff;
946
  float: right;
947
  }
948
 
@@ -951,8 +957,8 @@
951
  color: #20C19E;
952
  }
953
 
954
- .cn-welcome-wrap form .cn-plan-period {
955
- font-weight: normal;
956
  }
957
 
958
  .cn-welcome-wrap form input::placeholder,
210
 
211
  .cn-welcome-wrap .cn-flex-item ul {
212
  padding: 0;
213
+ margin: 2em 0 0;
214
  list-style: none;
215
  font-size: 14px;
216
  }
927
  background-color: rgba(32,193,158,.1);
928
  }
929
 
930
+ .cn-welcome-wrap form .cn-plan-wrapper span .cn-plan-description {
931
+ font-weight: normal;
932
+ }
933
+
934
+ .cn-welcome-wrap form .cn-plan-wrapper span .cn-plan-description b {
935
+ font-weight: bold;
936
+ }
937
+
938
+ .cn-welcome-wrap form .cn-plan-wrapper input:checked + span {
939
  color: #fff;
940
  }
941
 
946
  color: #fff;
947
  }
948
 
949
+ .cn-welcome-wrap form .cn-plan-pricing {
950
  display: inline-block;
951
  font-size: 1.1em;
 
 
952
  float: right;
953
  }
954
 
957
  color: #20C19E;
958
  }
959
 
960
+ .cn-welcome-wrap form .cn-plan-price {
961
+ font-weight: bold;
962
  }
963
 
964
  .cn-welcome-wrap form input::placeholder,
css/admin.css CHANGED
@@ -132,8 +132,16 @@
132
  margin-top: 10px;
133
  }
134
 
 
 
 
 
 
 
 
 
135
  #cn_app_status {
136
- margin-bottom: 10px;
137
  }
138
 
139
  #cn_app_status label {
132
  margin-top: 10px;
133
  }
134
 
135
+ .cn_compliance_status {
136
+ margin-right: 15px;
137
+ }
138
+
139
+ #cn_app_status .cn_compliance_status label {
140
+ margin-left: 5px !important;
141
+ }
142
+
143
  #cn_app_status {
144
+ margin-bottom: 30px;
145
  }
146
 
147
  #cn_app_status label {
css/admin.min.css CHANGED
@@ -132,8 +132,16 @@
132
  margin-top: 10px;
133
  }
134
 
 
 
 
 
 
 
 
 
135
  #cn_app_status {
136
- margin-bottom: 10px;
137
  }
138
 
139
  #cn_app_status label {
132
  margin-top: 10px;
133
  }
134
 
135
+ .cn_compliance_status {
136
+ margin-right: 15px;
137
+ }
138
+
139
+ #cn_app_status .cn_compliance_status label {
140
+ margin-left: 5px !important;
141
+ }
142
+
143
  #cn_app_status {
144
+ margin-bottom: 30px;
145
  }
146
 
147
  #cn_app_status label {
includes/frontend.php CHANGED
@@ -15,8 +15,7 @@ class Cookie_Notice_Frontend {
15
  public function __construct() {
16
  // actions
17
  add_action( 'init', array( $this, 'init' ) );
18
- add_action( 'init', array( $this, 'add_cors_http_header' ) );
19
-
20
  $this->widget_url = '//cdn.hu-manity.co/hu-banner.min.js';
21
  }
22
 
@@ -24,16 +23,21 @@ class Cookie_Notice_Frontend {
24
  * Init frontend.
25
  */
26
  public function init() {
 
 
 
 
27
  // check preview mode
28
  $this->preview_mode = isset( $_GET['cn_preview_mode'] );
29
-
30
  // whether to count robots
31
  $this->is_bot = Cookie_Notice()->bot_detect->is_crawler();
32
 
33
  // bail if in preview mode or it's a bot request
34
  if ( ! $this->preview_mode && ! $this->is_bot ) {
35
  // init cookie compliance
36
- if ( ! empty( Cookie_Notice()->get_status() ) ) {
 
37
  add_action( 'wp_head', array( $this, 'wp_head_scripts' ), 0 );
38
  add_action( 'wp_enqueue_scripts', array( $this, 'wp_enqueue_compliance_scripts' ) );
39
  add_action( 'wp_ajax_cn_save_config', array( $this, 'ajax_save_config' ) );
@@ -45,23 +49,19 @@ class Cookie_Notice_Frontend {
45
  add_action( 'wp_head', array( $this, 'wp_print_header_scripts' ) );
46
  add_action( 'wp_print_footer_scripts', array( $this, 'wp_print_footer_scripts' ) );
47
  add_action( 'wp_footer', array( $this, 'add_cookie_notice' ), 1000 );
 
48
  // filters
49
  add_filter( 'body_class', array( $this, 'change_body_class' ) );
50
  }
51
  }
52
  }
53
-
54
  /**
55
  * Add CORS header for API requests and purge cache.
56
  */
57
  public function add_cors_http_header() {
58
  header( "Access-Control-Allow-Origin: https://app.hu-manity.co" );
59
  header( 'Access-Control-Allow-Methods: GET' );
60
-
61
- // purge cache
62
- if ( isset( $_GET['hu_purge_cache'] ) ) {
63
- $this->purge_cache();
64
- }
65
  }
66
 
67
  /**
@@ -76,7 +76,8 @@ class Cookie_Notice_Frontend {
76
 
77
  $options = array(
78
  'appID' => Cookie_Notice()->options['general']['app_id'],
79
- 'currentLanguage' => $locale_code[0]
 
80
  );
81
 
82
  $cached_config = get_transient( 'cookie_notice_compliance_cache' );
@@ -169,7 +170,7 @@ class Cookie_Notice_Frontend {
169
  'see_more_opt' => Cookie_Notice()->options['general']['see_more_opt'],
170
  'link_target' => Cookie_Notice()->options['general']['link_target'],
171
  'link_position' => Cookie_Notice()->options['general']['link_position'],
172
- 'aria_label' => __( 'Cookie Notice', 'cookie-notice' )
173
  ) );
174
 
175
  // check legacy parameters
@@ -293,7 +294,7 @@ class Cookie_Notice_Frontend {
293
  * Save compliance config caching.
294
  */
295
  public function ajax_save_config() {
296
- if ( ! empty( Cookie_Notice()->get_status() ) )
297
  return;
298
 
299
  if ( ! wp_verify_nonce( esc_attr( $_REQUEST['nonce'] ), 'cn_save_config' ) )
15
  public function __construct() {
16
  // actions
17
  add_action( 'init', array( $this, 'init' ) );
18
+
 
19
  $this->widget_url = '//cdn.hu-manity.co/hu-banner.min.js';
20
  }
21
 
23
  * Init frontend.
24
  */
25
  public function init() {
26
+ // purge cache
27
+ if ( isset( $_GET['hu_purge_cache'] ) )
28
+ $this->purge_cache();
29
+
30
  // check preview mode
31
  $this->preview_mode = isset( $_GET['cn_preview_mode'] );
32
+
33
  // whether to count robots
34
  $this->is_bot = Cookie_Notice()->bot_detect->is_crawler();
35
 
36
  // bail if in preview mode or it's a bot request
37
  if ( ! $this->preview_mode && ! $this->is_bot ) {
38
  // init cookie compliance
39
+ if ( Cookie_Notice()->get_status() === 'active' ) {
40
+ add_action( 'send_headers', array( $this, 'add_cors_http_header' ) );
41
  add_action( 'wp_head', array( $this, 'wp_head_scripts' ), 0 );
42
  add_action( 'wp_enqueue_scripts', array( $this, 'wp_enqueue_compliance_scripts' ) );
43
  add_action( 'wp_ajax_cn_save_config', array( $this, 'ajax_save_config' ) );
49
  add_action( 'wp_head', array( $this, 'wp_print_header_scripts' ) );
50
  add_action( 'wp_print_footer_scripts', array( $this, 'wp_print_footer_scripts' ) );
51
  add_action( 'wp_footer', array( $this, 'add_cookie_notice' ), 1000 );
52
+
53
  // filters
54
  add_filter( 'body_class', array( $this, 'change_body_class' ) );
55
  }
56
  }
57
  }
58
+
59
  /**
60
  * Add CORS header for API requests and purge cache.
61
  */
62
  public function add_cors_http_header() {
63
  header( "Access-Control-Allow-Origin: https://app.hu-manity.co" );
64
  header( 'Access-Control-Allow-Methods: GET' );
 
 
 
 
 
65
  }
66
 
67
  /**
76
 
77
  $options = array(
78
  'appID' => Cookie_Notice()->options['general']['app_id'],
79
+ 'currentLanguage' => $locale_code[0],
80
+ 'blocking' => (bool) ( ! is_user_logged_in() ? Cookie_Notice()->options['general']['app_blocking'] : false )
81
  );
82
 
83
  $cached_config = get_transient( 'cookie_notice_compliance_cache' );
170
  'see_more_opt' => Cookie_Notice()->options['general']['see_more_opt'],
171
  'link_target' => Cookie_Notice()->options['general']['link_target'],
172
  'link_position' => Cookie_Notice()->options['general']['link_position'],
173
+ 'aria_label' => 'Cookie Notice'
174
  ) );
175
 
176
  // check legacy parameters
294
  * Save compliance config caching.
295
  */
296
  public function ajax_save_config() {
297
+ if ( Cookie_Notice()->get_status() !== 'active' )
298
  return;
299
 
300
  if ( ! wp_verify_nonce( esc_attr( $_REQUEST['nonce'] ), 'cn_save_config' ) )
includes/settings.php CHANGED
@@ -33,7 +33,9 @@ class Cookie_Notice_Settings {
33
  add_action( 'after_setup_theme', array( $this, 'load_defaults' ) );
34
  add_action( 'admin_init', array( $this, 'register_settings' ) );
35
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
 
36
  add_action( 'wp_ajax_cn_purge_cache', array( $this, 'ajax_purge_cache' ) );
 
37
 
38
  $this->app_login_url = 'https://app.hu-manity.co/#/en/cc2/login';
39
  }
@@ -114,6 +116,7 @@ class Cookie_Notice_Settings {
114
  1 => __( 'You can choose whether or not you want to consent to our use of cookies through the options below. You can customise the use of cookies, and change your settings at any time.', 'cookie-notice' )
115
  );
116
 
 
117
  $this->countries = array(
118
  'AF' => __( 'Afghanistan', 'events-maker' ),
119
  'AX' => __( '&#197;land Islands', 'events-maker' ),
@@ -360,6 +363,7 @@ class Cookie_Notice_Settings {
360
  'ZM' => __( 'Zambia', 'events-maker' ),
361
  'ZW' => __( 'Zimbabwe', 'events-maker' )
362
  );
 
363
 
364
  // set default text strings
365
  Cookie_Notice()->defaults['general']['message_text'] = __( 'We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.', 'cookie-notice' );
@@ -402,7 +406,7 @@ class Cookie_Notice_Settings {
402
  * Add submenu.
403
  */
404
  public function admin_menu_options() {
405
- add_options_page( __( 'Cookie Notice', 'cookie-notice' ), __( 'Cookie Notice', 'cookie-notice' ), apply_filters( 'cn_manage_cookie_notice_cap', 'manage_options' ), 'cookie-notice', array( $this, 'options_page' ) );
406
  }
407
 
408
  /**
@@ -410,7 +414,7 @@ class Cookie_Notice_Settings {
410
  *
411
  * @return mixed
412
  */
413
- public function options_page() {
414
  echo '
415
  <div class="wrap">
416
  <h2>' . __( 'Cookie Notice & Compliance for GDPR/CCPA', 'cookie-notice' ) . '</h2>
@@ -420,16 +424,16 @@ class Cookie_Notice_Settings {
420
  <div class="inner">';
421
 
422
  // compliance enabled
423
- if ( ! empty( Cookie_Notice()->get_status() ) ) {
424
  echo ' <h2>We\'re Promoting Privacy&trade;</h2>
425
  <p>' . __( 'Promote the privacy of your website visitors without affecting how you do your business.', 'cookie-notice' ) . '</p>';
426
  } else {
427
- echo ' <h1><b>' . __( 'Cookie Compliance&trade;', 'cookie-notice' ) . '</b></h1>
428
  <h2>' . __( 'The next generation of Cookie Notice', 'cookie-notice' ) . '</h2>
429
  <div class="cn-lead">
430
  <p>' . __( 'An all new web application to help you deliver better consent experiences and comply with GDPR and CCPA more effectively.', 'cookie-notice' ) . '</p>
431
  </div>
432
- <img src="' . plugins_url( '../img/screen-dashboard.png', __FILE__ ) . '">
433
  <a href="' . esc_url( admin_url( 'index.php?page=cookie-notice-welcome' ) ) . '" class="cn-btn">' . __( 'Upgrade', 'cookie-notice' ) . '</a>';
434
  }
435
 
@@ -461,28 +465,28 @@ class Cookie_Notice_Settings {
461
  public function register_settings() {
462
  register_setting( 'cookie_notice_options', 'cookie_notice_options', array( $this, 'validate_options' ) );
463
 
464
-
465
  // compliance enabled
466
- if ( ! empty( Cookie_Notice()->get_status() ) ) {
467
  // configuration
468
- add_settings_section( 'cookie_notice_compliance', __( 'Cookie Compliance Settings', 'cookie-notice' ), array( $this, 'cn_section_compliance' ), 'cookie_notice_options' );
469
  add_settings_field( 'cn_app_status', __( 'Compliance status', 'cookie-notice' ), array( $this, 'cn_app_status' ), 'cookie_notice_options', 'cookie_notice_compliance' );
470
  add_settings_field( 'cn_app_id', __( 'App ID', 'cookie-notice' ), array( $this, 'cn_app_id' ), 'cookie_notice_options', 'cookie_notice_compliance' );
471
  add_settings_field( 'cn_app_key', __( 'App Key', 'cookie-notice' ), array( $this, 'cn_app_key' ), 'cookie_notice_options', 'cookie_notice_compliance' );
472
 
473
  add_settings_section( 'cookie_notice_configuration', __( 'Miscellaneous Settings', 'cookie-notice' ), array( $this, 'cn_section_configuration' ), 'cookie_notice_options' );
 
474
  add_settings_field( 'cn_app_purge_cache', __( 'Cache', 'cookie-notice' ), array( $this, 'cn_app_purge_cache' ), 'cookie_notice_options', 'cookie_notice_configuration' );
475
  add_settings_field( 'cn_script_placement', __( 'Script placement', 'cookie-notice' ), array( $this, 'cn_script_placement' ), 'cookie_notice_options', 'cookie_notice_configuration' );
476
  add_settings_field( 'cn_deactivation_delete', __( 'Deactivation', 'cookie-notice' ), array( $this, 'cn_deactivation_delete' ), 'cookie_notice_options', 'cookie_notice_configuration' );
477
  // compliance disabled
478
  } else {
479
  // configuration
480
- add_settings_section( 'cookie_notice_compliance', __( 'Cookie Compliance Settings', 'cookie-notice' ), array( $this, 'cn_section_compliance' ), 'cookie_notice_options' );
481
  add_settings_field( 'cn_app_status', __( 'Compliance status', 'cookie-notice' ), array( $this, 'cn_app_status' ), 'cookie_notice_options', 'cookie_notice_compliance' );
482
  add_settings_field( 'cn_app_id', __( 'App ID', 'cookie-notice' ), array( $this, 'cn_app_id' ), 'cookie_notice_options', 'cookie_notice_compliance' );
483
  add_settings_field( 'cn_app_key', __( 'App Key', 'cookie-notice' ), array( $this, 'cn_app_key' ), 'cookie_notice_options', 'cookie_notice_compliance' );
484
 
485
- add_settings_section( 'cookie_notice_configuration', __( 'Cookie Notice Settings', 'cookie-notice' ), array( $this, 'cn_section_configuration' ), 'cookie_notice_options' );
486
  add_settings_field( 'cn_message_text', __( 'Message', 'cookie-notice' ), array( $this, 'cn_message_text' ), 'cookie_notice_options', 'cookie_notice_configuration' );
487
  add_settings_field( 'cn_accept_text', __( 'Button text', 'cookie-notice' ), array( $this, 'cn_accept_text' ), 'cookie_notice_options', 'cookie_notice_configuration' );
488
  add_settings_field( 'cn_see_more', __( 'Privacy policy', 'cookie-notice' ), array( $this, 'cn_see_more' ), 'cookie_notice_options', 'cookie_notice_configuration' );
@@ -496,9 +500,9 @@ class Cookie_Notice_Settings {
496
  add_settings_field( 'cn_time_rejected', __( 'Rejected expiry', 'cookie-notice' ), array( $this, 'cn_time_rejected' ), 'cookie_notice_options', 'cookie_notice_configuration' );
497
  add_settings_field( 'cn_script_placement', __( 'Script placement', 'cookie-notice' ), array( $this, 'cn_script_placement' ), 'cookie_notice_options', 'cookie_notice_configuration' );
498
  add_settings_field( 'cn_deactivation_delete', __( 'Deactivation', 'cookie-notice' ), array( $this, 'cn_deactivation_delete' ), 'cookie_notice_options', 'cookie_notice_configuration' );
499
-
500
  // design
501
- add_settings_section( 'cookie_notice_design', __( 'Cookie Notice Design', 'cookie-notice' ), array( $this, 'cn_section_design' ), 'cookie_notice_options' );
502
  add_settings_field( 'cn_position', __( 'Position', 'cookie-notice' ), array( $this, 'cn_position' ), 'cookie_notice_options', 'cookie_notice_design' );
503
  add_settings_field( 'cn_hide_effect', __( 'Animation', 'cookie-notice' ), array( $this, 'cn_hide_effect' ), 'cookie_notice_options', 'cookie_notice_design' );
504
  add_settings_field( 'cn_css_style', __( 'Button style', 'cookie-notice' ), array( $this, 'cn_css_style' ), 'cookie_notice_options', 'cookie_notice_design' );
@@ -525,7 +529,10 @@ class Cookie_Notice_Settings {
525
  echo '
526
  <fieldset>
527
  <div id="cn_app_status">
528
- <label class="cn-active">' . __( 'Active', 'cookie-notice' ) . '</label>
 
 
 
529
  </div>
530
  <div id="cn_app_actions">
531
  <a href="' . $this->app_login_url . '" class="button button-primary button-hero" target="_blank">' . __( 'Log in & Configure', 'cookie-notice' ) . '</a>
@@ -537,7 +544,10 @@ class Cookie_Notice_Settings {
537
  echo '
538
  <fieldset>
539
  <div id="cn_app_status">
540
- <label class="cn-pending">' . __( 'Pending', 'cookie-notice' ) . '</label>
 
 
 
541
  </div>
542
  <div id="cn_app_actions">
543
  <a href="' . $this->app_login_url . '" class="button button-primary button-hero" target="_blank">' . __( 'Log in & Complete setup', 'cookie-notice' ) . '</a>
@@ -549,7 +559,10 @@ class Cookie_Notice_Settings {
549
  echo '
550
  <fieldset>
551
  <div id="cn_app_status">
552
- <label class="cn-inactive">' . __( 'Inactive', 'cookie-notice' ) . '</label>
 
 
 
553
  </div>
554
  <div id="cn_app_actions">
555
  <a href="' . admin_url( 'index.php?page=cookie-notice-welcome' ) . '" class="button button-primary button-hero">' . __( 'Add GDPR/CCPA Compliance', 'cookie-notice' ) . '</a>
@@ -584,6 +597,17 @@ class Cookie_Notice_Settings {
584
  </div>';
585
  }
586
 
 
 
 
 
 
 
 
 
 
 
 
587
  /**
588
  * App ID option.
589
  */
@@ -994,67 +1018,73 @@ class Cookie_Notice_Settings {
994
  if ( ! current_user_can( apply_filters( 'cn_manage_cookie_notice_cap', 'manage_options' ) ) )
995
  return $input;
996
 
 
 
 
997
  if ( isset( $_POST['save_cookie_notice_options'] ) ) {
998
  // app id
999
- $input['app_id'] = sanitize_text_field( isset( $input['app_id'] ) ? $input['app_id'] : Cookie_Notice()->defaults['general']['app_id'] );
1000
 
1001
  // app key
1002
- $input['app_key'] = sanitize_text_field( isset( $input['app_key'] ) ? $input['app_key'] : Cookie_Notice()->defaults['general']['app_key'] );
1003
 
1004
  // set app status
1005
  if ( ! empty( $input['app_id'] ) && ! empty( $input['app_key'] ) ) {
1006
- $app_status = esc_attr( Cookie_Notice()->welcome_api->get_app_status( $input['app_id'] ) );
1007
 
1008
  update_option( 'cookie_notice_status', $app_status );
1009
  } else {
1010
  update_option( 'cookie_notice_status', '' );
1011
  }
1012
 
 
 
 
1013
  // position
1014
- $input['position'] = sanitize_text_field( isset( $input['position'] ) && in_array( $input['position'], array_keys( $this->positions ) ) ? $input['position'] : Cookie_Notice()->defaults['general']['position'] );
1015
 
1016
  // colors
1017
- $input['colors']['text'] = sanitize_text_field( isset( $input['colors']['text'] ) && $input['colors']['text'] !== '' && preg_match( '/^#[a-f0-9]{6}$/', $input['colors']['text'] ) === 1 ? $input['colors']['text'] : Cookie_Notice()->defaults['general']['colors']['text'] );
1018
- $input['colors']['bar'] = sanitize_text_field( isset( $input['colors']['bar'] ) && $input['colors']['bar'] !== '' && preg_match( '/^#[a-f0-9]{6}$/', $input['colors']['bar'] ) === 1 ? $input['colors']['bar'] : Cookie_Notice()->defaults['general']['colors']['bar'] );
1019
- $input['colors']['bar_opacity'] = absint( isset( $input['colors']['bar_opacity'] ) && $input['colors']['bar_opacity'] >= 50 ? $input['colors']['bar_opacity'] : Cookie_Notice()->defaults['general']['colors']['bar_opacity'] );
1020
 
1021
  // texts
1022
- $input['message_text'] = wp_kses_post( isset( $input['message_text'] ) && $input['message_text'] !== '' ? $input['message_text'] : Cookie_Notice()->defaults['general']['message_text'] );
1023
- $input['accept_text'] = sanitize_text_field( isset( $input['accept_text'] ) && $input['accept_text'] !== '' ? $input['accept_text'] : Cookie_Notice()->defaults['general']['accept_text'] );
1024
- $input['refuse_text'] = sanitize_text_field( isset( $input['refuse_text'] ) && $input['refuse_text'] !== '' ? $input['refuse_text'] : Cookie_Notice()->defaults['general']['refuse_text'] );
1025
- $input['revoke_message_text'] = wp_kses_post( isset( $input['revoke_message_text'] ) && $input['revoke_message_text'] !== '' ? $input['revoke_message_text'] : Cookie_Notice()->defaults['general']['revoke_message_text'] );
1026
- $input['revoke_text'] = sanitize_text_field( isset( $input['revoke_text'] ) && $input['revoke_text'] !== '' ? $input['revoke_text'] : Cookie_Notice()->defaults['general']['revoke_text'] );
1027
  $input['refuse_opt'] = (bool) isset( $input['refuse_opt'] );
1028
  $input['revoke_cookies'] = isset( $input['revoke_cookies'] );
1029
- $input['revoke_cookies_opt'] = isset( $input['revoke_cookies_opt'] ) && array_key_exists( $input['revoke_cookies_opt'], $this->revoke_opts ) ? $input['revoke_cookies_opt'] : Cookie_Notice()->defaults['general']['revoke_cookies_opt'];
1030
 
1031
  // get allowed HTML
1032
- $allowed_html = Cookie_Notice()->get_allowed_html();
1033
 
1034
  // body refuse code
1035
- $input['refuse_code'] = wp_kses( isset( $input['refuse_code'] ) && $input['refuse_code'] !== '' ? $input['refuse_code'] : Cookie_Notice()->defaults['general']['refuse_code'], $allowed_html );
1036
 
1037
  // head refuse code
1038
- $input['refuse_code_head'] = wp_kses( isset( $input['refuse_code_head'] ) && $input['refuse_code_head'] !== '' ? $input['refuse_code_head'] : Cookie_Notice()->defaults['general']['refuse_code_head'], $allowed_html );
1039
 
1040
  // css button style
1041
- $input['css_style'] = sanitize_text_field( isset( $input['css_style'] ) && in_array( $input['css_style'], array_keys( $this->styles ) ) ? $input['css_style'] : Cookie_Notice()->defaults['general']['css_style'] );
1042
 
1043
  // css button class
1044
- $input['css_class'] = sanitize_text_field( isset( $input['css_class'] ) ? $input['css_class'] : Cookie_Notice()->defaults['general']['css_class'] );
1045
 
1046
  // link target
1047
- $input['link_target'] = sanitize_text_field( isset( $input['link_target'] ) && in_array( $input['link_target'], array_keys( $this->link_targets ) ) ? $input['link_target'] : Cookie_Notice()->defaults['general']['link_target'] );
1048
 
1049
  // time
1050
- $input['time'] = sanitize_text_field( isset( $input['time'] ) && in_array( $input['time'], array_keys( $this->times ) ) ? $input['time'] : Cookie_Notice()->defaults['general']['time'] );
1051
- $input['time_rejected'] = sanitize_text_field( isset( $input['time_rejected'] ) && in_array( $input['time_rejected'], array_keys( $this->times ) ) ? $input['time_rejected'] : Cookie_Notice()->defaults['general']['time_rejected'] );
1052
 
1053
  // script placement
1054
- $input['script_placement'] = sanitize_text_field( isset( $input['script_placement'] ) && in_array( $input['script_placement'], array_keys( $this->script_placements ) ) ? $input['script_placement'] : Cookie_Notice()->defaults['general']['script_placement'] );
1055
 
1056
  // hide effect
1057
- $input['hide_effect'] = sanitize_text_field( isset( $input['hide_effect'] ) && in_array( $input['hide_effect'], array_keys( $this->effects ) ) ? $input['hide_effect'] : Cookie_Notice()->defaults['general']['hide_effect'] );
1058
 
1059
  // redirection
1060
  $input['redirection'] = isset( $input['redirection'] );
@@ -1063,7 +1093,7 @@ class Cookie_Notice_Settings {
1063
  $input['on_scroll'] = isset( $input['on_scroll'] );
1064
 
1065
  // on scroll offset
1066
- $input['on_scroll_offset'] = absint( isset( $input['on_scroll_offset'] ) && $input['on_scroll_offset'] !== '' ? $input['on_scroll_offset'] : Cookie_Notice()->defaults['general']['on_scroll_offset'] );
1067
 
1068
  // on click
1069
  $input['on_click'] = isset( $input['on_click'] );
@@ -1073,8 +1103,8 @@ class Cookie_Notice_Settings {
1073
 
1074
  // privacy policy
1075
  $input['see_more'] = isset( $input['see_more'] );
1076
- $input['see_more_opt']['text'] = sanitize_text_field( isset( $input['see_more_opt']['text'] ) && $input['see_more_opt']['text'] !== '' ? $input['see_more_opt']['text'] : Cookie_Notice()->defaults['general']['see_more_opt']['text'] );
1077
- $input['see_more_opt']['link_type'] = sanitize_text_field( isset( $input['see_more_opt']['link_type'] ) && in_array( $input['see_more_opt']['link_type'], array_keys( $this->links ) ) ? $input['see_more_opt']['link_type'] : Cookie_Notice()->defaults['general']['see_more_opt']['link_type'] );
1078
 
1079
  if ( $input['see_more_opt']['link_type'] === 'custom' )
1080
  $input['see_more_opt']['link'] = ( $input['see_more'] === true ? esc_url( $input['see_more_opt']['link'] ) : '' );
@@ -1087,14 +1117,14 @@ class Cookie_Notice_Settings {
1087
  }
1088
 
1089
  // policy link position
1090
- $input['link_position'] = sanitize_text_field( isset( $input['link_position'] ) && in_array( $input['link_position'], array_keys( $this->link_positions ) ) ? $input['link_position'] : Cookie_Notice()->defaults['general']['link_position'] );
1091
 
1092
  // message link position?
1093
  if ( $input['see_more'] === true && $input['link_position'] === 'message' && strpos( $input['message_text'], '[cookies_policy_link' ) === false )
1094
  $input['message_text'] .= ' [cookies_policy_link]';
1095
 
1096
- $input['update_version'] = Cookie_Notice()->options['general']['update_version'];
1097
- $input['update_notice'] = Cookie_Notice()->options['general']['update_notice'];
1098
 
1099
  $input['translate'] = false;
1100
 
@@ -1111,14 +1141,14 @@ class Cookie_Notice_Settings {
1111
  do_action( 'wpml_register_single_string', 'Cookie Notice', 'Custom link', $input['see_more_opt']['link'] );
1112
  }
1113
 
 
 
1114
  // purge cache on save
1115
  delete_transient( 'cookie_notice_compliance_cache' );
1116
-
1117
  } elseif ( isset( $_POST['reset_cookie_notice_options'] ) ) {
1118
-
1119
- $input = Cookie_Notice()->defaults['general'];
1120
 
1121
- add_settings_error( 'reset_cookie_notice_options', 'reset_cookie_notice_options', __( 'Settings restored to defaults.', 'cookie-notice' ), 'updated' );
1122
 
1123
  // set app status
1124
  update_option( 'cookie_notice_status', '' );
@@ -1134,7 +1164,7 @@ class Cookie_Notice_Settings {
1134
  * Load scripts and styles - admin.
1135
  */
1136
  public function admin_enqueue_scripts( $page ) {
1137
- if ( $page !== 'settings_page_cookie-notice' )
1138
  return;
1139
 
1140
  wp_enqueue_script(
@@ -1153,23 +1183,44 @@ class Cookie_Notice_Settings {
1153
  wp_enqueue_style( 'cookie-notice-admin', plugins_url( '../css/admin' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.css', __FILE__ ) );
1154
  }
1155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1156
  /**
1157
  * Register WPML (>= 3.2) strings if needed.
1158
  *
1159
  * @return void
1160
  */
1161
  private function register_wpml_strings() {
 
 
 
1162
  global $wpdb;
1163
 
1164
  // prepare strings
1165
  $strings = array(
1166
- 'Message in the notice' => $this->options['general']['message_text'],
1167
- 'Button text' => $this->options['general']['accept_text'],
1168
- 'Refuse button text' => $this->options['general']['refuse_text'],
1169
- 'Revoke message text' => $this->options['general']['revoke_message_text'],
1170
- 'Revoke button text' => $this->options['general']['revoke_text'],
1171
- 'Privacy policy text' => $this->options['general']['see_more_opt']['text'],
1172
- 'Custom link' => $this->options['general']['see_more_opt']['link']
1173
  );
1174
 
1175
  // get query results
@@ -1185,6 +1236,21 @@ class Cookie_Notice_Settings {
1185
  }
1186
  }
1187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1188
  /**
1189
  * Save compliance config caching.
1190
  */
33
  add_action( 'after_setup_theme', array( $this, 'load_defaults' ) );
34
  add_action( 'admin_init', array( $this, 'register_settings' ) );
35
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
36
+ add_action( 'admin_print_styles', array( $this, 'admin_print_styles' ) );
37
  add_action( 'wp_ajax_cn_purge_cache', array( $this, 'ajax_purge_cache' ) );
38
+ add_action( 'admin_notices', array( $this, 'settings_errors' ) );
39
 
40
  $this->app_login_url = 'https://app.hu-manity.co/#/en/cc2/login';
41
  }
116
  1 => __( 'You can choose whether or not you want to consent to our use of cookies through the options below. You can customise the use of cookies, and change your settings at any time.', 'cookie-notice' )
117
  );
118
 
119
+ /*
120
  $this->countries = array(
121
  'AF' => __( 'Afghanistan', 'events-maker' ),
122
  'AX' => __( '&#197;land Islands', 'events-maker' ),
363
  'ZM' => __( 'Zambia', 'events-maker' ),
364
  'ZW' => __( 'Zimbabwe', 'events-maker' )
365
  );
366
+ */
367
 
368
  // set default text strings
369
  Cookie_Notice()->defaults['general']['message_text'] = __( 'We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.', 'cookie-notice' );
406
  * Add submenu.
407
  */
408
  public function admin_menu_options() {
409
+ add_menu_page( __( 'Cookie Notice', 'cookie-notice' ), __( 'Cookies', 'cookie-notice' ), apply_filters( 'cn_manage_cookie_notice_cap', 'manage_options' ), 'cookie-notice', array( $this, 'options_page' ), 'none', '99.3' );
410
  }
411
 
412
  /**
414
  *
415
  * @return mixed
416
  */
417
+ public function options_page() {
418
  echo '
419
  <div class="wrap">
420
  <h2>' . __( 'Cookie Notice & Compliance for GDPR/CCPA', 'cookie-notice' ) . '</h2>
424
  <div class="inner">';
425
 
426
  // compliance enabled
427
+ if ( Cookie_Notice()->get_status() === 'active' ) {
428
  echo ' <h2>We\'re Promoting Privacy&trade;</h2>
429
  <p>' . __( 'Promote the privacy of your website visitors without affecting how you do your business.', 'cookie-notice' ) . '</p>';
430
  } else {
431
+ echo ' <h1><b>' . 'Cookie Compliance&trade;' . '</b></h1>
432
  <h2>' . __( 'The next generation of Cookie Notice', 'cookie-notice' ) . '</h2>
433
  <div class="cn-lead">
434
  <p>' . __( 'An all new web application to help you deliver better consent experiences and comply with GDPR and CCPA more effectively.', 'cookie-notice' ) . '</p>
435
  </div>
436
+ <img src="//cns-53eb.kxcdn.com/screen-dashboard-small.png">
437
  <a href="' . esc_url( admin_url( 'index.php?page=cookie-notice-welcome' ) ) . '" class="cn-btn">' . __( 'Upgrade', 'cookie-notice' ) . '</a>';
438
  }
439
 
465
  public function register_settings() {
466
  register_setting( 'cookie_notice_options', 'cookie_notice_options', array( $this, 'validate_options' ) );
467
 
 
468
  // compliance enabled
469
+ if ( Cookie_Notice()->get_status() === 'active' ) {
470
  // configuration
471
+ add_settings_section( 'cookie_notice_compliance', __( 'Compliance Settings', 'cookie-notice' ), array( $this, 'cn_section_compliance' ), 'cookie_notice_options' );
472
  add_settings_field( 'cn_app_status', __( 'Compliance status', 'cookie-notice' ), array( $this, 'cn_app_status' ), 'cookie_notice_options', 'cookie_notice_compliance' );
473
  add_settings_field( 'cn_app_id', __( 'App ID', 'cookie-notice' ), array( $this, 'cn_app_id' ), 'cookie_notice_options', 'cookie_notice_compliance' );
474
  add_settings_field( 'cn_app_key', __( 'App Key', 'cookie-notice' ), array( $this, 'cn_app_key' ), 'cookie_notice_options', 'cookie_notice_compliance' );
475
 
476
  add_settings_section( 'cookie_notice_configuration', __( 'Miscellaneous Settings', 'cookie-notice' ), array( $this, 'cn_section_configuration' ), 'cookie_notice_options' );
477
+ add_settings_field( 'cn_app_blocking', __( 'Autoblocking', 'cookie-notice' ), array( $this, 'cn_app_blocking' ), 'cookie_notice_options', 'cookie_notice_configuration' );
478
  add_settings_field( 'cn_app_purge_cache', __( 'Cache', 'cookie-notice' ), array( $this, 'cn_app_purge_cache' ), 'cookie_notice_options', 'cookie_notice_configuration' );
479
  add_settings_field( 'cn_script_placement', __( 'Script placement', 'cookie-notice' ), array( $this, 'cn_script_placement' ), 'cookie_notice_options', 'cookie_notice_configuration' );
480
  add_settings_field( 'cn_deactivation_delete', __( 'Deactivation', 'cookie-notice' ), array( $this, 'cn_deactivation_delete' ), 'cookie_notice_options', 'cookie_notice_configuration' );
481
  // compliance disabled
482
  } else {
483
  // configuration
484
+ add_settings_section( 'cookie_notice_compliance', __( 'Compliance Settings', 'cookie-notice' ), array( $this, 'cn_section_compliance' ), 'cookie_notice_options' );
485
  add_settings_field( 'cn_app_status', __( 'Compliance status', 'cookie-notice' ), array( $this, 'cn_app_status' ), 'cookie_notice_options', 'cookie_notice_compliance' );
486
  add_settings_field( 'cn_app_id', __( 'App ID', 'cookie-notice' ), array( $this, 'cn_app_id' ), 'cookie_notice_options', 'cookie_notice_compliance' );
487
  add_settings_field( 'cn_app_key', __( 'App Key', 'cookie-notice' ), array( $this, 'cn_app_key' ), 'cookie_notice_options', 'cookie_notice_compliance' );
488
 
489
+ add_settings_section( 'cookie_notice_configuration', __( 'Notice Settings', 'cookie-notice' ), array( $this, 'cn_section_configuration' ), 'cookie_notice_options' );
490
  add_settings_field( 'cn_message_text', __( 'Message', 'cookie-notice' ), array( $this, 'cn_message_text' ), 'cookie_notice_options', 'cookie_notice_configuration' );
491
  add_settings_field( 'cn_accept_text', __( 'Button text', 'cookie-notice' ), array( $this, 'cn_accept_text' ), 'cookie_notice_options', 'cookie_notice_configuration' );
492
  add_settings_field( 'cn_see_more', __( 'Privacy policy', 'cookie-notice' ), array( $this, 'cn_see_more' ), 'cookie_notice_options', 'cookie_notice_configuration' );
500
  add_settings_field( 'cn_time_rejected', __( 'Rejected expiry', 'cookie-notice' ), array( $this, 'cn_time_rejected' ), 'cookie_notice_options', 'cookie_notice_configuration' );
501
  add_settings_field( 'cn_script_placement', __( 'Script placement', 'cookie-notice' ), array( $this, 'cn_script_placement' ), 'cookie_notice_options', 'cookie_notice_configuration' );
502
  add_settings_field( 'cn_deactivation_delete', __( 'Deactivation', 'cookie-notice' ), array( $this, 'cn_deactivation_delete' ), 'cookie_notice_options', 'cookie_notice_configuration' );
503
+
504
  // design
505
+ add_settings_section( 'cookie_notice_design', __( 'Notice Design', 'cookie-notice' ), array( $this, 'cn_section_design' ), 'cookie_notice_options' );
506
  add_settings_field( 'cn_position', __( 'Position', 'cookie-notice' ), array( $this, 'cn_position' ), 'cookie_notice_options', 'cookie_notice_design' );
507
  add_settings_field( 'cn_hide_effect', __( 'Animation', 'cookie-notice' ), array( $this, 'cn_hide_effect' ), 'cookie_notice_options', 'cookie_notice_design' );
508
  add_settings_field( 'cn_css_style', __( 'Button style', 'cookie-notice' ), array( $this, 'cn_css_style' ), 'cookie_notice_options', 'cookie_notice_design' );
529
  echo '
530
  <fieldset>
531
  <div id="cn_app_status">
532
+ <span class="cn_compliance_status">' . __( 'Notice', 'cookie-notice' ) . ': <label class="cn-active">' . __( 'Active', 'cookie-notice' ) . '</label></span>
533
+ <span class="cn_compliance_status">' . __( 'Autoblocking', 'cookie-notice' ) . ': <label class="cn-active">' . __( 'Active', 'cookie-notice' ) . '</label></span>
534
+ <span class="cn_compliance_status">' . __( 'Cookie Categories', 'cookie-notice' ) . ': <label class="cn-active">' . __( 'Active', 'cookie-notice' ) . '</label></span>
535
+ <span class="cn_compliance_status">' . __( 'Proof-of-Consent', 'cookie-notice' ) . ': <label class="cn-active">' . __( 'Active', 'cookie-notice' ) . '</label></span>
536
  </div>
537
  <div id="cn_app_actions">
538
  <a href="' . $this->app_login_url . '" class="button button-primary button-hero" target="_blank">' . __( 'Log in & Configure', 'cookie-notice' ) . '</a>
544
  echo '
545
  <fieldset>
546
  <div id="cn_app_status">
547
+ <span class="cn_compliance_status">' . __( 'Notice', 'cookie-notice' ) . ': <label class="cn-active">' . __( 'Active', 'cookie-notice' ) . '</label></span>
548
+ <span class="cn_compliance_status">' . __( 'Autoblocking', 'cookie-notice' ) . ': <label class="cn-pending">' . __( 'Pending', 'cookie-notice' ) . '</label></span>
549
+ <span class="cn_compliance_status">' . __( 'Cookie Categories', 'cookie-notice' ) . ': <label class="cn-pending">' . __( 'Pending', 'cookie-notice' ) . '</label></span>
550
+ <span class="cn_compliance_status">' . __( 'Proof-of-Consent', 'cookie-notice' ) . ': <label class="cn-pending">' . __( 'Pending', 'cookie-notice' ) . '</label></span>
551
  </div>
552
  <div id="cn_app_actions">
553
  <a href="' . $this->app_login_url . '" class="button button-primary button-hero" target="_blank">' . __( 'Log in & Complete setup', 'cookie-notice' ) . '</a>
559
  echo '
560
  <fieldset>
561
  <div id="cn_app_status">
562
+ <span class="cn_compliance_status">' . __( 'Notice', 'cookie-notice' ) . ': <label class="cn-active">' . __( 'Active', 'cookie-notice' ) . '</label></span>
563
+ <span class="cn_compliance_status">' . __( 'Autoblocking', 'cookie-notice' ) . ': <label class="cn-inactive">' . __( 'Inactive', 'cookie-notice' ) . '</label></span>
564
+ <span class="cn_compliance_status">' . __( 'Cookie Categories', 'cookie-notice' ) . ': <label class="cn-inactive">' . __( 'Inactive', 'cookie-notice' ) . '</label></span>
565
+ <span class="cn_compliance_status">' . __( 'Proof-of-Consent', 'cookie-notice' ) . ': <label class="cn-inactive">' . __( 'Inactive', 'cookie-notice' ) . '</label></span>
566
  </div>
567
  <div id="cn_app_actions">
568
  <a href="' . admin_url( 'index.php?page=cookie-notice-welcome' ) . '" class="button button-primary button-hero">' . __( 'Add GDPR/CCPA Compliance', 'cookie-notice' ) . '</a>
597
  </div>';
598
  }
599
 
600
+ /**
601
+ * App autoblocking.
602
+ */
603
+ public function cn_app_blocking() {
604
+ echo '
605
+ <fieldset>
606
+ <label for="cn_app_blocking"><input id="cn_app_blocking" type="checkbox" name="cookie_notice_options[app_blocking]" value="1" ' . checked( true, Cookie_Notice()->options['general']['app_blocking'], false ) . ' />' . __( 'Enable to automatically block 3rd party scripts before user consent.', 'cookie-notice' ) . '</label>
607
+ <p class="description">' . __( "In case you're experiencing issues with your site disable that feature temporarily.", 'cookie-notice' ) . '</p>
608
+ </fieldset>';
609
+ }
610
+
611
  /**
612
  * App ID option.
613
  */
1018
  if ( ! current_user_can( apply_filters( 'cn_manage_cookie_notice_cap', 'manage_options' ) ) )
1019
  return $input;
1020
 
1021
+ // get main instance
1022
+ $cn = Cookie_Notice();
1023
+
1024
  if ( isset( $_POST['save_cookie_notice_options'] ) ) {
1025
  // app id
1026
+ $input['app_id'] = sanitize_text_field( isset( $input['app_id'] ) ? $input['app_id'] : $cn->defaults['general']['app_id'] );
1027
 
1028
  // app key
1029
+ $input['app_key'] = sanitize_text_field( isset( $input['app_key'] ) ? $input['app_key'] : $cn->defaults['general']['app_key'] );
1030
 
1031
  // set app status
1032
  if ( ! empty( $input['app_id'] ) && ! empty( $input['app_key'] ) ) {
1033
+ $app_status = esc_attr( $cn->welcome_api->get_app_status( $input['app_id'] ) );
1034
 
1035
  update_option( 'cookie_notice_status', $app_status );
1036
  } else {
1037
  update_option( 'cookie_notice_status', '' );
1038
  }
1039
 
1040
+ // app blocking
1041
+ $input['app_blocking'] = (bool) isset( $input['app_blocking'] );
1042
+
1043
  // position
1044
+ $input['position'] = sanitize_text_field( isset( $input['position'] ) && in_array( $input['position'], array_keys( $this->positions ) ) ? $input['position'] : $cn->defaults['general']['position'] );
1045
 
1046
  // colors
1047
+ $input['colors']['text'] = sanitize_text_field( isset( $input['colors']['text'] ) && $input['colors']['text'] !== '' && preg_match( '/^#[a-f0-9]{6}$/', $input['colors']['text'] ) === 1 ? $input['colors']['text'] : $cn->defaults['general']['colors']['text'] );
1048
+ $input['colors']['bar'] = sanitize_text_field( isset( $input['colors']['bar'] ) && $input['colors']['bar'] !== '' && preg_match( '/^#[a-f0-9]{6}$/', $input['colors']['bar'] ) === 1 ? $input['colors']['bar'] : $cn->defaults['general']['colors']['bar'] );
1049
+ $input['colors']['bar_opacity'] = absint( isset( $input['colors']['bar_opacity'] ) && $input['colors']['bar_opacity'] >= 50 ? $input['colors']['bar_opacity'] : $cn->defaults['general']['colors']['bar_opacity'] );
1050
 
1051
  // texts
1052
+ $input['message_text'] = wp_kses_post( isset( $input['message_text'] ) && $input['message_text'] !== '' ? $input['message_text'] : $cn->defaults['general']['message_text'] );
1053
+ $input['accept_text'] = sanitize_text_field( isset( $input['accept_text'] ) && $input['accept_text'] !== '' ? $input['accept_text'] : $cn->defaults['general']['accept_text'] );
1054
+ $input['refuse_text'] = sanitize_text_field( isset( $input['refuse_text'] ) && $input['refuse_text'] !== '' ? $input['refuse_text'] : $cn->defaults['general']['refuse_text'] );
1055
+ $input['revoke_message_text'] = wp_kses_post( isset( $input['revoke_message_text'] ) && $input['revoke_message_text'] !== '' ? $input['revoke_message_text'] : $cn->defaults['general']['revoke_message_text'] );
1056
+ $input['revoke_text'] = sanitize_text_field( isset( $input['revoke_text'] ) && $input['revoke_text'] !== '' ? $input['revoke_text'] : $cn->defaults['general']['revoke_text'] );
1057
  $input['refuse_opt'] = (bool) isset( $input['refuse_opt'] );
1058
  $input['revoke_cookies'] = isset( $input['revoke_cookies'] );
1059
+ $input['revoke_cookies_opt'] = isset( $input['revoke_cookies_opt'] ) && array_key_exists( $input['revoke_cookies_opt'], $this->revoke_opts ) ? $input['revoke_cookies_opt'] : $cn->defaults['general']['revoke_cookies_opt'];
1060
 
1061
  // get allowed HTML
1062
+ $allowed_html = $cn->get_allowed_html();
1063
 
1064
  // body refuse code
1065
+ $input['refuse_code'] = wp_kses( isset( $input['refuse_code'] ) && $input['refuse_code'] !== '' ? $input['refuse_code'] : $cn->defaults['general']['refuse_code'], $allowed_html );
1066
 
1067
  // head refuse code
1068
+ $input['refuse_code_head'] = wp_kses( isset( $input['refuse_code_head'] ) && $input['refuse_code_head'] !== '' ? $input['refuse_code_head'] : $cn->defaults['general']['refuse_code_head'], $allowed_html );
1069
 
1070
  // css button style
1071
+ $input['css_style'] = sanitize_text_field( isset( $input['css_style'] ) && in_array( $input['css_style'], array_keys( $this->styles ) ) ? $input['css_style'] : $cn->defaults['general']['css_style'] );
1072
 
1073
  // css button class
1074
+ $input['css_class'] = sanitize_text_field( isset( $input['css_class'] ) ? $input['css_class'] : $cn->defaults['general']['css_class'] );
1075
 
1076
  // link target
1077
+ $input['link_target'] = sanitize_text_field( isset( $input['link_target'] ) && in_array( $input['link_target'], array_keys( $this->link_targets ) ) ? $input['link_target'] : $cn->defaults['general']['link_target'] );
1078
 
1079
  // time
1080
+ $input['time'] = sanitize_text_field( isset( $input['time'] ) && in_array( $input['time'], array_keys( $this->times ) ) ? $input['time'] : $cn->defaults['general']['time'] );
1081
+ $input['time_rejected'] = sanitize_text_field( isset( $input['time_rejected'] ) && in_array( $input['time_rejected'], array_keys( $this->times ) ) ? $input['time_rejected'] : $cn->defaults['general']['time_rejected'] );
1082
 
1083
  // script placement
1084
+ $input['script_placement'] = sanitize_text_field( isset( $input['script_placement'] ) && in_array( $input['script_placement'], array_keys( $this->script_placements ) ) ? $input['script_placement'] : $cn->defaults['general']['script_placement'] );
1085
 
1086
  // hide effect
1087
+ $input['hide_effect'] = sanitize_text_field( isset( $input['hide_effect'] ) && in_array( $input['hide_effect'], array_keys( $this->effects ) ) ? $input['hide_effect'] : $cn->defaults['general']['hide_effect'] );
1088
 
1089
  // redirection
1090
  $input['redirection'] = isset( $input['redirection'] );
1093
  $input['on_scroll'] = isset( $input['on_scroll'] );
1094
 
1095
  // on scroll offset
1096
+ $input['on_scroll_offset'] = absint( isset( $input['on_scroll_offset'] ) && $input['on_scroll_offset'] !== '' ? $input['on_scroll_offset'] : $cn->defaults['general']['on_scroll_offset'] );
1097
 
1098
  // on click
1099
  $input['on_click'] = isset( $input['on_click'] );
1103
 
1104
  // privacy policy
1105
  $input['see_more'] = isset( $input['see_more'] );
1106
+ $input['see_more_opt']['text'] = sanitize_text_field( isset( $input['see_more_opt']['text'] ) && $input['see_more_opt']['text'] !== '' ? $input['see_more_opt']['text'] : $cn->defaults['general']['see_more_opt']['text'] );
1107
+ $input['see_more_opt']['link_type'] = sanitize_text_field( isset( $input['see_more_opt']['link_type'] ) && in_array( $input['see_more_opt']['link_type'], array_keys( $this->links ) ) ? $input['see_more_opt']['link_type'] : $cn->defaults['general']['see_more_opt']['link_type'] );
1108
 
1109
  if ( $input['see_more_opt']['link_type'] === 'custom' )
1110
  $input['see_more_opt']['link'] = ( $input['see_more'] === true ? esc_url( $input['see_more_opt']['link'] ) : '' );
1117
  }
1118
 
1119
  // policy link position
1120
+ $input['link_position'] = sanitize_text_field( isset( $input['link_position'] ) && in_array( $input['link_position'], array_keys( $this->link_positions ) ) ? $input['link_position'] : $cn->defaults['general']['link_position'] );
1121
 
1122
  // message link position?
1123
  if ( $input['see_more'] === true && $input['link_position'] === 'message' && strpos( $input['message_text'], '[cookies_policy_link' ) === false )
1124
  $input['message_text'] .= ' [cookies_policy_link]';
1125
 
1126
+ $input['update_version'] = $cn->options['general']['update_version'];
1127
+ $input['update_notice'] = $cn->options['general']['update_notice'];
1128
 
1129
  $input['translate'] = false;
1130
 
1141
  do_action( 'wpml_register_single_string', 'Cookie Notice', 'Custom link', $input['see_more_opt']['link'] );
1142
  }
1143
 
1144
+ add_settings_error( 'cn_cookie_notice_options', 'save_cookie_notice_options', __( 'Settings saved.', 'iubenda' ), 'updated' );
1145
+
1146
  // purge cache on save
1147
  delete_transient( 'cookie_notice_compliance_cache' );
 
1148
  } elseif ( isset( $_POST['reset_cookie_notice_options'] ) ) {
1149
+ $input = $cn->defaults['general'];
 
1150
 
1151
+ add_settings_error( 'cn_cookie_notice_options', 'reset_cookie_notice_options', __( 'Settings restored to defaults.', 'cookie-notice' ), 'updated' );
1152
 
1153
  // set app status
1154
  update_option( 'cookie_notice_status', '' );
1164
  * Load scripts and styles - admin.
1165
  */
1166
  public function admin_enqueue_scripts( $page ) {
1167
+ if ( $page !== 'toplevel_page_cookie-notice' )
1168
  return;
1169
 
1170
  wp_enqueue_script(
1183
  wp_enqueue_style( 'cookie-notice-admin', plugins_url( '../css/admin' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.css', __FILE__ ) );
1184
  }
1185
 
1186
+ /**
1187
+ * Load admin style inline, for menu icon only.
1188
+ *
1189
+ * @return mixed
1190
+ */
1191
+ public function admin_print_styles() {
1192
+ echo '
1193
+ <style>
1194
+ a.toplevel_page_cookie-notice .wp-menu-image {
1195
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj48c3ZnIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAzMjEgMzIxIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zOnNlcmlmPSJodHRwOi8vd3d3LnNlcmlmLmNvbS8iIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MjsiPjxwYXRoIGQ9Ik0zMTcuMjc4LDEzMC40NTFjLTAuODEyLC00LjMwMiAtNC4zMDEsLTcuNTYyIC04LjY0MiwtOC4wODFjLTQuMzU0LC0wLjUyMiAtOC41MDYsMS44MjkgLTEwLjMwNyw1LjgyMmMtMy4xNyw3LjAwMyAtMTAuMTMzLDExLjg3MyAtMTguMjA1LDExLjg2NGMtOC45NTUsMC4wMjIgLTE2LjUxNywtNi4wMjEgLTE5LjAzOCwtMTQuMzE1Yy0xLjUyMSwtNS4wNjMgLTYuNzI0LC04LjA2NCAtMTEuODY1LC02Ljg2M2MtMy4xNjMsMC43NDEgLTYuMTU0LDEuMTcyIC05LjEyNSwxLjE3MmMtMjIuMDM5LC0wLjA0MyAtMzkuOTc2LC0xNy45NzkgLTQwLjAxNSwtNDAuMDE5Yy0wLC0yLjk3IDAuNDMsLTUuOTYyIDEuMTY5LC05LjExM2MxLjIxMiwtNS4xNDEgLTEuNzk5LC0xMC4zNTMgLTYuODYsLTExLjg3M2MtOC4yOTUsLTIuNTEzIC0xNC4zMzcsLTEwLjA3NSAtMTQuMzE5LC0xOS4wMjljLTAuMDA5LC04LjA4MiA0Ljg2NCwtMTUuMDM2IDExLjg2NywtMTguMjA4YzMuOTkxLC0xLjc5OCA2LjM0MSwtNS45NjMgNS44MjIsLTEwLjMwNGMtMC41MjIsLTQuMzUxIC0zLjc4MywtNy44NDMgLTguMDg0LC04LjY1MmMtOS41NDMsLTEuNzkyIC0xOS40MjYsLTIuODUyIC0yOS42MTEsLTIuODUyYy04OC4yOTUsMC4wMjIgLTE2MC4wNDMsNzEuNzcgLTE2MC4wNjUsMTYwLjA2NWMwLjAyMiw4OC4yOTUgNzEuNzcsMTYwLjA0MyAxNjAuMDY1LDE2MC4wNjVjODguMjk1LC0wLjAyMiAxNjAuMDQzLC03MS43NyAxNjAuMDY1LC0xNjAuMDY1Yy0wLC0xMC4xODQgLTEuMDYzLC0yMC4wNjcgLTIuODUyLC0yOS42MTRabS01OC4yMjMsMTI4LjYwNGMtMjUuNDAxLDI1LjM4IC02MC4zNTUsNDEuMDY2IC05OC45OSw0MS4wNjZjLTM4LjYzNSwwIC03My41ODgsLTE1LjY4NiAtOTguOTg5LC00MS4wNjZjLTI1LjM4LC0yNS40MDEgLTQxLjA2NiwtNjAuMzU1IC00MS4wNjYsLTk4Ljk5Yy0wLC0zOC42MzUgMTUuNjg2LC03My41ODggNDEuMDY2LC05OC45ODljMjUuNDAxLC0yNS4zOCA2MC4zNTQsLTQxLjA2NiA5OC45ODksLTQxLjA2NmMxLjgwMSwwIDMuNTYsMC4xODkgNS4zNTIsMC4yNjhjLTMuMzQzLDUuODIzIC01LjM0MywxMi41MjcgLTUuMzUyLDE5LjczOGMwLjAxOCwxNC45MzUgOC4zMDQsMjcuNzQyIDIwLjM3OSwzNC41NzVjLTAuMTkyLDEuNzggLTAuMzczLDMuNTYgLTAuMzczLDUuNDRjMC4wMjIsMzMuMTI1IDI2LjkwMyw2MC4wMDcgNjAuMDI1LDYwLjAyNWMxLjg4LDAgMy42NjQsLTAuMTggNS40NDMsLTAuMzY5YzYuODMzLDEyLjA2NSAxOS42MjgsMjAuMzU2IDM0LjU3MiwyMC4zNzhjNy4yMTUsLTAuMDA5IDEzLjkxNiwtMi4wMTEgMTkuNzQxLC01LjM1MmMwLjA4LDEuNzggMC4yNjksMy41NTEgMC4yNjksNS4zNTJjLTAsMzguNjM1IC0xNS42ODYsNzMuNTg5IC00MS4wNjYsOTguOTlabS01OC45NzQsLTE4Ljk1OWMtMCwxMS4wNTIgLTguOTU4LDIwLjAxIC0yMC4wMSwyMC4wMWMtMTEuMDQ4LC0wIC0yMC4wMDUsLTguOTU4IC0yMC4wMDUsLTIwLjAxYy0wLC0xMS4wNDkgOC45NTcsLTIwLjAwNiAyMC4wMDUsLTIwLjAwNmMxMS4wNTIsLTAgMjAuMDEsOC45NTcgMjAuMDEsMjAuMDA2Wm0tODAuMDMxLC0xMC4wMDVjMCw1LjUyNiAtNC40NzksMTAuMDA1IC0xMC4wMDUsMTAuMDA1Yy01LjUyNiwtMCAtMTAuMDA1LC00LjQ3OSAtMTAuMDA1LC0xMC4wMDVjMCwtNS41MjMgNC40NzksLTEwLjAwMSAxMC4wMDUsLTEwLjAwMWM1LjUyNiwtMCAxMC4wMDUsNC40NzggMTAuMDA1LDEwLjAwMVptMTQwLjA1NSwtMjAuMDA2YzAsNS41MjYgLTQuNDc5LDEwLjAwNSAtMTAuMDA1LDEwLjAwNWMtNS41MjUsMCAtMTAuMDA1LC00LjQ3OSAtMTAuMDA1LC0xMC4wMDVjMCwtNS41MjYgNC40OCwtMTAuMDA1IDEwLjAwNSwtMTAuMDA1YzUuNTI2LDAgMTAuMDA1LDQuNDc5IDEwLjAwNSwxMC4wMDVabS0xNjAuMDY0LC01MC4wMmMtMCwxMS4wNDggLTguOTU3LDIwLjAwNiAtMjAuMDEsMjAuMDA2Yy0xMS4wNDgsMCAtMjAuMDA1LC04Ljk1OCAtMjAuMDA1LC0yMC4wMDZjLTAsLTExLjA1MiA4Ljk1NywtMjAuMDEgMjAuMDA1LC0yMC4wMWMxMS4wNTMsMCAyMC4wMSw4Ljk1OCAyMC4wMSwyMC4wMVptODAuMDMsMTAuMDA1YzAsNS41MjMgLTQuNDc4LDEwLjAwMSAtMTAuMDAxLDEwLjAwMWMtNS41MjYsMCAtMTAuMDA1LC00LjQ3OCAtMTAuMDA1LC0xMC4wMDFjMCwtNS41MjYgNC40NzksLTEwLjAwNSAxMC4wMDUsLTEwLjAwNWM1LjUyMywwIDEwLjAwMSw0LjQ3OSAxMC4wMDEsMTAuMDA1Wm0xMTUuNDkzLC02OS40MDZjMCw1LjUyNiAtNC40NzksMTAuMDA1IC0xMC4wMDUsMTAuMDA1Yy01LjUyNiwtMCAtMTAuMDA1LC00LjQ3OSAtMTAuMDA1LC0xMC4wMDVjMCwtNS41MjYgNC40NzksLTEwLjAwNSAxMC4wMDUsLTEwLjAwNWM1LjUyNiwtMCAxMC4wMDUsNC40NzkgMTAuMDA1LDEwLjAwNVptLTM1LjUyMywtMTkuODc0Yy0wLDExLjUwMyAtOS4zMjUsMjAuODI4IC0yMC44MjgsMjAuODI4Yy0xMS41MDQsLTAgLTIwLjgyOSwtOS4zMjUgLTIwLjgyOSwtMjAuODI4Yy0wLC0xMS41MDMgOS4zMjUsLTIwLjgyOCAyMC44MjksLTIwLjgyOGMxMS41MDMsLTAgMjAuODI4LDkuMzI1IDIwLjgyOCwyMC44MjhabS0xMTkuOTg1LC0wLjc1OWMtMCwxMS4wNTIgLTguOTU3LDIwLjAxIC0yMC4wMDYsMjAuMDFjLTExLjA1MiwtMCAtMjAuMDA5LC04Ljk1OCAtMjAuMDA5LC0yMC4wMWMtMCwtMTEuMDQ4IDguOTU3LC0yMC4wMDYgMjAuMDA5LC0yMC4wMDZjMTEuMDQ5LC0wIDIwLjAwNiw4Ljk1OCAyMC4wMDYsMjAuMDA2WiIgc3R5bGU9ImZpbGw6I2ZmZjtmaWxsLXJ1bGU6bm9uemVybzsiLz48L3N2Zz4=);
1196
+ background-position: center center;
1197
+ background-repeat: no-repeat;
1198
+ background-size: 18px auto;
1199
+ }
1200
+ </style>
1201
+ ';
1202
+ }
1203
+
1204
  /**
1205
  * Register WPML (>= 3.2) strings if needed.
1206
  *
1207
  * @return void
1208
  */
1209
  private function register_wpml_strings() {
1210
+ // get main instance
1211
+ $cn = Cookie_Notice();
1212
+
1213
  global $wpdb;
1214
 
1215
  // prepare strings
1216
  $strings = array(
1217
+ 'Message in the notice' => $cn->options['general']['message_text'],
1218
+ 'Button text' => $cn->options['general']['accept_text'],
1219
+ 'Refuse button text' => $cn->options['general']['refuse_text'],
1220
+ 'Revoke message text' => $cn->options['general']['revoke_message_text'],
1221
+ 'Revoke button text' => $cn->options['general']['revoke_text'],
1222
+ 'Privacy policy text' => $cn->options['general']['see_more_opt']['text'],
1223
+ 'Custom link' => $cn->options['general']['see_more_opt']['link']
1224
  );
1225
 
1226
  // get query results
1236
  }
1237
  }
1238
 
1239
+ /**
1240
+ * Display errors and notices.
1241
+ *
1242
+ * @global string $pagenow
1243
+ */
1244
+ public function settings_errors() {
1245
+ global $pagenow;
1246
+
1247
+ // force display notices in top menu settings page
1248
+ if ( $pagenow == 'options-general.php' )
1249
+ return;
1250
+
1251
+ settings_errors( 'cn_cookie_notice_options' );
1252
+ }
1253
+
1254
  /**
1255
  * Save compliance config caching.
1256
  */
includes/welcome.php CHANGED
@@ -175,7 +175,7 @@ class Cookie_Notice_Welcome {
175
  <p>' . __( 'An all new web application to help you deliver better consent experiences and comply with GDPR and CCPA more effectively.', 'cookie-notice' ) . '</p>
176
  </div>
177
  <div class="cn-hero-image">
178
- <img src="' . plugins_url( '../img/screen-dashboard.png', __FILE__ ) . '">
179
  </div>
180
  <div class="cn-lead">
181
  <p>' . __( 'Digital Factory - the original developers of Cookie Notice - has joined forces with <a href="https://hu-manity.co" target="_blank" class="cn-link">Hu-manity.co</a>, the company known for introducing the 31st Human Right, to launch the Cookie Compliance&trade; web application.', 'cookie-notice' ) . '</p>
@@ -213,7 +213,7 @@ class Cookie_Notice_Welcome {
213
  <img src="' . plugins_url( '../img/cookie-notice-logo-dark.png', __FILE__ ) . '">
214
  <span class="cn-badge">' . __( 'WP Plugin', 'cookie-notice' ) . '</span>
215
  </div>
216
- <img src="' . plugins_url( '../img/screen-notice.png', __FILE__ ) . '">
217
  <ul>
218
  <li><span>' . __( 'Customizable notice message', 'cookie-notice' ) . '</span></li>
219
  <li><span>' . __( 'Consent on click, scroll or close', 'cookie-notice' ) . '</span></li>
@@ -222,14 +222,14 @@ class Cookie_Notice_Welcome {
222
  </ul>
223
  </div>
224
  <div class="cn-flex-item">
225
- <img src="' . plugins_url( '../img/screen-plus.png', __FILE__ ) . '">
226
  </div>
227
  <div class="cn-flex-item">
228
  <div class="cn-logo-container">
229
  <img src="' . plugins_url( '../img/cookie-compliance-logo-dark.png', __FILE__ ) . '">
230
  <span class="cn-badge">' . __( 'Web App', 'cookie-notice' ) . '</span>
231
  </div>
232
- <img src="' . plugins_url( '../img/screen-compliance.png', __FILE__ ) . '">
233
  <ul>
234
  <li><span>' . __( 'Customizable <b>GDPR & CCPA</b> notice templates', 'cookie-notice' ) . '</span></li>
235
  <li><span>' . __( '<b>Consent Analytics</b> Dashboard', 'cookie-notice' ) . '</span></li>
@@ -308,7 +308,7 @@ class Cookie_Notice_Welcome {
308
  </div>
309
  <div class="cn-body">
310
  <h2>' . __( 'Compliance Live Demo', 'cookie-notice' ) . '</h2>
311
- <div class="cn-lead"><p>' . __( 'Simulate the upgraded Cookie Compliance&trade; design and compliance features through the options below. Click Save & Upgrade to create your Cookie Compliance&trade; account.', 'cookie-notice' ) . '</p></div>
312
  <form id="cn-form-configure" class="cn-form" action="" data-action="configure">
313
  <div class="cn-accordion">
314
  <div class="cn-accordion-item cn-form-container">
@@ -398,11 +398,11 @@ class Cookie_Notice_Welcome {
398
  <div class="cn-body">
399
  <h2>' . __( 'GDPR & CCPA Upgrade Ready', 'cookie-notice' ) . '</h2>
400
  <div class="cn-lead">
401
- <p>' . __( 'Create an account to start using Cooking Compliance&trade; - The next generation of Cookie Notice.', 'cookie-notice' ) . '</p>
402
  </div>
403
  <div class="cn-accordion">
404
  <div id="cn-accordion-account" class="cn-accordion-item cn-form-container">
405
- <div class="cn-accordion-header cn-form-header"><button class="cn-accordion-button" type="button">' . __( 'Compliance Account', 'cookie-notice' ) . '</button></div>
406
  <div class="cn-accordion-collapse">
407
  <form class="cn-form" action="" data-action="register">
408
  <div class="cn-form-feedback cn-hidden"></div>
@@ -417,7 +417,7 @@ class Cookie_Notice_Welcome {
417
  </div>
418
  <div class="cn-field cn-field-checkbox">
419
  <div class="cn-checkbox-wrapper">
420
- <label for="cn_terms"><input id="cn_terms" type="checkbox" name="terms" value="1"><span>' . __( 'I have read and agree to the', 'cookie-notice' ) . ' <a href="https://hu-manity.co/cookiecompliance-terms/" target="_blank">' . __( 'Terms of Service', 'cookie-notice' ) . '</a></span></label>
421
  </div>
422
  </div>
423
  <div class="cn-field cn-field-submit cn-nav">
@@ -435,23 +435,23 @@ class Cookie_Notice_Welcome {
435
 
436
  $html .= '
437
  </form>
438
- <p>' . __( 'Already have an account? <a href="#" class="cn-screen-button" data-screen="login">Sign in</a>', 'cookie-notice' ) . '</p>
439
  </div>
440
  </div>
441
- <div id="cn-accordion-billing" class="cn-accordion-item cn-form-container cn-collapsed cn-disabled">
442
  <div class="cn-accordion-header cn-form-header">
443
- <button class="cn-accordion-button" type="button">' . __( 'Compliance Plan', 'cookie-notice' ) . '</button>
444
  </div>
445
- <form class="cn-accordion-collapse cn-form" action="" data-action="payment">
446
  <div class="cn-form-feedback cn-hidden"></div>
447
  <div class="cn-field cn-field-radio">
448
  <div class="cn-radio-wrapper cn-plan-wrapper">
449
- <label for="cn_field_plan_monthly"><input id="cn_field_plan_monthly" type="radio" name="plan" value="compliance_monthly" checked><span><span class="cn-plan-description">Bill monthly</span><span class="cn-plan-price">$14.95<span class="cn-plan-period">' . __( '/mo', 'cookie-notice' ) . '</span></span><span class="cn-plan-overlay"></span></span></label>
450
- <label for="cn_field_plan_yearly"><input id="cn_field_plan_yearly" type="radio" name="plan" value="compliance_yearly"><span><span class="cn-plan-description">Bill yearly <span class="cn-price-off">(15% off)</span></span><span class="cn-plan-price">$149.50<span class="cn-plan-period">' . __( '/yr', 'cookie-notice' ) . '</span></span><span class="cn-plan-overlay"></span></span></label>
451
  </div>
452
  </div>
453
  <div class="cn-field cn-field-radio">
454
- <label>' . __( 'Payment Method', 'cookie-notice' ) . '</label>
455
  <div class="cn-radio-wrapper cn-horizontal-wrapper">
456
  <label for="cn_field_method_credit_card"><input id="cn_field_method_credit_card" type="radio" name="method" value="credit_card" checked><span>' . __( 'Credit Card', 'cookie-notice' ) . '</span></label>
457
  <label for="cn_field_method_paypal"><input id="cn_field_method_paypal" type="radio" name="method" value="paypal"><span>' . __( 'PayPal', 'cookie-notice' ) . '</span></label>
@@ -472,7 +472,7 @@ class Cookie_Notice_Welcome {
472
  <div id="cn_cvv"></div>
473
  </div>
474
  <div class="cn-field cn-field-submit cn-nav">
475
- <button type="submit" class="cn-btn cn-screen-button" tabindex="4" data-screen="4"><span class="cn-spinner"></span>' . __( 'Subscribe', 'cookie-notice' ) . '</button>
476
  </div>
477
  </div>
478
  <div class="cn-fieldset" id="cn_payment_method_paypal" style="display: none;">
@@ -498,11 +498,11 @@ class Cookie_Notice_Welcome {
498
  <div class="cn-body">
499
  <h2>' . __( 'Compliance Sign in', 'cookie-notice' ) . '</h2>
500
  <div class="cn-lead">
501
- <p>' . __( 'Sign in to your existing Cooking Compliance&trade; account to upgrade this website.', 'cookie-notice' ) . '</p>
502
  </div>
503
  <div class="cn-accordion">
504
  <div id="cn-accordion-account" class="cn-accordion-item cn-form-container">
505
- <div class="cn-accordion-header cn-form-header"><button class="cn-accordion-button" type="button">' . __( 'Compliance Account', 'cookie-notice' ) . '</button></div>
506
  <div class="cn-accordion-collapse">
507
  <form class="cn-form" action="" data-action="login">
508
  <div class="cn-form-feedback cn-hidden"></div>
@@ -527,23 +527,23 @@ class Cookie_Notice_Welcome {
527
 
528
  $html .= '
529
  </form>
530
- <p>' . __( 'Don\'t have an account yet? <a href="#" class="cn-screen-button" data-screen="register">Sign up</a>', 'cookie-notice' ) . '</p>
531
  </div>
532
  </div>
533
- <div id="cn-accordion-billing" class="cn-accordion-item cn-form-container cn-collapsed cn-disabled">
534
  <div class="cn-accordion-header cn-form-header">
535
  <button class="cn-accordion-button" type="button">' . __( 'Compliance Plan', 'cookie-notice' ) . '</button>
536
  </div>
537
- <form class="cn-accordion-collapse cn-form" action="" data-action="payment">
538
  <div class="cn-form-feedback cn-hidden"></div>
539
  <div class="cn-field cn-field-radio">
540
  <div class="cn-radio-wrapper cn-plan-wrapper">
541
- <label for="cn_field_plan_monthly"><input id="cn_field_plan_monthly" type="radio" name="plan" value="compliance_monthly" checked><span><span class="cn-plan-description">Bill monthly</span><span class="cn-plan-price">$14.95<span class="cn-plan-period">' . __( '/mo', 'cookie-notice' ) . '</span></span><span class="cn-plan-overlay"></span></span></label>
542
- <label for="cn_field_plan_yearly"><input id="cn_field_plan_yearly" type="radio" name="plan" value="compliance_yearly"><span><span class="cn-plan-description">Bill yearly <span class="cn-price-off">-(15% off)</span></span><span class="cn-plan-price">$149.50<span class="cn-plan-period">' . __( '/yr', 'cookie-notice' ) . '</span></span><span class="cn-plan-overlay"></span></span></label>
543
  </div>
544
  </div>
545
  <div class="cn-field cn-field-radio">
546
- <label>' . __( 'Payment Method', 'cookie-notice' ) . '</label>
547
  <div class="cn-radio-wrapper cn-horizontal-wrapper">
548
  <label for="cn_field_method_credit_card"><input id="cn_field_method_credit_card" type="radio" name="method" value="credit_card" checked><span>' . __( 'Credit Card', 'cookie-notice' ) . '</span></label>
549
  <label for="cn_field_method_paypal"><input id="cn_field_method_paypal" type="radio" name="method" value="paypal"><span>' . __( 'PayPal', 'cookie-notice' ) . '</span></label>
@@ -564,7 +564,7 @@ class Cookie_Notice_Welcome {
564
  <div id="cn_cvv"></div>
565
  </div>
566
  <div class="cn-field cn-field-submit cn-nav">
567
- <button type="submit" class="cn-btn cn-screen-button" tabindex="4" data-screen="4"><span class="cn-spinner"></span>' . __( 'Subscribe', 'cookie-notice' ) . '</button>
568
  </div>
569
  </div>
570
  <div class="cn-fieldset" id="cn_payment_method_paypal" style="display: none;">
@@ -589,7 +589,7 @@ class Cookie_Notice_Welcome {
589
  </div>
590
  <div class="cn-body">
591
  <h2>' . __( 'Success!', 'cookie-notice' ) . '</h2>
592
- <div class="cn-lead"><p><b>' . __( 'You have successfully upgraded your website to Cookie Compliance&trade;', 'cookie-notice' ) . '</b></p><p>' . sprintf( __( 'Go to Cookie Compliance&trade; application now. Or access it anytime from your <a href="%s">Cookie Notice settings page</a>.', 'cookie-notice' ), esc_url( admin_url( 'options-general.php?page=cookie-notice' ) ) ) . '</p></div>
593
  </div>';
594
  }
595
 
@@ -598,13 +598,13 @@ class Cookie_Notice_Welcome {
598
 
599
  switch ( $screen ) {
600
  case 'about':
601
- $html .= '<a href="' . esc_url( admin_url( 'options-general.php?page=cookie-notice' ) ) . '" class="cn-btn cn-btn-link cn-skip-button">' . __( 'Remind me later', 'cookie-notice' ) . '</a>';
602
  break;
603
  case 'success':
604
  $html .= '<a href="' . esc_url( get_dashboard_url() ) . '" class="cn-btn cn-btn-link cn-skip-button">' . __( 'WordPress Dashboard', 'cookie-notice' ) . '</a>';
605
  break;
606
  default:
607
- $html .= '<a href="' . esc_url( admin_url( 'options-general.php?page=cookie-notice' ) ) . '" class="cn-btn cn-btn-link cn-skip-button">' . __( 'Skip for now', 'cookie-notice' ) . '</a>';
608
  break;
609
  }
610
 
175
  <p>' . __( 'An all new web application to help you deliver better consent experiences and comply with GDPR and CCPA more effectively.', 'cookie-notice' ) . '</p>
176
  </div>
177
  <div class="cn-hero-image">
178
+ <img src="//cno1-53eb.kxcdn.com/screen-dashboard.png">
179
  </div>
180
  <div class="cn-lead">
181
  <p>' . __( 'Digital Factory - the original developers of Cookie Notice - has joined forces with <a href="https://hu-manity.co" target="_blank" class="cn-link">Hu-manity.co</a>, the company known for introducing the 31st Human Right, to launch the Cookie Compliance&trade; web application.', 'cookie-notice' ) . '</p>
213
  <img src="' . plugins_url( '../img/cookie-notice-logo-dark.png', __FILE__ ) . '">
214
  <span class="cn-badge">' . __( 'WP Plugin', 'cookie-notice' ) . '</span>
215
  </div>
216
+ <img src="//cno3-53eb.kxcdn.com/screen-notice.png">
217
  <ul>
218
  <li><span>' . __( 'Customizable notice message', 'cookie-notice' ) . '</span></li>
219
  <li><span>' . __( 'Consent on click, scroll or close', 'cookie-notice' ) . '</span></li>
222
  </ul>
223
  </div>
224
  <div class="cn-flex-item">
225
+ <img src="//cno3-53eb.kxcdn.com/screen-plus.png">
226
  </div>
227
  <div class="cn-flex-item">
228
  <div class="cn-logo-container">
229
  <img src="' . plugins_url( '../img/cookie-compliance-logo-dark.png', __FILE__ ) . '">
230
  <span class="cn-badge">' . __( 'Web App', 'cookie-notice' ) . '</span>
231
  </div>
232
+ <img src="//cno3-53eb.kxcdn.com/screen-compliance.png">
233
  <ul>
234
  <li><span>' . __( 'Customizable <b>GDPR & CCPA</b> notice templates', 'cookie-notice' ) . '</span></li>
235
  <li><span>' . __( '<b>Consent Analytics</b> Dashboard', 'cookie-notice' ) . '</span></li>
308
  </div>
309
  <div class="cn-body">
310
  <h2>' . __( 'Compliance Live Demo', 'cookie-notice' ) . '</h2>
311
+ <div class="cn-lead"><p>' . __( 'Simulate the upgraded Cookie Compliance&trade; design and compliance features through the options below. Click Add Copmliance to save the configuration and go to creating your Cookie Compliance&trade; account.', 'cookie-notice' ) . '</p></div>
312
  <form id="cn-form-configure" class="cn-form" action="" data-action="configure">
313
  <div class="cn-accordion">
314
  <div class="cn-accordion-item cn-form-container">
398
  <div class="cn-body">
399
  <h2>' . __( 'GDPR & CCPA Upgrade Ready', 'cookie-notice' ) . '</h2>
400
  <div class="cn-lead">
401
+ <p>' . __( 'To start using The Next Generation of Cookie Notice create a Cooking Compliance&trade; account. Then you will be asked to select plan and authorize your subscription.', 'cookie-notice' ) . '</p>
402
  </div>
403
  <div class="cn-accordion">
404
  <div id="cn-accordion-account" class="cn-accordion-item cn-form-container">
405
+ <div class="cn-accordion-header cn-form-header"><button class="cn-accordion-button" type="button">' . __( 'Create Account', 'cookie-notice' ) . '</button></div>
406
  <div class="cn-accordion-collapse">
407
  <form class="cn-form" action="" data-action="register">
408
  <div class="cn-form-feedback cn-hidden"></div>
417
  </div>
418
  <div class="cn-field cn-field-checkbox">
419
  <div class="cn-checkbox-wrapper">
420
+ <label for="cn_terms"><input id="cn_terms" type="checkbox" name="terms" value="1"><span>' . sprintf( __( 'I have read and agree to the <a href="%s" target="_blank">Terms of Service', 'cookie-notice' ), 'https://hu-manity.co/cookiecompliance-terms/' ) . '</a></span></label>
421
  </div>
422
  </div>
423
  <div class="cn-field cn-field-submit cn-nav">
435
 
436
  $html .= '
437
  </form>
438
+ <p>' . __( 'Already have an account?', 'cookie-notice' ) . ' <a href="#" class="cn-screen-button" data-screen="login">' . __( 'Sign in', 'cookie-notice' ). '</a></p>
439
  </div>
440
  </div>
441
+ <div id="cn-accordion-billing" class="cn-accordion-item cn-form-container cn-disabled">
442
  <div class="cn-accordion-header cn-form-header">
443
+ <button class="cn-accordion-button" type="button">' . __( 'Account Plan', 'cookie-notice' ) . '</button>
444
  </div>
445
+ <form class="cn-accordion-collapse cn-form cn-form-disabled" action="" data-action="payment">
446
  <div class="cn-form-feedback cn-hidden"></div>
447
  <div class="cn-field cn-field-radio">
448
  <div class="cn-radio-wrapper cn-plan-wrapper">
449
+ <label for="cn_field_plan_monthly"><input id="cn_field_plan_monthly" type="radio" name="plan" value="compliance_monthly" checked><span><span class="cn-plan-description">' . __( '<b>14 days</b> Free Trial', 'cookie-notice' ) . '</span><span class="cn-plan-pricing">then <span class="cn-plan-price">$14.95</span>' . __( '/mo', 'cookie-notice' ) . '</span><span class="cn-plan-overlay"></span></span></label>
450
+ <label for="cn_field_plan_yearly"><input id="cn_field_plan_yearly" type="radio" name="plan" value="compliance_yearly"><span><span class="cn-plan-description">' . __( '<b>30 days</b> Free Trial', 'cookie-notice' ) . '</span><span class="cn-plan-pricing">then <span class="cn-plan-price">$149.50</span>' . __( '/yr', 'cookie-notice' ) . ' <span class="cn-price-off">(' . __( '15% off', 'cookie-notice' ) . ')</span></span><span class="cn-plan-overlay"></span></span></label>
451
  </div>
452
  </div>
453
  <div class="cn-field cn-field-radio">
454
+ <label>' . __( 'Subscription Method', 'cookie-notice' ) . '</label>
455
  <div class="cn-radio-wrapper cn-horizontal-wrapper">
456
  <label for="cn_field_method_credit_card"><input id="cn_field_method_credit_card" type="radio" name="method" value="credit_card" checked><span>' . __( 'Credit Card', 'cookie-notice' ) . '</span></label>
457
  <label for="cn_field_method_paypal"><input id="cn_field_method_paypal" type="radio" name="method" value="paypal"><span>' . __( 'PayPal', 'cookie-notice' ) . '</span></label>
472
  <div id="cn_cvv"></div>
473
  </div>
474
  <div class="cn-field cn-field-submit cn-nav">
475
+ <button type="submit" class="cn-btn cn-screen-button" tabindex="4" data-screen="4"><span class="cn-spinner"></span>' . __( 'Start Free Trial', 'cookie-notice' ) . '</button>
476
  </div>
477
  </div>
478
  <div class="cn-fieldset" id="cn_payment_method_paypal" style="display: none;">
498
  <div class="cn-body">
499
  <h2>' . __( 'Compliance Sign in', 'cookie-notice' ) . '</h2>
500
  <div class="cn-lead">
501
+ <p>' . __( 'Sign in to your existing Cooking Compliance&trade; account to continue upgrading of this website.', 'cookie-notice' ) . '</p>
502
  </div>
503
  <div class="cn-accordion">
504
  <div id="cn-accordion-account" class="cn-accordion-item cn-form-container">
505
+ <div class="cn-accordion-header cn-form-header"><button class="cn-accordion-button" type="button">' . __( 'Account Login', 'cookie-notice' ) . '</button></div>
506
  <div class="cn-accordion-collapse">
507
  <form class="cn-form" action="" data-action="login">
508
  <div class="cn-form-feedback cn-hidden"></div>
527
 
528
  $html .= '
529
  </form>
530
+ <p>' . __( 'Don\'t have an account yet?', 'cookie-notice' ) . ' <a href="#" class="cn-screen-button" data-screen="register">' . __( 'Sign up', 'cookie-notice' ) . '</a></p>
531
  </div>
532
  </div>
533
+ <div id="cn-accordion-billing" class="cn-accordion-item cn-form-container cn-disabled">
534
  <div class="cn-accordion-header cn-form-header">
535
  <button class="cn-accordion-button" type="button">' . __( 'Compliance Plan', 'cookie-notice' ) . '</button>
536
  </div>
537
+ <form class="cn-accordion-collapse cn-form cn-form-disabled" action="" data-action="payment">
538
  <div class="cn-form-feedback cn-hidden"></div>
539
  <div class="cn-field cn-field-radio">
540
  <div class="cn-radio-wrapper cn-plan-wrapper">
541
+ <label for="cn_field_plan_monthly"><input id="cn_field_plan_monthly" type="radio" name="plan" value="compliance_monthly" checked><span><span class="cn-plan-description">' . __( '<b>14 days</b> Free Trial', 'cookie-notice' ) . '</span><span class="cn-plan-pricing">then <span class="cn-plan-price">$14.95</span>' . __( '/mo', 'cookie-notice' ) . '</span><span class="cn-plan-overlay"></span></span></label>
542
+ <label for="cn_field_plan_yearly"><input id="cn_field_plan_yearly" type="radio" name="plan" value="compliance_yearly"><span><span class="cn-plan-description">' . __( '<b>30 days</b> Free Trial', 'cookie-notice' ) . ' <span class="cn-price-off">(15% off)</span></span><span class="cn-plan-pricing">then <span class="cn-plan-price">$149.50</span>' . __( '/yr', 'cookie-notice' ) . '</span><span class="cn-plan-overlay"></span></span></label>
543
  </div>
544
  </div>
545
  <div class="cn-field cn-field-radio">
546
+ <label>' . __( 'Subscription Method', 'cookie-notice' ) . '</label>
547
  <div class="cn-radio-wrapper cn-horizontal-wrapper">
548
  <label for="cn_field_method_credit_card"><input id="cn_field_method_credit_card" type="radio" name="method" value="credit_card" checked><span>' . __( 'Credit Card', 'cookie-notice' ) . '</span></label>
549
  <label for="cn_field_method_paypal"><input id="cn_field_method_paypal" type="radio" name="method" value="paypal"><span>' . __( 'PayPal', 'cookie-notice' ) . '</span></label>
564
  <div id="cn_cvv"></div>
565
  </div>
566
  <div class="cn-field cn-field-submit cn-nav">
567
+ <button type="submit" class="cn-btn cn-screen-button" tabindex="4" data-screen="4"><span class="cn-spinner"></span>' . __( 'Start Free Trial', 'cookie-notice' ) . '</button>
568
  </div>
569
  </div>
570
  <div class="cn-fieldset" id="cn_payment_method_paypal" style="display: none;">
589
  </div>
590
  <div class="cn-body">
591
  <h2>' . __( 'Success!', 'cookie-notice' ) . '</h2>
592
+ <div class="cn-lead"><p><b>' . __( 'You have successfully upgraded your website to Cookie Compliance&trade;', 'cookie-notice' ) . '</b></p><p>' . sprintf( __( 'Go to Cookie Compliance&trade; application now. Or access it anytime from your <a href="%s">Cookie Notice settings page</a>.', 'cookie-notice' ), esc_url( admin_url( 'admin.php?page=cookie-notice' ) ) ) . '</p></div>
593
  </div>';
594
  }
595
 
598
 
599
  switch ( $screen ) {
600
  case 'about':
601
+ $html .= '<a href="' . esc_url( admin_url( 'admin.php?page=cookie-notice' ) ) . '" class="cn-btn cn-btn-link cn-skip-button">' . __( 'Remind me later', 'cookie-notice' ) . '</a>';
602
  break;
603
  case 'success':
604
  $html .= '<a href="' . esc_url( get_dashboard_url() ) . '" class="cn-btn cn-btn-link cn-skip-button">' . __( 'WordPress Dashboard', 'cookie-notice' ) . '</a>';
605
  break;
606
  default:
607
+ $html .= '<a href="' . esc_url( admin_url( 'admin.php?page=cookie-notice' ) ) . '" class="cn-btn cn-btn-link cn-skip-button">' . __( 'Skip for now', 'cookie-notice' ) . '</a>';
608
  break;
609
  }
610
 
js/admin-welcome.js CHANGED
@@ -364,7 +364,8 @@
364
  $( accordionItem ).addClass( 'cn-collapsed cn-disabled' );
365
 
366
  // show billing
367
- $( accordionItem ).next().removeClass( 'cn-collapsed cn-disabled' );
 
368
 
369
  // init braintree after payment screen is loaded via AJAX
370
  btInit();
364
  $( accordionItem ).addClass( 'cn-collapsed cn-disabled' );
365
 
366
  // show billing
367
+ $( accordionItem ).next().removeClass( 'cn-disabled' );
368
+ $( accordionItem ).find( 'form' ).removeClass( 'cn-form-disabled' );
369
 
370
  // init braintree after payment screen is loaded via AJAX
371
  btInit();
languages/cookie-notice.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Cookie Notice\n"
5
- "POT-Creation-Date: 2021-02-01 12:34+0100\n"
6
  "PO-Revision-Date: 2015-03-24 11:30+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
@@ -16,1452 +16,512 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
- #: ../cookie-notice.php:499
20
  msgid "Settings"
21
  msgstr ""
22
 
23
- #: ../includes/frontend.php:177 ../includes/settings.php:405
24
- msgid "Cookie Notice"
25
- msgstr ""
26
-
27
- #: ../includes/settings.php:46 ../includes/welcome.php:360
28
- msgid "Top"
29
- msgstr ""
30
-
31
- #: ../includes/settings.php:47 ../includes/welcome.php:359
32
- msgid "Bottom"
33
- msgstr ""
34
-
35
- #: ../includes/settings.php:51 ../includes/settings.php:96
36
- msgid "None"
37
- msgstr ""
38
-
39
- #: ../includes/settings.php:52
40
- msgid "Light"
41
- msgstr ""
42
-
43
- #: ../includes/settings.php:53
44
- msgid "Dark"
45
- msgstr ""
46
-
47
- #: ../includes/settings.php:57
48
- msgid "Automatic"
49
- msgstr ""
50
-
51
- #: ../includes/settings.php:58
52
- msgid "Manual"
53
- msgstr ""
54
-
55
- #: ../includes/settings.php:62
56
- msgid "Page link"
57
- msgstr ""
58
-
59
- #: ../includes/settings.php:63
60
- msgid "Custom link"
61
- msgstr ""
62
-
63
- #: ../includes/settings.php:72
64
- msgid "Banner"
65
- msgstr ""
66
-
67
- #: ../includes/settings.php:73 ../includes/settings.php:486
68
- msgid "Message"
69
- msgstr ""
70
-
71
- #: ../includes/settings.php:77
72
- msgid "Text color"
73
- msgstr ""
74
-
75
- #: ../includes/settings.php:78
76
- msgid "Bar color"
77
- msgstr ""
78
-
79
- #: ../includes/settings.php:84
80
- msgid "An hour"
81
- msgstr ""
82
-
83
- #: ../includes/settings.php:85
84
- msgid "1 day"
85
- msgstr ""
86
-
87
- #: ../includes/settings.php:86
88
- msgid "1 week"
89
- msgstr ""
90
-
91
- #: ../includes/settings.php:87
92
- msgid "1 month"
93
- msgstr ""
94
-
95
- #: ../includes/settings.php:88
96
- msgid "3 months"
97
- msgstr ""
98
-
99
- #: ../includes/settings.php:89
100
- msgid "6 months"
101
- msgstr ""
102
-
103
- #: ../includes/settings.php:90
104
- msgid "1 year"
105
- msgstr ""
106
-
107
- #: ../includes/settings.php:91
108
- msgid "infinity"
109
- msgstr ""
110
-
111
- #: ../includes/settings.php:97
112
- msgid "Fade"
113
- msgstr ""
114
-
115
- #: ../includes/settings.php:98
116
- msgid "Slide"
117
- msgstr ""
118
-
119
- #: ../includes/settings.php:102
120
- msgid "Header"
121
- msgstr ""
122
-
123
- #: ../includes/settings.php:103
124
- msgid "Footer"
125
- msgstr ""
126
-
127
- #: ../includes/settings.php:107
128
- msgid "Cookies are small files that are stored on your browser. We use cookies and similar technologies to ensure our website works properly."
129
- msgstr ""
130
-
131
- #: ../includes/settings.php:108
132
- msgid "Cookies are small files that are stored on your browser. We use cookies and similar technologies to ensure our website works properly, and to personalize your browsing experience."
133
- msgstr ""
134
-
135
- #: ../includes/settings.php:109
136
- msgid "Cookies are small files that are stored on your browser. We use cookies and similar technologies to ensure our website works properly, personalize your browsing experience, and analyze how you use our website. For these reasons, we may share your site usage data with our analytics partners."
137
- msgstr ""
138
-
139
- #: ../includes/settings.php:110
140
- msgid "Cookies are small files that are stored on your browser. We use cookies and similar technologies to ensure our website works properly, personalize your browsing experience, analyze how you use our website, and deliver relevant ads to you. For these reasons, we may share your site usage data with our social media, advertising and analytics partners."
141
- msgstr ""
142
-
143
- #: ../includes/settings.php:113
144
- msgid "You can choose whether or not you want to consent to our use of cookies through the options below."
145
- msgstr ""
146
-
147
- #: ../includes/settings.php:114
148
- msgid "You can choose whether or not you want to consent to our use of cookies through the options below. You can customise the use of cookies, and change your settings at any time."
149
- msgstr ""
150
-
151
- #: ../includes/settings.php:118
152
- msgid "Afghanistan"
153
- msgstr ""
154
-
155
- #: ../includes/settings.php:119
156
- msgid "&#197;land Islands"
157
- msgstr ""
158
-
159
- #: ../includes/settings.php:120
160
- msgid "Albania"
161
- msgstr ""
162
-
163
- #: ../includes/settings.php:121
164
- msgid "Algeria"
165
- msgstr ""
166
-
167
- #: ../includes/settings.php:122
168
- msgid "Andorra"
169
- msgstr ""
170
-
171
- #: ../includes/settings.php:123
172
- msgid "Angola"
173
- msgstr ""
174
-
175
- #: ../includes/settings.php:124
176
- msgid "Anguilla"
177
- msgstr ""
178
-
179
- #: ../includes/settings.php:125
180
- msgid "Antarctica"
181
- msgstr ""
182
-
183
- #: ../includes/settings.php:126
184
- msgid "Antigua and Barbuda"
185
- msgstr ""
186
-
187
- #: ../includes/settings.php:127
188
- msgid "Argentina"
189
- msgstr ""
190
-
191
- #: ../includes/settings.php:128
192
- msgid "Armenia"
193
- msgstr ""
194
-
195
- #: ../includes/settings.php:129
196
- msgid "Aruba"
197
- msgstr ""
198
-
199
- #: ../includes/settings.php:130
200
- msgid "Australia"
201
- msgstr ""
202
-
203
- #: ../includes/settings.php:131
204
- msgid "Austria"
205
- msgstr ""
206
-
207
- #: ../includes/settings.php:132
208
- msgid "Azerbaijan"
209
- msgstr ""
210
-
211
- #: ../includes/settings.php:133
212
- msgid "Bahamas"
213
- msgstr ""
214
-
215
- #: ../includes/settings.php:134
216
- msgid "Bahrain"
217
- msgstr ""
218
-
219
- #: ../includes/settings.php:135
220
- msgid "Bangladesh"
221
- msgstr ""
222
-
223
- #: ../includes/settings.php:136
224
- msgid "Barbados"
225
- msgstr ""
226
-
227
- #: ../includes/settings.php:137
228
- msgid "Belarus"
229
- msgstr ""
230
-
231
- #: ../includes/settings.php:138
232
- msgid "Belgium"
233
- msgstr ""
234
-
235
- #: ../includes/settings.php:139
236
- msgid "Belau"
237
- msgstr ""
238
-
239
- #: ../includes/settings.php:140
240
- msgid "Belize"
241
- msgstr ""
242
-
243
- #: ../includes/settings.php:141
244
- msgid "Benin"
245
- msgstr ""
246
-
247
- #: ../includes/settings.php:142
248
- msgid "Bermuda"
249
- msgstr ""
250
-
251
- #: ../includes/settings.php:143
252
- msgid "Bhutan"
253
- msgstr ""
254
-
255
- #: ../includes/settings.php:144
256
- msgid "Bolivia"
257
- msgstr ""
258
-
259
- #: ../includes/settings.php:145
260
- msgid "Bonaire, Saint Eustatius and Saba"
261
- msgstr ""
262
-
263
- #: ../includes/settings.php:146
264
- msgid "Bosnia and Herzegovina"
265
- msgstr ""
266
-
267
- #: ../includes/settings.php:147
268
- msgid "Botswana"
269
- msgstr ""
270
-
271
- #: ../includes/settings.php:148
272
- msgid "Bouvet Island"
273
- msgstr ""
274
-
275
- #: ../includes/settings.php:149
276
- msgid "Brazil"
277
- msgstr ""
278
-
279
- #: ../includes/settings.php:150
280
- msgid "British Indian Ocean Territory"
281
- msgstr ""
282
-
283
- #: ../includes/settings.php:151
284
- msgid "British Virgin Islands"
285
- msgstr ""
286
-
287
- #: ../includes/settings.php:152
288
- msgid "Brunei"
289
- msgstr ""
290
-
291
- #: ../includes/settings.php:153
292
- msgid "Bulgaria"
293
- msgstr ""
294
-
295
- #: ../includes/settings.php:154
296
- msgid "Burkina Faso"
297
- msgstr ""
298
-
299
- #: ../includes/settings.php:155
300
- msgid "Burundi"
301
- msgstr ""
302
-
303
- #: ../includes/settings.php:156
304
- msgid "Cambodia"
305
- msgstr ""
306
-
307
- #: ../includes/settings.php:157
308
- msgid "Cameroon"
309
- msgstr ""
310
-
311
- #: ../includes/settings.php:158
312
- msgid "Canada"
313
- msgstr ""
314
-
315
- #: ../includes/settings.php:159
316
- msgid "Cape Verde"
317
- msgstr ""
318
-
319
- #: ../includes/settings.php:160
320
- msgid "Cayman Islands"
321
- msgstr ""
322
-
323
- #: ../includes/settings.php:161
324
- msgid "Central African Republic"
325
- msgstr ""
326
-
327
- #: ../includes/settings.php:162
328
- msgid "Chad"
329
- msgstr ""
330
-
331
- #: ../includes/settings.php:163
332
- msgid "Chile"
333
- msgstr ""
334
-
335
- #: ../includes/settings.php:164
336
- msgid "China"
337
- msgstr ""
338
-
339
- #: ../includes/settings.php:165
340
- msgid "Christmas Island"
341
- msgstr ""
342
-
343
- #: ../includes/settings.php:166
344
- msgid "Cocos (Keeling) Islands"
345
- msgstr ""
346
-
347
- #: ../includes/settings.php:167
348
- msgid "Colombia"
349
- msgstr ""
350
-
351
- #: ../includes/settings.php:168
352
- msgid "Comoros"
353
- msgstr ""
354
-
355
- #: ../includes/settings.php:169
356
- msgid "Congo (Brazzaville)"
357
- msgstr ""
358
-
359
- #: ../includes/settings.php:170
360
- msgid "Congo (Kinshasa)"
361
- msgstr ""
362
-
363
- #: ../includes/settings.php:171
364
- msgid "Cook Islands"
365
- msgstr ""
366
-
367
- #: ../includes/settings.php:172
368
- msgid "Costa Rica"
369
- msgstr ""
370
-
371
- #: ../includes/settings.php:173
372
- msgid "Croatia"
373
- msgstr ""
374
-
375
- #: ../includes/settings.php:174
376
- msgid "Cuba"
377
- msgstr ""
378
-
379
- #: ../includes/settings.php:175
380
- msgid "Cura&Ccedil;ao"
381
- msgstr ""
382
-
383
- #: ../includes/settings.php:176
384
- msgid "Cyprus"
385
- msgstr ""
386
-
387
- #: ../includes/settings.php:177
388
- msgid "Czech Republic"
389
- msgstr ""
390
-
391
- #: ../includes/settings.php:178
392
- msgid "Denmark"
393
- msgstr ""
394
-
395
- #: ../includes/settings.php:179
396
- msgid "Djibouti"
397
- msgstr ""
398
-
399
- #: ../includes/settings.php:180
400
- msgid "Dominica"
401
- msgstr ""
402
-
403
- #: ../includes/settings.php:181
404
- msgid "Dominican Republic"
405
- msgstr ""
406
-
407
- #: ../includes/settings.php:182
408
- msgid "Ecuador"
409
- msgstr ""
410
-
411
- #: ../includes/settings.php:183
412
- msgid "Egypt"
413
- msgstr ""
414
-
415
- #: ../includes/settings.php:184
416
- msgid "El Salvador"
417
- msgstr ""
418
-
419
- #: ../includes/settings.php:185
420
- msgid "Equatorial Guinea"
421
- msgstr ""
422
-
423
- #: ../includes/settings.php:186
424
- msgid "Eritrea"
425
- msgstr ""
426
-
427
- #: ../includes/settings.php:187
428
- msgid "Estonia"
429
- msgstr ""
430
-
431
- #: ../includes/settings.php:188
432
- msgid "Ethiopia"
433
- msgstr ""
434
-
435
- #: ../includes/settings.php:189
436
- msgid "Falkland Islands"
437
- msgstr ""
438
-
439
- #: ../includes/settings.php:190
440
- msgid "Faroe Islands"
441
- msgstr ""
442
-
443
- #: ../includes/settings.php:191
444
- msgid "Fiji"
445
- msgstr ""
446
-
447
- #: ../includes/settings.php:192
448
- msgid "Finland"
449
- msgstr ""
450
-
451
- #: ../includes/settings.php:193
452
- msgid "France"
453
- msgstr ""
454
-
455
- #: ../includes/settings.php:194
456
- msgid "French Guiana"
457
- msgstr ""
458
-
459
- #: ../includes/settings.php:195
460
- msgid "French Polynesia"
461
- msgstr ""
462
-
463
- #: ../includes/settings.php:196
464
- msgid "French Southern Territories"
465
- msgstr ""
466
-
467
- #: ../includes/settings.php:197
468
- msgid "Gabon"
469
- msgstr ""
470
-
471
- #: ../includes/settings.php:198
472
- msgid "Gambia"
473
- msgstr ""
474
-
475
- #: ../includes/settings.php:199
476
- msgid "Georgia"
477
- msgstr ""
478
-
479
- #: ../includes/settings.php:200
480
- msgid "Germany"
481
- msgstr ""
482
-
483
- #: ../includes/settings.php:201
484
- msgid "Ghana"
485
- msgstr ""
486
-
487
- #: ../includes/settings.php:202
488
- msgid "Gibraltar"
489
- msgstr ""
490
-
491
- #: ../includes/settings.php:203
492
- msgid "Greece"
493
- msgstr ""
494
-
495
- #: ../includes/settings.php:204
496
- msgid "Greenland"
497
- msgstr ""
498
-
499
- #: ../includes/settings.php:205
500
- msgid "Grenada"
501
- msgstr ""
502
-
503
- #: ../includes/settings.php:206
504
- msgid "Guadeloupe"
505
- msgstr ""
506
-
507
- #: ../includes/settings.php:207
508
- msgid "Guatemala"
509
- msgstr ""
510
-
511
- #: ../includes/settings.php:208
512
- msgid "Guernsey"
513
- msgstr ""
514
-
515
- #: ../includes/settings.php:209
516
- msgid "Guinea"
517
- msgstr ""
518
-
519
- #: ../includes/settings.php:210
520
- msgid "Guinea-Bissau"
521
- msgstr ""
522
-
523
- #: ../includes/settings.php:211
524
- msgid "Guyana"
525
- msgstr ""
526
-
527
- #: ../includes/settings.php:212
528
- msgid "Haiti"
529
- msgstr ""
530
-
531
- #: ../includes/settings.php:213
532
- msgid "Heard Island and McDonald Islands"
533
- msgstr ""
534
-
535
- #: ../includes/settings.php:214
536
- msgid "Honduras"
537
- msgstr ""
538
-
539
- #: ../includes/settings.php:215
540
- msgid "Hong Kong"
541
- msgstr ""
542
-
543
- #: ../includes/settings.php:216
544
- msgid "Hungary"
545
- msgstr ""
546
-
547
- #: ../includes/settings.php:217
548
- msgid "Iceland"
549
- msgstr ""
550
-
551
- #: ../includes/settings.php:218
552
- msgid "India"
553
- msgstr ""
554
-
555
- #: ../includes/settings.php:219
556
- msgid "Indonesia"
557
- msgstr ""
558
-
559
- #: ../includes/settings.php:220
560
- msgid "Iran"
561
- msgstr ""
562
-
563
- #: ../includes/settings.php:221
564
- msgid "Iraq"
565
- msgstr ""
566
-
567
- #: ../includes/settings.php:222
568
- msgid "Republic of Ireland"
569
- msgstr ""
570
-
571
- #: ../includes/settings.php:223
572
- msgid "Isle of Man"
573
- msgstr ""
574
-
575
- #: ../includes/settings.php:224
576
- msgid "Israel"
577
- msgstr ""
578
-
579
- #: ../includes/settings.php:225
580
- msgid "Italy"
581
- msgstr ""
582
-
583
- #: ../includes/settings.php:226
584
- msgid "Ivory Coast"
585
- msgstr ""
586
-
587
- #: ../includes/settings.php:227
588
- msgid "Jamaica"
589
- msgstr ""
590
-
591
- #: ../includes/settings.php:228
592
- msgid "Japan"
593
- msgstr ""
594
-
595
- #: ../includes/settings.php:229
596
- msgid "Jersey"
597
- msgstr ""
598
-
599
- #: ../includes/settings.php:230
600
- msgid "Jordan"
601
- msgstr ""
602
-
603
- #: ../includes/settings.php:231
604
- msgid "Kazakhstan"
605
- msgstr ""
606
-
607
- #: ../includes/settings.php:232
608
- msgid "Kenya"
609
- msgstr ""
610
-
611
- #: ../includes/settings.php:233
612
- msgid "Kiribati"
613
- msgstr ""
614
-
615
- #: ../includes/settings.php:234
616
- msgid "Kuwait"
617
- msgstr ""
618
-
619
- #: ../includes/settings.php:235
620
- msgid "Kyrgyzstan"
621
- msgstr ""
622
-
623
- #: ../includes/settings.php:236
624
- msgid "Laos"
625
- msgstr ""
626
-
627
- #: ../includes/settings.php:237
628
- msgid "Latvia"
629
- msgstr ""
630
-
631
- #: ../includes/settings.php:238
632
- msgid "Lebanon"
633
- msgstr ""
634
-
635
- #: ../includes/settings.php:239
636
- msgid "Lesotho"
637
- msgstr ""
638
-
639
- #: ../includes/settings.php:240
640
- msgid "Liberia"
641
- msgstr ""
642
-
643
- #: ../includes/settings.php:241
644
- msgid "Libya"
645
- msgstr ""
646
-
647
- #: ../includes/settings.php:242
648
- msgid "Liechtenstein"
649
- msgstr ""
650
-
651
- #: ../includes/settings.php:243
652
- msgid "Lithuania"
653
- msgstr ""
654
-
655
- #: ../includes/settings.php:244
656
- msgid "Luxembourg"
657
- msgstr ""
658
-
659
- #: ../includes/settings.php:245
660
- msgid "Macao S.A.R., China"
661
- msgstr ""
662
-
663
- #: ../includes/settings.php:246
664
- msgid "Macedonia"
665
- msgstr ""
666
-
667
- #: ../includes/settings.php:247
668
- msgid "Madagascar"
669
- msgstr ""
670
-
671
- #: ../includes/settings.php:248
672
- msgid "Malawi"
673
- msgstr ""
674
-
675
- #: ../includes/settings.php:249
676
- msgid "Malaysia"
677
- msgstr ""
678
-
679
- #: ../includes/settings.php:250
680
- msgid "Maldives"
681
- msgstr ""
682
-
683
- #: ../includes/settings.php:251
684
- msgid "Mali"
685
- msgstr ""
686
-
687
- #: ../includes/settings.php:252
688
- msgid "Malta"
689
- msgstr ""
690
-
691
- #: ../includes/settings.php:253
692
- msgid "Marshall Islands"
693
- msgstr ""
694
-
695
- #: ../includes/settings.php:254
696
- msgid "Martinique"
697
- msgstr ""
698
-
699
- #: ../includes/settings.php:255
700
- msgid "Mauritania"
701
- msgstr ""
702
-
703
- #: ../includes/settings.php:256
704
- msgid "Mauritius"
705
- msgstr ""
706
-
707
- #: ../includes/settings.php:257
708
- msgid "Mayotte"
709
- msgstr ""
710
-
711
- #: ../includes/settings.php:258
712
- msgid "Mexico"
713
- msgstr ""
714
-
715
- #: ../includes/settings.php:259
716
- msgid "Micronesia"
717
- msgstr ""
718
-
719
- #: ../includes/settings.php:260
720
- msgid "Moldova"
721
- msgstr ""
722
-
723
- #: ../includes/settings.php:261
724
- msgid "Monaco"
725
- msgstr ""
726
-
727
- #: ../includes/settings.php:262
728
- msgid "Mongolia"
729
- msgstr ""
730
-
731
- #: ../includes/settings.php:263
732
- msgid "Montenegro"
733
- msgstr ""
734
-
735
- #: ../includes/settings.php:264
736
- msgid "Montserrat"
737
- msgstr ""
738
-
739
- #: ../includes/settings.php:265
740
- msgid "Morocco"
741
- msgstr ""
742
-
743
- #: ../includes/settings.php:266
744
- msgid "Mozambique"
745
- msgstr ""
746
-
747
- #: ../includes/settings.php:267
748
- msgid "Myanmar"
749
- msgstr ""
750
-
751
- #: ../includes/settings.php:268
752
- msgid "Namibia"
753
- msgstr ""
754
-
755
- #: ../includes/settings.php:269
756
- msgid "Nauru"
757
- msgstr ""
758
-
759
- #: ../includes/settings.php:270
760
- msgid "Nepal"
761
- msgstr ""
762
-
763
- #: ../includes/settings.php:271
764
- msgid "Netherlands"
765
- msgstr ""
766
-
767
- #: ../includes/settings.php:272
768
- msgid "Netherlands Antilles"
769
- msgstr ""
770
-
771
- #: ../includes/settings.php:273
772
- msgid "New Caledonia"
773
- msgstr ""
774
-
775
- #: ../includes/settings.php:274
776
- msgid "New Zealand"
777
- msgstr ""
778
-
779
- #: ../includes/settings.php:275
780
- msgid "Nicaragua"
781
- msgstr ""
782
-
783
- #: ../includes/settings.php:276
784
- msgid "Niger"
785
- msgstr ""
786
-
787
- #: ../includes/settings.php:277
788
- msgid "Nigeria"
789
- msgstr ""
790
-
791
- #: ../includes/settings.php:278
792
- msgid "Niue"
793
- msgstr ""
794
-
795
- #: ../includes/settings.php:279
796
- msgid "Norfolk Island"
797
- msgstr ""
798
-
799
- #: ../includes/settings.php:280
800
- msgid "North Korea"
801
- msgstr ""
802
-
803
- #: ../includes/settings.php:281
804
- msgid "Norway"
805
- msgstr ""
806
-
807
- #: ../includes/settings.php:282
808
- msgid "Oman"
809
- msgstr ""
810
-
811
- #: ../includes/settings.php:283
812
- msgid "Pakistan"
813
- msgstr ""
814
-
815
- #: ../includes/settings.php:284
816
- msgid "Palestinian Territory"
817
- msgstr ""
818
-
819
- #: ../includes/settings.php:285
820
- msgid "Panama"
821
- msgstr ""
822
-
823
- #: ../includes/settings.php:286
824
- msgid "Papua New Guinea"
825
- msgstr ""
826
-
827
- #: ../includes/settings.php:287
828
- msgid "Paraguay"
829
- msgstr ""
830
-
831
- #: ../includes/settings.php:288
832
- msgid "Peru"
833
- msgstr ""
834
-
835
- #: ../includes/settings.php:289
836
- msgid "Philippines"
837
- msgstr ""
838
-
839
- #: ../includes/settings.php:290
840
- msgid "Pitcairn"
841
- msgstr ""
842
-
843
- #: ../includes/settings.php:291
844
- msgid "Poland"
845
- msgstr ""
846
-
847
- #: ../includes/settings.php:292
848
- msgid "Portugal"
849
- msgstr ""
850
-
851
- #: ../includes/settings.php:293
852
- msgid "Qatar"
853
- msgstr ""
854
-
855
- #: ../includes/settings.php:294
856
- msgid "Reunion"
857
- msgstr ""
858
-
859
- #: ../includes/settings.php:295
860
- msgid "Romania"
861
- msgstr ""
862
-
863
- #: ../includes/settings.php:296
864
- msgid "Russia"
865
- msgstr ""
866
-
867
- #: ../includes/settings.php:297
868
- msgid "Rwanda"
869
- msgstr ""
870
-
871
- #: ../includes/settings.php:298
872
- msgid "Saint Barth&eacute;lemy"
873
- msgstr ""
874
-
875
- #: ../includes/settings.php:299
876
- msgid "Saint Helena"
877
- msgstr ""
878
-
879
- #: ../includes/settings.php:300
880
- msgid "Saint Kitts and Nevis"
881
- msgstr ""
882
-
883
- #: ../includes/settings.php:301
884
- msgid "Saint Lucia"
885
- msgstr ""
886
-
887
- #: ../includes/settings.php:302
888
- msgid "Saint Martin (French part)"
889
- msgstr ""
890
-
891
- #: ../includes/settings.php:303
892
- msgid "Saint Martin (Dutch part)"
893
- msgstr ""
894
-
895
- #: ../includes/settings.php:304
896
- msgid "Saint Pierre and Miquelon"
897
- msgstr ""
898
-
899
- #: ../includes/settings.php:305
900
- msgid "Saint Vincent and the Grenadines"
901
- msgstr ""
902
-
903
- #: ../includes/settings.php:306
904
- msgid "San Marino"
905
- msgstr ""
906
-
907
- #: ../includes/settings.php:307
908
- msgid "S&atilde;o Tom&eacute; and Pr&iacute;ncipe"
909
- msgstr ""
910
-
911
- #: ../includes/settings.php:308
912
- msgid "Saudi Arabia"
913
- msgstr ""
914
-
915
- #: ../includes/settings.php:309
916
- msgid "Senegal"
917
- msgstr ""
918
-
919
- #: ../includes/settings.php:310
920
- msgid "Serbia"
921
- msgstr ""
922
-
923
- #: ../includes/settings.php:311
924
- msgid "Seychelles"
925
- msgstr ""
926
-
927
- #: ../includes/settings.php:312
928
- msgid "Sierra Leone"
929
- msgstr ""
930
-
931
- #: ../includes/settings.php:313
932
- msgid "Singapore"
933
- msgstr ""
934
-
935
- #: ../includes/settings.php:314
936
- msgid "Slovakia"
937
- msgstr ""
938
-
939
- #: ../includes/settings.php:315
940
- msgid "Slovenia"
941
- msgstr ""
942
-
943
- #: ../includes/settings.php:316
944
- msgid "Solomon Islands"
945
- msgstr ""
946
-
947
- #: ../includes/settings.php:317
948
- msgid "Somalia"
949
- msgstr ""
950
-
951
- #: ../includes/settings.php:318
952
- msgid "South Africa"
953
- msgstr ""
954
-
955
- #: ../includes/settings.php:319
956
- msgid "South Georgia/Sandwich Islands"
957
- msgstr ""
958
-
959
- #: ../includes/settings.php:320
960
- msgid "South Korea"
961
- msgstr ""
962
-
963
- #: ../includes/settings.php:321
964
- msgid "South Sudan"
965
- msgstr ""
966
-
967
- #: ../includes/settings.php:322
968
- msgid "Spain"
969
- msgstr ""
970
-
971
- #: ../includes/settings.php:323
972
- msgid "Sri Lanka"
973
- msgstr ""
974
-
975
- #: ../includes/settings.php:324
976
- msgid "Sudan"
977
- msgstr ""
978
-
979
- #: ../includes/settings.php:325
980
- msgid "Suriname"
981
- msgstr ""
982
-
983
- #: ../includes/settings.php:326
984
- msgid "Svalbard and Jan Mayen"
985
- msgstr ""
986
-
987
- #: ../includes/settings.php:327
988
- msgid "Swaziland"
989
- msgstr ""
990
-
991
- #: ../includes/settings.php:328
992
- msgid "Sweden"
993
- msgstr ""
994
-
995
- #: ../includes/settings.php:329
996
- msgid "Switzerland"
997
- msgstr ""
998
-
999
- #: ../includes/settings.php:330
1000
- msgid "Syria"
1001
- msgstr ""
1002
-
1003
- #: ../includes/settings.php:331
1004
- msgid "Taiwan"
1005
  msgstr ""
1006
 
1007
- #: ../includes/settings.php:332
1008
- msgid "Tajikistan"
1009
  msgstr ""
1010
 
1011
- #: ../includes/settings.php:333
1012
- msgid "Tanzania"
1013
  msgstr ""
1014
 
1015
- #: ../includes/settings.php:334
1016
- msgid "Thailand"
1017
  msgstr ""
1018
 
1019
- #: ../includes/settings.php:335
1020
- msgid "Timor-Leste"
1021
  msgstr ""
1022
 
1023
- #: ../includes/settings.php:336
1024
- msgid "Togo"
1025
  msgstr ""
1026
 
1027
- #: ../includes/settings.php:337
1028
- msgid "Tokelau"
1029
  msgstr ""
1030
 
1031
- #: ../includes/settings.php:338
1032
- msgid "Tonga"
1033
  msgstr ""
1034
 
1035
- #: ../includes/settings.php:339
1036
- msgid "Trinidad and Tobago"
1037
  msgstr ""
1038
 
1039
- #: ../includes/settings.php:340
1040
- msgid "Tunisia"
1041
  msgstr ""
1042
 
1043
- #: ../includes/settings.php:341
1044
- msgid "Turkey"
1045
  msgstr ""
1046
 
1047
- #: ../includes/settings.php:342
1048
- msgid "Turkmenistan"
1049
  msgstr ""
1050
 
1051
- #: ../includes/settings.php:343
1052
- msgid "Turks and Caicos Islands"
1053
  msgstr ""
1054
 
1055
- #: ../includes/settings.php:344
1056
- msgid "Tuvalu"
1057
  msgstr ""
1058
 
1059
- #: ../includes/settings.php:345
1060
- msgid "Uganda"
1061
  msgstr ""
1062
 
1063
- #: ../includes/settings.php:346
1064
- msgid "Ukraine"
1065
  msgstr ""
1066
 
1067
- #: ../includes/settings.php:347
1068
- msgid "United Arab Emirates"
1069
  msgstr ""
1070
 
1071
- #: ../includes/settings.php:348
1072
- msgid "United Kingdom"
1073
  msgstr ""
1074
 
1075
- #: ../includes/settings.php:349
1076
- msgid "United States"
1077
  msgstr ""
1078
 
1079
- #: ../includes/settings.php:350
1080
- msgid "Uruguay"
1081
  msgstr ""
1082
 
1083
- #: ../includes/settings.php:351
1084
- msgid "Uzbekistan"
1085
  msgstr ""
1086
 
1087
- #: ../includes/settings.php:352
1088
- msgid "Vanuatu"
1089
  msgstr ""
1090
 
1091
- #: ../includes/settings.php:353
1092
- msgid "Vatican"
1093
  msgstr ""
1094
 
1095
- #: ../includes/settings.php:354
1096
- msgid "Venezuela"
1097
  msgstr ""
1098
 
1099
- #: ../includes/settings.php:355
1100
- msgid "Vietnam"
1101
  msgstr ""
1102
 
1103
- #: ../includes/settings.php:356
1104
- msgid "Wallis and Futuna"
1105
  msgstr ""
1106
 
1107
- #: ../includes/settings.php:357
1108
- msgid "Western Sahara"
1109
  msgstr ""
1110
 
1111
- #: ../includes/settings.php:358
1112
- msgid "Western Samoa"
1113
  msgstr ""
1114
 
1115
- #: ../includes/settings.php:359
1116
- msgid "Yemen"
1117
  msgstr ""
1118
 
1119
- #: ../includes/settings.php:360
1120
- msgid "Zambia"
1121
  msgstr ""
1122
 
1123
- #: ../includes/settings.php:361
1124
- msgid "Zimbabwe"
1125
  msgstr ""
1126
 
1127
- #: ../includes/settings.php:365
1128
  msgid "We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it."
1129
  msgstr ""
1130
 
1131
- #: ../includes/settings.php:366
1132
  msgid "Ok"
1133
  msgstr ""
1134
 
1135
- #: ../includes/settings.php:367
1136
  msgid "No"
1137
  msgstr ""
1138
 
1139
- #: ../includes/settings.php:368
1140
  msgid "You can revoke your consent any time using the Revoke consent button."
1141
  msgstr ""
1142
 
1143
- #: ../includes/settings.php:369 ../includes/settings.php:490
1144
  msgid "Revoke consent"
1145
  msgstr ""
1146
 
1147
- #: ../includes/settings.php:370 ../includes/settings.php:488
1148
  msgid "Privacy policy"
1149
  msgstr ""
1150
 
1151
- #: ../includes/settings.php:416
1152
- msgid "Cookie Notice & Compliance for GDPR/CCPA"
1153
  msgstr ""
1154
 
1155
- #: ../includes/settings.php:425
1156
- msgid "Promote the privacy of your website visitors without affecting how you do your business."
 
 
 
 
1157
  msgstr ""
1158
 
1159
- #: ../includes/settings.php:427
1160
- msgid "Cookie Compliance&trade;"
1161
  msgstr ""
1162
 
1163
- #: ../includes/settings.php:428 ../includes/welcome.php:173
1164
  #: ../includes/welcome.php:206
1165
  msgid "The next generation of Cookie Notice"
1166
  msgstr ""
1167
 
1168
- #: ../includes/settings.php:430 ../includes/welcome.php:175
1169
  msgid "An all new web application to help you deliver better consent experiences and comply with GDPR and CCPA more effectively."
1170
  msgstr ""
1171
 
1172
- #: ../includes/settings.php:433
1173
  msgid "Upgrade"
1174
  msgstr ""
1175
 
1176
- #: ../includes/settings.php:449
1177
  msgid "Reset to defaults"
1178
  msgstr ""
1179
 
1180
- #: ../includes/settings.php:468 ../includes/settings.php:480
1181
- msgid "Cookie Compliance Settings"
1182
  msgstr ""
1183
 
1184
- #: ../includes/settings.php:469 ../includes/settings.php:481
1185
  msgid "Compliance status"
1186
  msgstr ""
1187
 
1188
- #: ../includes/settings.php:470 ../includes/settings.php:482
1189
  msgid "App ID"
1190
  msgstr ""
1191
 
1192
- #: ../includes/settings.php:471 ../includes/settings.php:483
1193
  msgid "App Key"
1194
  msgstr ""
1195
 
1196
- #: ../includes/settings.php:473
1197
  msgid "Miscellaneous Settings"
1198
  msgstr ""
1199
 
1200
- #: ../includes/settings.php:474
 
 
 
 
 
1201
  msgid "Cache"
1202
  msgstr ""
1203
 
1204
- #: ../includes/settings.php:475 ../includes/settings.php:497
1205
  msgid "Script placement"
1206
  msgstr ""
1207
 
1208
- #: ../includes/settings.php:476 ../includes/settings.php:498
1209
  msgid "Deactivation"
1210
  msgstr ""
1211
 
1212
- #: ../includes/settings.php:485
1213
- msgid "Cookie Notice Settings"
1214
  msgstr ""
1215
 
1216
- #: ../includes/settings.php:487
1217
  msgid "Button text"
1218
  msgstr ""
1219
 
1220
- #: ../includes/settings.php:489
1221
  msgid "Refuse consent"
1222
  msgstr ""
1223
 
1224
- #: ../includes/settings.php:491
1225
  msgid "Script blocking"
1226
  msgstr ""
1227
 
1228
- #: ../includes/settings.php:492
1229
  msgid "Reloading"
1230
  msgstr ""
1231
 
1232
- #: ../includes/settings.php:493
1233
  msgid "On scroll"
1234
  msgstr ""
1235
 
1236
- #: ../includes/settings.php:494
1237
  msgid "On click"
1238
  msgstr ""
1239
 
1240
- #: ../includes/settings.php:495
1241
  msgid "Accepted expiry"
1242
  msgstr ""
1243
 
1244
- #: ../includes/settings.php:496
1245
  msgid "Rejected expiry"
1246
  msgstr ""
1247
 
1248
- #: ../includes/settings.php:501
1249
- msgid "Cookie Notice Design"
1250
  msgstr ""
1251
 
1252
- #: ../includes/settings.php:502
1253
  msgid "Position"
1254
  msgstr ""
1255
 
1256
- #: ../includes/settings.php:503
1257
  msgid "Animation"
1258
  msgstr ""
1259
 
1260
- #: ../includes/settings.php:504
1261
  msgid "Button style"
1262
  msgstr ""
1263
 
1264
- #: ../includes/settings.php:505
1265
  msgid "Button class"
1266
  msgstr ""
1267
 
1268
- #: ../includes/settings.php:506
1269
  msgid "Colors"
1270
  msgstr ""
1271
 
1272
- #: ../includes/settings.php:528
 
 
 
 
 
 
 
1273
  msgid "Active"
1274
  msgstr ""
1275
 
1276
- #: ../includes/settings.php:531
 
 
 
 
 
 
 
 
 
 
1277
  msgid "Log in & Configure"
1278
  msgstr ""
1279
 
1280
- #: ../includes/settings.php:532
1281
  msgid "Log into the Cookie Compliance&trade; web application and configure your Privacy Experience."
1282
  msgstr ""
1283
 
1284
- #: ../includes/settings.php:540
 
1285
  msgid "Pending"
1286
  msgstr ""
1287
 
1288
- #: ../includes/settings.php:543
1289
  msgid "Log in & Complete setup"
1290
  msgstr ""
1291
 
1292
- #: ../includes/settings.php:544
1293
  msgid "Log into the Cookie Compliance&trade; web application and complete the setup process."
1294
  msgstr ""
1295
 
1296
- #: ../includes/settings.php:552
 
1297
  msgid "Inactive"
1298
  msgstr ""
1299
 
1300
- #: ../includes/settings.php:555
1301
  msgid "Add GDPR/CCPA Compliance"
1302
  msgstr ""
1303
 
1304
- #: ../includes/settings.php:556
1305
  msgid "Launch Cookie Compliance&trade; and add GDPR & CCPA compliance features."
1306
  msgstr ""
1307
 
1308
- #: ../includes/settings.php:571
1309
  msgid "Enter your Cooking Compliance&trade; application ID."
1310
  msgstr ""
1311
 
1312
- #: ../includes/settings.php:583
1313
  msgid "Enter your Cooking Compliance&trade; application secret key."
1314
  msgstr ""
1315
 
1316
- #: ../includes/settings.php:594
 
 
 
 
 
 
 
 
1317
  msgid "Purge Cache"
1318
  msgstr ""
1319
 
1320
- #: ../includes/settings.php:596
1321
  msgid "Click the Purge Cache button to refresh the app configuration."
1322
  msgstr ""
1323
 
1324
- #: ../includes/settings.php:607
1325
  msgid "Enter the cookie notice message."
1326
  msgstr ""
1327
 
1328
- #: ../includes/settings.php:618
1329
  msgid "The text of the option to accept the notice and make it disappear."
1330
  msgstr ""
1331
 
1332
- #: ../includes/settings.php:628
1333
  msgid "Enable to give to the user the possibility to refuse third party non functional cookies."
1334
  msgstr ""
1335
 
1336
- #: ../includes/settings.php:632
1337
  msgid "The text of the button to refuse the consent."
1338
  msgstr ""
1339
 
1340
- #: ../includes/settings.php:650
1341
  msgid "Head"
1342
  msgstr ""
1343
 
1344
- #: ../includes/settings.php:651
1345
  msgid "Body"
1346
  msgstr ""
1347
 
1348
- #: ../includes/settings.php:654
1349
  msgid "The code to be used in your site header, before the closing head tag."
1350
  msgstr ""
1351
 
1352
- #: ../includes/settings.php:658
1353
  msgid "The code to be used in your site footer, before the closing body tag."
1354
  msgstr ""
1355
 
1356
- #: ../includes/settings.php:662
1357
  msgid "Enter non functional cookies Javascript code here (for e.g. Google Analitycs) to be used after the notice is accepted."
1358
  msgstr ""
1359
 
1360
- #: ../includes/settings.php:662
1361
  msgid "To get the user consent status use the <code>cn_cookies_accepted()</code> function."
1362
  msgstr ""
1363
 
1364
- #: ../includes/settings.php:673
1365
  msgid "Enable to give to the user the possibility to revoke their consent <i>(requires \"Refuse consent\" option enabled)</i>."
1366
  msgstr ""
1367
 
1368
- #: ../includes/settings.php:676
1369
  msgid "Enter the revoke message."
1370
  msgstr ""
1371
 
1372
- #: ../includes/settings.php:678
1373
  msgid "The text of the button to revoke the consent."
1374
  msgstr ""
1375
 
1376
- #: ../includes/settings.php:686
1377
  msgid "Select the method for displaying the revoke button - automatic (in the banner) or manual using <code>[cookies_revoke]</code> shortcode."
1378
  msgstr ""
1379
 
1380
- #: ../includes/settings.php:697
1381
  msgid "Enable to reload the page after the notice is accepted."
1382
  msgstr ""
1383
 
1384
- #: ../includes/settings.php:720
1385
  msgid "Enable privacy policy link."
1386
  msgstr ""
1387
 
1388
- #: ../includes/settings.php:723
1389
  msgid "The text of the privacy policy button."
1390
  msgstr ""
1391
 
1392
- #: ../includes/settings.php:735
1393
  msgid "Select where to redirect user for more information."
1394
  msgstr ""
1395
 
1396
- #: ../includes/settings.php:738
1397
  msgid "-- select page --"
1398
  msgstr ""
1399
 
1400
- #: ../includes/settings.php:749
1401
  msgid "Select from one of your site's pages."
1402
  msgstr ""
1403
 
1404
- #: ../includes/settings.php:755
1405
  msgid "Synchronize with WordPress Privacy Policy page."
1406
  msgstr ""
1407
 
1408
- #: ../includes/settings.php:762
1409
  msgid "Enter the full URL starting with http(s)://"
1410
  msgstr ""
1411
 
1412
- #: ../includes/settings.php:805
1413
  msgid "The amount of time that the cookie should be stored for when user accepts the notice."
1414
  msgstr ""
1415
 
1416
- #: ../includes/settings.php:828
1417
  msgid "The amount of time that the cookie should be stored for when the user doesn't accept the notice."
1418
  msgstr ""
1419
 
1420
- #: ../includes/settings.php:846
1421
  msgid "Select where all the plugin scripts should be placed."
1422
  msgstr ""
1423
 
1424
- #: ../includes/settings.php:866
1425
  msgid "Select location for the notice."
1426
  msgstr ""
1427
 
1428
- #: ../includes/settings.php:887
1429
  msgid "Select the animation style."
1430
  msgstr ""
1431
 
1432
- #: ../includes/settings.php:898
1433
  msgid "Enable to accept the notice when user scrolls."
1434
  msgstr ""
1435
 
1436
- #: ../includes/settings.php:901
1437
  msgid "Number of pixels user has to scroll to accept the notice and make it disappear."
1438
  msgstr ""
1439
 
1440
- #: ../includes/settings.php:912
1441
  msgid "Enable to accept the notice on any click on the page."
1442
  msgstr ""
1443
 
1444
- #: ../includes/settings.php:922
1445
  msgid "Enable if you want all plugin data to be deleted on deactivation."
1446
  msgstr ""
1447
 
1448
- #: ../includes/settings.php:942
1449
  msgid "Select the buttons style."
1450
  msgstr ""
1451
 
1452
- #: ../includes/settings.php:955
1453
  msgid "Enter additional button CSS classes separated by spaces."
1454
  msgstr ""
1455
 
1456
- #: ../includes/settings.php:979
1457
  msgid "Bar opacity"
1458
  msgstr ""
1459
 
1460
- #: ../includes/settings.php:1121
 
 
 
 
1461
  msgid "Settings restored to defaults."
1462
  msgstr ""
1463
 
1464
- #: ../includes/settings.php:1148
1465
  msgid "Are you sure you want to reset these settings to defaults?"
1466
  msgstr ""
1467
 
@@ -1633,7 +693,7 @@ msgid "Compliance Live Demo"
1633
  msgstr ""
1634
 
1635
  #: ../includes/welcome.php:311
1636
- msgid "Simulate the upgraded Cookie Compliance&trade; design and compliance features through the options below. Click Save & Upgrade to create your Cookie Compliance&trade; account."
1637
  msgstr ""
1638
 
1639
  #: ../includes/welcome.php:315
@@ -1721,11 +781,11 @@ msgid "Add Compliance"
1721
  msgstr ""
1722
 
1723
  #: ../includes/welcome.php:401
1724
- msgid "Create an account to start using Cooking Compliance&trade; - The next generation of Cookie Notice."
1725
  msgstr ""
1726
 
1727
- #: ../includes/welcome.php:405 ../includes/welcome.php:505
1728
- msgid "Compliance Account"
1729
  msgstr ""
1730
 
1731
  #: ../includes/welcome.php:410 ../includes/welcome.php:510
@@ -1741,11 +801,8 @@ msgid "Confirm Password"
1741
  msgstr ""
1742
 
1743
  #: ../includes/welcome.php:420
1744
- msgid "I have read and agree to the"
1745
- msgstr ""
1746
-
1747
- #: ../includes/welcome.php:420
1748
- msgid "Terms of Service"
1749
  msgstr ""
1750
 
1751
  #: ../includes/welcome.php:424
@@ -1753,23 +810,40 @@ msgid "Sign Up"
1753
  msgstr ""
1754
 
1755
  #: ../includes/welcome.php:438
1756
- msgid "Already have an account? <a href=\"#\" class=\"cn-screen-button\" data-screen=\"login\">Sign in</a>"
1757
  msgstr ""
1758
 
1759
- #: ../includes/welcome.php:443 ../includes/welcome.php:535
1760
- msgid "Compliance Plan"
 
 
 
 
 
 
 
 
1761
  msgstr ""
1762
 
1763
  #: ../includes/welcome.php:449 ../includes/welcome.php:541
1764
  msgid "/mo"
1765
  msgstr ""
1766
 
 
 
 
 
1767
  #: ../includes/welcome.php:450 ../includes/welcome.php:542
1768
  msgid "/yr"
1769
  msgstr ""
1770
 
 
 
 
 
 
1771
  #: ../includes/welcome.php:454 ../includes/welcome.php:546
1772
- msgid "Payment Method"
1773
  msgstr ""
1774
 
1775
  #: ../includes/welcome.php:456 ../includes/welcome.php:548
@@ -1793,7 +867,7 @@ msgid "CVC/CVV"
1793
  msgstr ""
1794
 
1795
  #: ../includes/welcome.php:475 ../includes/welcome.php:567
1796
- msgid "Subscribe"
1797
  msgstr ""
1798
 
1799
  #: ../includes/welcome.php:499
@@ -1801,15 +875,23 @@ msgid "Compliance Sign in"
1801
  msgstr ""
1802
 
1803
  #: ../includes/welcome.php:501
1804
- msgid "Sign in to your existing Cooking Compliance&trade; account to upgrade this website."
1805
  msgstr ""
1806
 
1807
- #: ../includes/welcome.php:516
1808
- msgid "Sign in"
 
 
 
 
1809
  msgstr ""
1810
 
1811
  #: ../includes/welcome.php:530
1812
- msgid "Don't have an account yet? <a href=\"#\" class=\"cn-screen-button\" data-screen=\"register\">Sign up</a>"
 
 
 
 
1813
  msgstr ""
1814
 
1815
  #: ../includes/welcome.php:591
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Cookie Notice\n"
5
+ "POT-Creation-Date: 2021-02-04 14:45+0100\n"
6
  "PO-Revision-Date: 2015-03-24 11:30+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
+ #: ../cookie-notice.php:466
20
  msgid "Settings"
21
  msgstr ""
22
 
23
+ #: ../includes/settings.php:48 ../includes/welcome.php:360
24
+ msgid "Top"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  msgstr ""
26
 
27
+ #: ../includes/settings.php:49 ../includes/welcome.php:359
28
+ msgid "Bottom"
29
  msgstr ""
30
 
31
+ #: ../includes/settings.php:53 ../includes/settings.php:98
32
+ msgid "None"
33
  msgstr ""
34
 
35
+ #: ../includes/settings.php:54
36
+ msgid "Light"
37
  msgstr ""
38
 
39
+ #: ../includes/settings.php:55
40
+ msgid "Dark"
41
  msgstr ""
42
 
43
+ #: ../includes/settings.php:59
44
+ msgid "Automatic"
45
  msgstr ""
46
 
47
+ #: ../includes/settings.php:60
48
+ msgid "Manual"
49
  msgstr ""
50
 
51
+ #: ../includes/settings.php:64
52
+ msgid "Page link"
53
  msgstr ""
54
 
55
+ #: ../includes/settings.php:65
56
+ msgid "Custom link"
57
  msgstr ""
58
 
59
+ #: ../includes/settings.php:74
60
+ msgid "Banner"
61
  msgstr ""
62
 
63
+ #: ../includes/settings.php:75 ../includes/settings.php:490
64
+ msgid "Message"
65
  msgstr ""
66
 
67
+ #: ../includes/settings.php:79
68
+ msgid "Text color"
69
  msgstr ""
70
 
71
+ #: ../includes/settings.php:80
72
+ msgid "Bar color"
73
  msgstr ""
74
 
75
+ #: ../includes/settings.php:86
76
+ msgid "An hour"
77
  msgstr ""
78
 
79
+ #: ../includes/settings.php:87
80
+ msgid "1 day"
81
  msgstr ""
82
 
83
+ #: ../includes/settings.php:88
84
+ msgid "1 week"
85
  msgstr ""
86
 
87
+ #: ../includes/settings.php:89
88
+ msgid "1 month"
89
  msgstr ""
90
 
91
+ #: ../includes/settings.php:90
92
+ msgid "3 months"
93
  msgstr ""
94
 
95
+ #: ../includes/settings.php:91
96
+ msgid "6 months"
97
  msgstr ""
98
 
99
+ #: ../includes/settings.php:92
100
+ msgid "1 year"
101
  msgstr ""
102
 
103
+ #: ../includes/settings.php:93
104
+ msgid "infinity"
105
  msgstr ""
106
 
107
+ #: ../includes/settings.php:99
108
+ msgid "Fade"
109
  msgstr ""
110
 
111
+ #: ../includes/settings.php:100
112
+ msgid "Slide"
113
  msgstr ""
114
 
115
+ #: ../includes/settings.php:104
116
+ msgid "Header"
117
  msgstr ""
118
 
119
+ #: ../includes/settings.php:105
120
+ msgid "Footer"
121
  msgstr ""
122
 
123
+ #: ../includes/settings.php:109
124
+ msgid "Cookies are small files that are stored on your browser. We use cookies and similar technologies to ensure our website works properly."
125
  msgstr ""
126
 
127
+ #: ../includes/settings.php:110
128
+ msgid "Cookies are small files that are stored on your browser. We use cookies and similar technologies to ensure our website works properly, and to personalize your browsing experience."
129
  msgstr ""
130
 
131
+ #: ../includes/settings.php:111
132
+ msgid "Cookies are small files that are stored on your browser. We use cookies and similar technologies to ensure our website works properly, personalize your browsing experience, and analyze how you use our website. For these reasons, we may share your site usage data with our analytics partners."
133
  msgstr ""
134
 
135
+ #: ../includes/settings.php:112
136
+ msgid "Cookies are small files that are stored on your browser. We use cookies and similar technologies to ensure our website works properly, personalize your browsing experience, analyze how you use our website, and deliver relevant ads to you. For these reasons, we may share your site usage data with our social media, advertising and analytics partners."
137
  msgstr ""
138
 
139
+ #: ../includes/settings.php:115
140
+ msgid "You can choose whether or not you want to consent to our use of cookies through the options below."
141
  msgstr ""
142
 
143
+ #: ../includes/settings.php:116
144
+ msgid "You can choose whether or not you want to consent to our use of cookies through the options below. You can customise the use of cookies, and change your settings at any time."
145
  msgstr ""
146
 
147
+ #: ../includes/settings.php:369
148
  msgid "We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it."
149
  msgstr ""
150
 
151
+ #: ../includes/settings.php:370
152
  msgid "Ok"
153
  msgstr ""
154
 
155
+ #: ../includes/settings.php:371
156
  msgid "No"
157
  msgstr ""
158
 
159
+ #: ../includes/settings.php:372
160
  msgid "You can revoke your consent any time using the Revoke consent button."
161
  msgstr ""
162
 
163
+ #: ../includes/settings.php:373 ../includes/settings.php:494
164
  msgid "Revoke consent"
165
  msgstr ""
166
 
167
+ #: ../includes/settings.php:374 ../includes/settings.php:492
168
  msgid "Privacy policy"
169
  msgstr ""
170
 
171
+ #: ../includes/settings.php:409
172
+ msgid "Cookie Notice"
173
  msgstr ""
174
 
175
+ #: ../includes/settings.php:409
176
+ msgid "Cookies"
177
+ msgstr ""
178
+
179
+ #: ../includes/settings.php:420
180
+ msgid "Cookie Notice & Compliance for GDPR/CCPA"
181
  msgstr ""
182
 
183
+ #: ../includes/settings.php:429
184
+ msgid "Promote the privacy of your website visitors without affecting how you do your business."
185
  msgstr ""
186
 
187
+ #: ../includes/settings.php:432 ../includes/welcome.php:173
188
  #: ../includes/welcome.php:206
189
  msgid "The next generation of Cookie Notice"
190
  msgstr ""
191
 
192
+ #: ../includes/settings.php:434 ../includes/welcome.php:175
193
  msgid "An all new web application to help you deliver better consent experiences and comply with GDPR and CCPA more effectively."
194
  msgstr ""
195
 
196
+ #: ../includes/settings.php:437
197
  msgid "Upgrade"
198
  msgstr ""
199
 
200
+ #: ../includes/settings.php:453
201
  msgid "Reset to defaults"
202
  msgstr ""
203
 
204
+ #: ../includes/settings.php:471 ../includes/settings.php:484
205
+ msgid "Compliance Settings"
206
  msgstr ""
207
 
208
+ #: ../includes/settings.php:472 ../includes/settings.php:485
209
  msgid "Compliance status"
210
  msgstr ""
211
 
212
+ #: ../includes/settings.php:473 ../includes/settings.php:486
213
  msgid "App ID"
214
  msgstr ""
215
 
216
+ #: ../includes/settings.php:474 ../includes/settings.php:487
217
  msgid "App Key"
218
  msgstr ""
219
 
220
+ #: ../includes/settings.php:476
221
  msgid "Miscellaneous Settings"
222
  msgstr ""
223
 
224
+ #: ../includes/settings.php:477 ../includes/settings.php:533
225
+ #: ../includes/settings.php:548 ../includes/settings.php:563
226
+ msgid "Autoblocking"
227
+ msgstr ""
228
+
229
+ #: ../includes/settings.php:478
230
  msgid "Cache"
231
  msgstr ""
232
 
233
+ #: ../includes/settings.php:479 ../includes/settings.php:501
234
  msgid "Script placement"
235
  msgstr ""
236
 
237
+ #: ../includes/settings.php:480 ../includes/settings.php:502
238
  msgid "Deactivation"
239
  msgstr ""
240
 
241
+ #: ../includes/settings.php:489
242
+ msgid "Notice Settings"
243
  msgstr ""
244
 
245
+ #: ../includes/settings.php:491
246
  msgid "Button text"
247
  msgstr ""
248
 
249
+ #: ../includes/settings.php:493
250
  msgid "Refuse consent"
251
  msgstr ""
252
 
253
+ #: ../includes/settings.php:495
254
  msgid "Script blocking"
255
  msgstr ""
256
 
257
+ #: ../includes/settings.php:496
258
  msgid "Reloading"
259
  msgstr ""
260
 
261
+ #: ../includes/settings.php:497
262
  msgid "On scroll"
263
  msgstr ""
264
 
265
+ #: ../includes/settings.php:498
266
  msgid "On click"
267
  msgstr ""
268
 
269
+ #: ../includes/settings.php:499
270
  msgid "Accepted expiry"
271
  msgstr ""
272
 
273
+ #: ../includes/settings.php:500
274
  msgid "Rejected expiry"
275
  msgstr ""
276
 
277
+ #: ../includes/settings.php:505
278
+ msgid "Notice Design"
279
  msgstr ""
280
 
281
+ #: ../includes/settings.php:506
282
  msgid "Position"
283
  msgstr ""
284
 
285
+ #: ../includes/settings.php:507
286
  msgid "Animation"
287
  msgstr ""
288
 
289
+ #: ../includes/settings.php:508
290
  msgid "Button style"
291
  msgstr ""
292
 
293
+ #: ../includes/settings.php:509
294
  msgid "Button class"
295
  msgstr ""
296
 
297
+ #: ../includes/settings.php:510
298
  msgid "Colors"
299
  msgstr ""
300
 
301
+ #: ../includes/settings.php:532 ../includes/settings.php:547
302
+ #: ../includes/settings.php:562
303
+ msgid "Notice"
304
+ msgstr ""
305
+
306
+ #: ../includes/settings.php:532 ../includes/settings.php:533
307
+ #: ../includes/settings.php:534 ../includes/settings.php:535
308
+ #: ../includes/settings.php:547 ../includes/settings.php:562
309
  msgid "Active"
310
  msgstr ""
311
 
312
+ #: ../includes/settings.php:534 ../includes/settings.php:549
313
+ #: ../includes/settings.php:564
314
+ msgid "Cookie Categories"
315
+ msgstr ""
316
+
317
+ #: ../includes/settings.php:535 ../includes/settings.php:550
318
+ #: ../includes/settings.php:565
319
+ msgid "Proof-of-Consent"
320
+ msgstr ""
321
+
322
+ #: ../includes/settings.php:538
323
  msgid "Log in & Configure"
324
  msgstr ""
325
 
326
+ #: ../includes/settings.php:539
327
  msgid "Log into the Cookie Compliance&trade; web application and configure your Privacy Experience."
328
  msgstr ""
329
 
330
+ #: ../includes/settings.php:548 ../includes/settings.php:549
331
+ #: ../includes/settings.php:550
332
  msgid "Pending"
333
  msgstr ""
334
 
335
+ #: ../includes/settings.php:553
336
  msgid "Log in & Complete setup"
337
  msgstr ""
338
 
339
+ #: ../includes/settings.php:554
340
  msgid "Log into the Cookie Compliance&trade; web application and complete the setup process."
341
  msgstr ""
342
 
343
+ #: ../includes/settings.php:563 ../includes/settings.php:564
344
+ #: ../includes/settings.php:565
345
  msgid "Inactive"
346
  msgstr ""
347
 
348
+ #: ../includes/settings.php:568
349
  msgid "Add GDPR/CCPA Compliance"
350
  msgstr ""
351
 
352
+ #: ../includes/settings.php:569
353
  msgid "Launch Cookie Compliance&trade; and add GDPR & CCPA compliance features."
354
  msgstr ""
355
 
356
+ #: ../includes/settings.php:584
357
  msgid "Enter your Cooking Compliance&trade; application ID."
358
  msgstr ""
359
 
360
+ #: ../includes/settings.php:596
361
  msgid "Enter your Cooking Compliance&trade; application secret key."
362
  msgstr ""
363
 
364
+ #: ../includes/settings.php:606
365
+ msgid "Enable to automatically block 3rd party scripts before user consent."
366
+ msgstr ""
367
+
368
+ #: ../includes/settings.php:607
369
+ msgid "In case you're experiencing issues with your site disable that feature temporarily."
370
+ msgstr ""
371
+
372
+ #: ../includes/settings.php:618
373
  msgid "Purge Cache"
374
  msgstr ""
375
 
376
+ #: ../includes/settings.php:620
377
  msgid "Click the Purge Cache button to refresh the app configuration."
378
  msgstr ""
379
 
380
+ #: ../includes/settings.php:631
381
  msgid "Enter the cookie notice message."
382
  msgstr ""
383
 
384
+ #: ../includes/settings.php:642
385
  msgid "The text of the option to accept the notice and make it disappear."
386
  msgstr ""
387
 
388
+ #: ../includes/settings.php:652
389
  msgid "Enable to give to the user the possibility to refuse third party non functional cookies."
390
  msgstr ""
391
 
392
+ #: ../includes/settings.php:656
393
  msgid "The text of the button to refuse the consent."
394
  msgstr ""
395
 
396
+ #: ../includes/settings.php:674
397
  msgid "Head"
398
  msgstr ""
399
 
400
+ #: ../includes/settings.php:675
401
  msgid "Body"
402
  msgstr ""
403
 
404
+ #: ../includes/settings.php:678
405
  msgid "The code to be used in your site header, before the closing head tag."
406
  msgstr ""
407
 
408
+ #: ../includes/settings.php:682
409
  msgid "The code to be used in your site footer, before the closing body tag."
410
  msgstr ""
411
 
412
+ #: ../includes/settings.php:686
413
  msgid "Enter non functional cookies Javascript code here (for e.g. Google Analitycs) to be used after the notice is accepted."
414
  msgstr ""
415
 
416
+ #: ../includes/settings.php:686
417
  msgid "To get the user consent status use the <code>cn_cookies_accepted()</code> function."
418
  msgstr ""
419
 
420
+ #: ../includes/settings.php:697
421
  msgid "Enable to give to the user the possibility to revoke their consent <i>(requires \"Refuse consent\" option enabled)</i>."
422
  msgstr ""
423
 
424
+ #: ../includes/settings.php:700
425
  msgid "Enter the revoke message."
426
  msgstr ""
427
 
428
+ #: ../includes/settings.php:702
429
  msgid "The text of the button to revoke the consent."
430
  msgstr ""
431
 
432
+ #: ../includes/settings.php:710
433
  msgid "Select the method for displaying the revoke button - automatic (in the banner) or manual using <code>[cookies_revoke]</code> shortcode."
434
  msgstr ""
435
 
436
+ #: ../includes/settings.php:721
437
  msgid "Enable to reload the page after the notice is accepted."
438
  msgstr ""
439
 
440
+ #: ../includes/settings.php:744
441
  msgid "Enable privacy policy link."
442
  msgstr ""
443
 
444
+ #: ../includes/settings.php:747
445
  msgid "The text of the privacy policy button."
446
  msgstr ""
447
 
448
+ #: ../includes/settings.php:759
449
  msgid "Select where to redirect user for more information."
450
  msgstr ""
451
 
452
+ #: ../includes/settings.php:762
453
  msgid "-- select page --"
454
  msgstr ""
455
 
456
+ #: ../includes/settings.php:773
457
  msgid "Select from one of your site's pages."
458
  msgstr ""
459
 
460
+ #: ../includes/settings.php:779
461
  msgid "Synchronize with WordPress Privacy Policy page."
462
  msgstr ""
463
 
464
+ #: ../includes/settings.php:786
465
  msgid "Enter the full URL starting with http(s)://"
466
  msgstr ""
467
 
468
+ #: ../includes/settings.php:829
469
  msgid "The amount of time that the cookie should be stored for when user accepts the notice."
470
  msgstr ""
471
 
472
+ #: ../includes/settings.php:852
473
  msgid "The amount of time that the cookie should be stored for when the user doesn't accept the notice."
474
  msgstr ""
475
 
476
+ #: ../includes/settings.php:870
477
  msgid "Select where all the plugin scripts should be placed."
478
  msgstr ""
479
 
480
+ #: ../includes/settings.php:890
481
  msgid "Select location for the notice."
482
  msgstr ""
483
 
484
+ #: ../includes/settings.php:911
485
  msgid "Select the animation style."
486
  msgstr ""
487
 
488
+ #: ../includes/settings.php:922
489
  msgid "Enable to accept the notice when user scrolls."
490
  msgstr ""
491
 
492
+ #: ../includes/settings.php:925
493
  msgid "Number of pixels user has to scroll to accept the notice and make it disappear."
494
  msgstr ""
495
 
496
+ #: ../includes/settings.php:936
497
  msgid "Enable to accept the notice on any click on the page."
498
  msgstr ""
499
 
500
+ #: ../includes/settings.php:946
501
  msgid "Enable if you want all plugin data to be deleted on deactivation."
502
  msgstr ""
503
 
504
+ #: ../includes/settings.php:966
505
  msgid "Select the buttons style."
506
  msgstr ""
507
 
508
+ #: ../includes/settings.php:979
509
  msgid "Enter additional button CSS classes separated by spaces."
510
  msgstr ""
511
 
512
+ #: ../includes/settings.php:1003
513
  msgid "Bar opacity"
514
  msgstr ""
515
 
516
+ #: ../includes/settings.php:1144
517
+ msgid "Settings saved."
518
+ msgstr ""
519
+
520
+ #: ../includes/settings.php:1151
521
  msgid "Settings restored to defaults."
522
  msgstr ""
523
 
524
+ #: ../includes/settings.php:1178
525
  msgid "Are you sure you want to reset these settings to defaults?"
526
  msgstr ""
527
 
693
  msgstr ""
694
 
695
  #: ../includes/welcome.php:311
696
+ msgid "Simulate the upgraded Cookie Compliance&trade; design and compliance features through the options below. Click Add Copmliance to save the configuration and go to creating your Cookie Compliance&trade; account."
697
  msgstr ""
698
 
699
  #: ../includes/welcome.php:315
781
  msgstr ""
782
 
783
  #: ../includes/welcome.php:401
784
+ msgid "To start using The Next Generation of Cookie Notice create a Cooking Compliance&trade; account. Then you will be asked to select plan and authorize your subscription."
785
  msgstr ""
786
 
787
+ #: ../includes/welcome.php:405
788
+ msgid "Create Account"
789
  msgstr ""
790
 
791
  #: ../includes/welcome.php:410 ../includes/welcome.php:510
801
  msgstr ""
802
 
803
  #: ../includes/welcome.php:420
804
+ #, php-format
805
+ msgid "I have read and agree to the <a href=\"%s\" target=\"_blank\">Terms of Service"
 
 
 
806
  msgstr ""
807
 
808
  #: ../includes/welcome.php:424
810
  msgstr ""
811
 
812
  #: ../includes/welcome.php:438
813
+ msgid "Already have an account?"
814
  msgstr ""
815
 
816
+ #: ../includes/welcome.php:438 ../includes/welcome.php:516
817
+ msgid "Sign in"
818
+ msgstr ""
819
+
820
+ #: ../includes/welcome.php:443
821
+ msgid "Account Plan"
822
+ msgstr ""
823
+
824
+ #: ../includes/welcome.php:449 ../includes/welcome.php:541
825
+ msgid "<b>14 days</b> Free Trial"
826
  msgstr ""
827
 
828
  #: ../includes/welcome.php:449 ../includes/welcome.php:541
829
  msgid "/mo"
830
  msgstr ""
831
 
832
+ #: ../includes/welcome.php:450 ../includes/welcome.php:542
833
+ msgid "<b>30 days</b> Free Trial"
834
+ msgstr ""
835
+
836
  #: ../includes/welcome.php:450 ../includes/welcome.php:542
837
  msgid "/yr"
838
  msgstr ""
839
 
840
+ #: ../includes/welcome.php:450
841
+ #, php-format
842
+ msgid "15% off"
843
+ msgstr ""
844
+
845
  #: ../includes/welcome.php:454 ../includes/welcome.php:546
846
+ msgid "Subscription Method"
847
  msgstr ""
848
 
849
  #: ../includes/welcome.php:456 ../includes/welcome.php:548
867
  msgstr ""
868
 
869
  #: ../includes/welcome.php:475 ../includes/welcome.php:567
870
+ msgid "Start Free Trial"
871
  msgstr ""
872
 
873
  #: ../includes/welcome.php:499
875
  msgstr ""
876
 
877
  #: ../includes/welcome.php:501
878
+ msgid "Sign in to your existing Cooking Compliance&trade; account to continue upgrading of this website."
879
  msgstr ""
880
 
881
+ #: ../includes/welcome.php:505
882
+ msgid "Account Login"
883
+ msgstr ""
884
+
885
+ #: ../includes/welcome.php:530
886
+ msgid "Don't have an account yet?"
887
  msgstr ""
888
 
889
  #: ../includes/welcome.php:530
890
+ msgid "Sign up"
891
+ msgstr ""
892
+
893
+ #: ../includes/welcome.php:535
894
+ msgid "Compliance Plan"
895
  msgstr ""
896
 
897
  #: ../includes/welcome.php:591
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: humanityco
3
  Tags: gdpr, ccpa, cookies, consent, compliance
4
  Requires at least: 4.3
5
  Requires PHP: 5.3
6
- Tested up to: 5.6
7
- Stable tag: 2.0.0
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -58,6 +58,11 @@ No questions yet.
58
 
59
  == Changelog ==
60
 
 
 
 
 
 
61
  = 2.0.0 =
62
  * New: Introducing Cookie Compliance for GDPR/CCPA
63
 
@@ -298,5 +303,7 @@ Initial release
298
 
299
  == Upgrade Notice ==
300
 
301
- = 2.0.0 =
302
- * New: Introducing Cookie Compliance for GDPR/CCPA
 
 
3
  Tags: gdpr, ccpa, cookies, consent, compliance
4
  Requires at least: 4.3
5
  Requires PHP: 5.3
6
+ Tested up to: 5.6.1
7
+ Stable tag: 2.0.1
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
58
 
59
  == Changelog ==
60
 
61
+ = 2.0.1 =
62
+ * Fix: Pending Compliance update blocking the notice
63
+ * Fix: PHP Warning: Cannot modify header information
64
+ * Tweak: UI/UX fixes for the settings screen
65
+
66
  = 2.0.0 =
67
  * New: Introducing Cookie Compliance for GDPR/CCPA
68
 
303
 
304
  == Upgrade Notice ==
305
 
306
+ = 2.0.1 =
307
+ * Fix: Pending Compliance update blocking the notice
308
+ * Fix: PHP Warning: Cannot modify header information
309
+ * Tweak: UI/UX fixes for the settings screen