Cookie Law / GDPR Info - Version 1.6.10

Version Description

  • Bug: submenu sorting issue for non administrator accounts
  • Bug: Flashing the cookie bar on page load.
Download this release

Release Info

Developer webtoffee
Plugin Icon Cookie Law / GDPR Info
Version 1.6.10
Comparing to
See all releases

Code changes from version 1.6.8 to 1.6.10

README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === GDPR Cookie Consent ===
2
- Contributors: webtoffee,markwt
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: eu cookie law, GDPR, cookie law, cookie consent, eu privacy directive, privacy directive, cookies, privacy, compliance
5
  Requires at least: 3.3.1
6
  Tested up to: 4.9.8
7
- Stable tag: 1.6.8
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -174,6 +174,17 @@ See http://cookielawinfo.com for more information on what is required.
174
  == Changelog ==
175
 
176
 
 
 
 
 
 
 
 
 
 
 
 
177
  = 1.6.8 =
178
 
179
  * Corrected German translations (thanks to Max B)
@@ -325,7 +336,7 @@ See http://cookielawinfo.com for more information on what is required.
325
 
326
  == Upgrade Notice ==
327
 
328
- = 1.6.8 =
329
- * Corrected German translations (thanks to Max B)
330
- * Bug in 'Show cookie bar on selected pages' Filter fixed
331
- * W3TC page cache compatibility added
1
  === GDPR Cookie Consent ===
2
+ Contributors: webtoffee, markwt
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: eu cookie law, GDPR, cookie law, cookie consent, eu privacy directive, privacy directive, cookies, privacy, compliance
5
  Requires at least: 3.3.1
6
  Tested up to: 4.9.8
7
+ Stable tag: 1.6.10
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
174
  == Changelog ==
175
 
176
 
177
+ = 1.6.10 =
178
+
179
+ * Bug: submenu sorting issue for non administrator accounts
180
+ * Bug: Flashing the cookie bar on page load.
181
+
182
+ = 1.6.9 =
183
+
184
+ * New enclosing shortcode added for better control of third party content. [cookie_after_accept]..content goes here..[/cookie_after_accept]
185
+ * Basic support included for Litespeed cache, WP Super Cache, Site ground cache, Endurance Cache, WP Fastest Cache.
186
+ * Option to choose from the built-in pages for 'Read More' link.
187
+
188
  = 1.6.8 =
189
 
190
  * Corrected German translations (thanks to Max B)
336
 
337
  == Upgrade Notice ==
338
 
339
+ = 1.6.10 =
340
+
341
+ * Bug: submenu sorting issue for non administrator accounts
342
+ * Bug: Flashing the cookie bar on page load.
admin/class-cookie-law-info-admin.php CHANGED
@@ -4,7 +4,7 @@
4
  * The admin-specific functionality of the plugin.
5
  *
6
  * @link http://cookielawinfo.com/
7
- * @since 1.6.8
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/admin
@@ -25,7 +25,7 @@ class Cookie_Law_Info_Admin {
25
  /**
26
  * The ID of this plugin.
27
  *
28
- * @since 1.6.8
29
  * @access private
30
  * @var string $plugin_name The ID of this plugin.
31
  */
@@ -34,7 +34,7 @@ class Cookie_Law_Info_Admin {
34
  /**
35
  * The version of this plugin.
36
  *
37
- * @since 1.6.8
38
  * @access private
39
  * @var string $version The current version of this plugin.
40
  */
@@ -53,7 +53,7 @@ class Cookie_Law_Info_Admin {
53
  /**
54
  * Initialize the class and set its properties.
55
  *
56
- * @since 1.6.8
57
  * @param string $plugin_name The name of this plugin.
58
  * @param string $version The version of this plugin.
59
  */
@@ -67,7 +67,7 @@ class Cookie_Law_Info_Admin {
67
  /**
68
  * Register the stylesheets for the admin area.
69
  *
70
- * @since 1.6.8
71
  */
72
  public function enqueue_styles() {
73
 
@@ -90,7 +90,7 @@ class Cookie_Law_Info_Admin {
90
  /**
91
  * Register the JavaScript for the admin area.
92
  *
93
- * @since 1.6.8
94
  */
95
  public function enqueue_scripts() {
96
 
@@ -136,6 +136,7 @@ class Cookie_Law_Info_Admin {
136
  Hooked into admin_menu
137
  */
138
  public function admin_menu() {
 
139
  add_submenu_page(
140
  'edit.php?post_type='.CLI_POST_TYPE,
141
  __('Cookie Law Settings','cookie-law-info'),
@@ -152,6 +153,24 @@ class Cookie_Law_Info_Admin {
152
  'cookie-law-info-thirdparty',
153
  array($this,'admin_non_necessary_cookie_page')
154
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  }
156
 
157
  public function plugin_action_links( $links )
@@ -235,6 +254,10 @@ class Cookie_Law_Info_Admin {
235
  {
236
  // Check nonce:
237
  check_admin_referer('cookielawinfo-update-' . CLI_SETTINGS_FIELD);
 
 
 
 
238
  foreach($the_options as $key => $value)
239
  {
240
  if(isset($_POST[$key . '_field']))
@@ -408,7 +431,10 @@ class Cookie_Law_Info_Admin {
408
  function remove_cli_addnew_link()
409
  {
410
  global $submenu;
411
- unset($submenu['edit.php?post_type='.CLI_POST_TYPE][10]);
 
 
 
412
  }
413
 
414
 
4
  * The admin-specific functionality of the plugin.
5
  *
6
  * @link http://cookielawinfo.com/
7
+ * @since 1.6.6
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/admin
25
  /**
26
  * The ID of this plugin.
27
  *
28
+ * @since 1.6.6
29
  * @access private
30
  * @var string $plugin_name The ID of this plugin.
31
  */
34
  /**
35
  * The version of this plugin.
36
  *
37
+ * @since 1.6.6
38
  * @access private
39
  * @var string $version The current version of this plugin.
40
  */
53
  /**
54
  * Initialize the class and set its properties.
55
  *
56
+ * @since 1.6.6
57
  * @param string $plugin_name The name of this plugin.
58
  * @param string $version The version of this plugin.
59
  */
67
  /**
68
  * Register the stylesheets for the admin area.
69
  *
70
+ * @since 1.6.6
71
  */
72
  public function enqueue_styles() {
73
 
90
  /**
91
  * Register the JavaScript for the admin area.
92
  *
93
+ * @since 1.6.6
94
  */
95
  public function enqueue_scripts() {
96
 
136
  Hooked into admin_menu
137
  */
138
  public function admin_menu() {
139
+ global $submenu;
140
  add_submenu_page(
141
  'edit.php?post_type='.CLI_POST_TYPE,
142
  __('Cookie Law Settings','cookie-law-info'),
153
  'cookie-law-info-thirdparty',
154
  array($this,'admin_non_necessary_cookie_page')
155
  );
156
+ //rearrange settings menu
157
+ if(isset($submenu) && !empty($submenu) && is_array($submenu))
158
+ {
159
+ $out=array();
160
+ $back_up_settings_menu=array();
161
+ foreach ($submenu['edit.php?post_type='.CLI_POST_TYPE] as $key => $value)
162
+ {
163
+ if($value[2]=='cookie-law-info')
164
+ {
165
+ $back_up_settings_menu=$value;
166
+ }else
167
+ {
168
+ $out[$key]=$value;
169
+ }
170
+ }
171
+ array_unshift($out,$back_up_settings_menu);
172
+ $submenu['edit.php?post_type='.CLI_POST_TYPE]=$out;
173
+ }
174
  }
175
 
176
  public function plugin_action_links( $links )
254
  {
255
  // Check nonce:
256
  check_admin_referer('cookielawinfo-update-' . CLI_SETTINGS_FIELD);
257
+
258
+ //module settings saving hook
259
+ do_action('cli_module_save_settings');
260
+
261
  foreach($the_options as $key => $value)
262
  {
263
  if(isset($_POST[$key . '_field']))
431
  function remove_cli_addnew_link()
432
  {
433
  global $submenu;
434
+ if(isset($submenu) && !empty($submenu) && is_array($submenu))
435
+ {
436
+ unset($submenu['edit.php?post_type='.CLI_POST_TYPE][10]);
437
+ }
438
  }
439
 
440
 
admin/css/cookie-law-info-admin.css CHANGED
@@ -233,7 +233,7 @@ table.wc_emails .wc-email-settings-table-status .tips,table.cli_script_items .wc
233
  .cli-input-toggle.cli-input-toggle--loading{
234
  opacity:.5
235
  }
236
- .cookie-law-info-tab-head{ margin-right:20px;}
237
  .cookie-law-info-tab-container{
238
  padding:15px;
239
  background: #fff; box-shadow:0px 2px 2px #ccc; float: left; box-sizing:border-box; width:100%; height:auto;
233
  .cli-input-toggle.cli-input-toggle--loading{
234
  opacity:.5
235
  }
236
+ .cookie-law-info-tab-head{ margin-right:0px;}
237
  .cookie-law-info-tab-container{
238
  padding:15px;
239
  background: #fff; box-shadow:0px 2px 2px #ccc; float: left; box-sizing:border-box; width:100%; height:auto;
admin/js/cookie-law-info-admin.js CHANGED
@@ -210,6 +210,13 @@
210
  }).show().find('th label').css({'margin-left':'0px'}).animate({'margin-left':'15px'});
211
  }
212
  }
 
 
 
 
 
 
 
213
  var cli_notify_msg=
214
  {
215
  error:function(message)
210
  }).show().find('th label').css({'margin-left':'0px'}).animate({'margin-left':'15px'});
211
  }
212
  }
213
+ $('#button_2_page_field').on('change',function(){
214
+ if($('.cli_privacy_page_not_exists_er').length>0)
215
+ {
216
+ $('.cli_privacy_page_not_exists_er').remove();
217
+ }
218
+ });
219
+
220
  var cli_notify_msg=
221
  {
222
  error:function(message)
admin/partials/cookie-law-info-admin_settings.php CHANGED
@@ -7,6 +7,19 @@ $cli_admin_view_path=plugin_dir_path(CLI_PLUGIN_FILENAME).'admin/views/';
7
  $cli_img_path=CLI_PLUGIN_URL . 'images/';
8
  $plugin_name = 'wtgdprcookieconsent';
9
  $cli_activation_status=get_option($plugin_name.'_activation_status');
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ?>
11
  <script type="text/javascript">
12
  var cli_settings_success_message='<?php echo __('Settings updated.', 'cookie-law-info');?>';
@@ -39,13 +52,29 @@ $cli_activation_status=get_option($plugin_name.'_activation_status');
39
 
40
  <div class="cli_settings_left">
41
  <div class="nav-tab-wrapper wp-clearfix cookie-law-info-tab-head">
42
- <a class="nav-tab" href="#cookie-law-info-general"><?php _e('General', 'cookie-law-info'); ?></a>
43
- <a class="nav-tab" href="#cookie-law-info-message-bar"><?php _e('Customise Cookie Bar', 'cookie-law-info'); ?></a>
44
- <a class="nav-tab" href="#cookie-law-info-buttons"><?php _e('Customise Buttons', 'cookie-law-info'); ?></a>
45
- <a class="nav-tab" href="#cookie-law-info-advanced"><?php _e('Advanced', 'cookie-law-info'); ?></a>
46
- <a class="nav-tab" href="#cookie-law-info-help"><?php _e('Help Guide', 'cookie-law-info'); ?></a>
 
 
 
 
 
47
  </div>
48
  <div class="cookie-law-info-tab-container">
 
 
 
 
 
 
 
 
 
 
 
49
  <form method="post" action="<?php echo esc_url($_SERVER["REQUEST_URI"]);?>" id="cli_settings_form">
50
  <input type="hidden" name="cli_update_action" value="" id="cli_update_action" />
51
  <?php
@@ -54,16 +83,7 @@ $cli_activation_status=get_option($plugin_name.'_activation_status');
54
  {
55
  wp_nonce_field('cookielawinfo-update-' . CLI_SETTINGS_FIELD);
56
  }
57
- $setting_views_a=array(
58
- 'admin-settings-general.php',
59
- 'admin-settings-messagebar.php',
60
- 'admin-settings-buttons.php',
61
- 'admin-settings-advanced.php',
62
- );
63
- $setting_views_b=array(
64
- 'admin-settings-help.php',
65
- );
66
- foreach ($setting_views_a as $value)
67
  {
68
  $settings_view=$cli_admin_view_path.$value;
69
  if(file_exists($settings_view))
@@ -71,10 +91,13 @@ $cli_activation_status=get_option($plugin_name.'_activation_status');
71
  include $settings_view;
72
  }
73
  }
74
- ?>
 
 
 
75
  </form>
76
  <?php
77
- foreach ($setting_views_b as $value)
78
  {
79
  $settings_view=$cli_admin_view_path.$value;
80
  if(file_exists($settings_view))
@@ -83,6 +106,7 @@ $cli_activation_status=get_option($plugin_name.'_activation_status');
83
  }
84
  }
85
  ?>
 
86
  </div>
87
  </div>
88
  <div class="cli_settings_right">
7
  $cli_img_path=CLI_PLUGIN_URL . 'images/';
8
  $plugin_name = 'wtgdprcookieconsent';
9
  $cli_activation_status=get_option($plugin_name.'_activation_status');
10
+
11
+ //taking pages for privacy policy URL.
12
+ $args_for_get_pages=array(
13
+ 'sort_order' => 'ASC',
14
+ 'sort_column' => 'post_title',
15
+ 'hierarchical' => 0,
16
+ 'child_of' => 0,
17
+ 'parent' => -1,
18
+ 'offset' => 0,
19
+ 'post_type' => 'page',
20
+ 'post_status' => 'publish'
21
+ );
22
+ $all_pages=get_pages($args_for_get_pages);
23
  ?>
24
  <script type="text/javascript">
25
  var cli_settings_success_message='<?php echo __('Settings updated.', 'cookie-law-info');?>';
52
 
53
  <div class="cli_settings_left">
54
  <div class="nav-tab-wrapper wp-clearfix cookie-law-info-tab-head">
55
+ <?php
56
+ $tab_head_arr=array(
57
+ 'cookie-law-info-general'=>'General',
58
+ 'cookie-law-info-message-bar'=>'Customise Cookie Bar',
59
+ 'cookie-law-info-buttons'=>'Customise Buttons',
60
+ 'cookie-law-info-advanced'=>'Advanced',
61
+ 'cookie-law-info-help'=>'Help Guide'
62
+ );
63
+ Cookie_Law_Info::generate_settings_tabhead($tab_head_arr);
64
+ ?>
65
  </div>
66
  <div class="cookie-law-info-tab-container">
67
+ <?php
68
+ $setting_views_a=array(
69
+ 'cookie-law-info-general'=>'admin-settings-general.php',
70
+ 'cookie-law-info-message-bar'=>'admin-settings-messagebar.php',
71
+ 'cookie-law-info-buttons'=>'admin-settings-buttons.php',
72
+ 'cookie-law-info-advanced'=>'admin-settings-advanced.php',
73
+ );
74
+ $setting_views_b=array(
75
+ 'cookie-law-info-help'=>'admin-settings-help.php',
76
+ );
77
+ ?>
78
  <form method="post" action="<?php echo esc_url($_SERVER["REQUEST_URI"]);?>" id="cli_settings_form">
79
  <input type="hidden" name="cli_update_action" value="" id="cli_update_action" />
80
  <?php
83
  {
84
  wp_nonce_field('cookielawinfo-update-' . CLI_SETTINGS_FIELD);
85
  }
86
+ foreach ($setting_views_a as $target_id=>$value)
 
 
 
 
 
 
 
 
 
87
  {
88
  $settings_view=$cli_admin_view_path.$value;
89
  if(file_exists($settings_view))
91
  include $settings_view;
92
  }
93
  }
94
+ ?>
95
+ <?php
96
+ //settings form fields for module
97
+ do_action('cli_module_settings_form');?>
98
  </form>
99
  <?php
100
+ foreach ($setting_views_b as $target_id=>$value)
101
  {
102
  $settings_view=$cli_admin_view_path.$value;
103
  if(file_exists($settings_view))
106
  }
107
  }
108
  ?>
109
+ <?php do_action('cli_module_out_settings_form');?>
110
  </div>
111
  </div>
112
  <div class="cli_settings_right">
admin/views/admin-settings-advanced.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'WPINC' ) ) {
4
  die;
5
  }
6
  ?>
7
- <div class="cookie-law-info-tab-content" data-id="cookie-law-info-advanced">
8
  <h3>Advanced</h3>
9
  <p><?php _e('Sometimes themes apply settings that clash with plugins. If that happens, try adjusting these settings.', 'cookie-law-info'); ?></p>
10
 
4
  die;
5
  }
6
  ?>
7
+ <div class="cookie-law-info-tab-content" data-id="<?php echo $target_id;?>">
8
  <h3>Advanced</h3>
9
  <p><?php _e('Sometimes themes apply settings that clash with plugins. If that happens, try adjusting these settings.', 'cookie-law-info'); ?></p>
10
 
admin/views/admin-settings-buttons.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'WPINC' ) ) {
4
  die;
5
  }
6
  ?>
7
- <div class="cookie-law-info-tab-content" data-id="cookie-law-info-buttons">
8
 
9
  <ul class="cli_sub_tab">
10
  <li style="border-left:none; padding-left: 0px;" data-target="accept-button"><a><?php _e('Accept Button', 'cookie-law-info'); ?></a></li>
@@ -179,7 +179,7 @@ if ( ! defined( 'WPINC' ) ) {
179
  <tr valign="top">
180
  <th scope="row"><label for="button_2_as_button_field"><?php _e('Show as', 'cookie-law-info'); ?></label></th>
181
  <td>
182
- <input type="radio" id="button_2_as_button_field_yes" name="button_2_as_button_field" class="styled cli_form_toggle" cli_frm_tgl-target="cli_readmore_type" value="true" <?php echo ( $the_options['button_2_as_button'] == true ) ? ' checked="checked" />' : ''; ?> /> <?php _e('Button', 'cookie-law-info'); ?>
183
 
184
  <input type="radio" id="button_2_as_button_field_no" name="button_2_as_button_field" class="styled cli_form_toggle" cli_frm_tgl-target="cli_readmore_type" value="false" <?php echo ( $the_options['button_2_as_button'] == false ) ? ' checked="checked"' : ''; ?> /> <?php _e('Link', 'cookie-law-info'); ?>
185
  </td>
@@ -192,14 +192,60 @@ if ( ! defined( 'WPINC' ) ) {
192
  ?>
193
  </td>
194
  </tr>
 
195
  <tr valign="top">
 
 
 
 
 
 
 
 
 
196
  <th scope="row"><label for="button_2_url_field"><?php _e('URL', 'cookie-law-info'); ?></label></th>
197
  <td>
198
  <input type="text" name="button_2_url_field" id="button_2_url_field" value="<?php echo $the_options['button_2_url'] ?>" />
199
  </td>
200
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  <tr valign="top">
202
- <th scope="row"><label for="button_2_new_win_field"><?php _e('Open URL in new window?', 'cookie-law-info'); ?></label></th>
203
  <td>
204
  <input type="radio" id="button_2_new_win_field_yes" name="button_2_new_win_field" class="styled" value="true" <?php echo ( $the_options['button_2_new_win'] == true ) ? ' checked="checked"' : ''; ?> /> <?php _e('Yes', 'cookie-law-info'); ?>
205
  <input type="radio" id="button_2_new_win_field_no" name="button_2_new_win_field" class="styled" value="false" <?php echo ( $the_options['button_2_new_win'] == false ) ? ' checked="checked"' : ''; ?> /> <?php _e('No', 'cookie-law-info'); ?>
4
  die;
5
  }
6
  ?>
7
+ <div class="cookie-law-info-tab-content" data-id="<?php echo $target_id;?>">
8
 
9
  <ul class="cli_sub_tab">
10
  <li style="border-left:none; padding-left: 0px;" data-target="accept-button"><a><?php _e('Accept Button', 'cookie-law-info'); ?></a></li>
179
  <tr valign="top">
180
  <th scope="row"><label for="button_2_as_button_field"><?php _e('Show as', 'cookie-law-info'); ?></label></th>
181
  <td>
182
+ <input type="radio" id="button_2_as_button_field_yes" name="button_2_as_button_field" class="styled cli_form_toggle" cli_frm_tgl-target="cli_readmore_type" value="true" <?php echo ( $the_options['button_2_as_button'] == true ) ? ' checked="checked"' : ''; ?> /> <?php _e('Button', 'cookie-law-info'); ?>
183
 
184
  <input type="radio" id="button_2_as_button_field_no" name="button_2_as_button_field" class="styled cli_form_toggle" cli_frm_tgl-target="cli_readmore_type" value="false" <?php echo ( $the_options['button_2_as_button'] == false ) ? ' checked="checked"' : ''; ?> /> <?php _e('Link', 'cookie-law-info'); ?>
185
  </td>
192
  ?>
193
  </td>
194
  </tr>
195
+
196
  <tr valign="top">
197
+ <th scope="row"><label for="button_2_url_type_field"><?php _e('URL or Page?', 'cookie-law-info'); ?></label></th>
198
+ <td>
199
+ <input type="radio" id="button_2_url_type_field_url" name="button_2_url_type_field" class="styled cli_form_toggle" cli_frm_tgl-target="cli_readmore_url_type" value="url" <?php echo ( $the_options['button_2_url_type'] == 'url' ) ? ' checked="checked"' : ''; ?> /> <?php _e('URL', 'cookie-law-info'); ?>
200
+
201
+ <input type="radio" id="button_2_url_type_field_page" name="button_2_url_type_field" class="styled cli_form_toggle" cli_frm_tgl-target="cli_readmore_url_type" value="page" <?php echo ( $the_options['button_2_url_type'] == 'page' ) ? ' checked="checked"' : ''; ?> /> <?php _e('Page', 'cookie-law-info'); ?>
202
+ </td>
203
+ </tr>
204
+
205
+ <tr valign="top" cli_frm_tgl-id="cli_readmore_url_type" cli_frm_tgl-val="url">
206
  <th scope="row"><label for="button_2_url_field"><?php _e('URL', 'cookie-law-info'); ?></label></th>
207
  <td>
208
  <input type="text" name="button_2_url_field" id="button_2_url_field" value="<?php echo $the_options['button_2_url'] ?>" />
209
  </td>
210
  </tr>
211
+ <tr valign="top" cli_frm_tgl-id="cli_readmore_url_type" cli_frm_tgl-val="page">
212
+ <th scope="row"><label for="button_2_page_field"><?php _e('Page', 'cookie-law-info'); ?></label></th>
213
+ <td>
214
+ <select name="button_2_page_field" class="vvv_combobox" id="button_2_page_field">
215
+ <option value="0">--<?php _e('Select One','cookie-law-info'); ?>--</option>
216
+ <?php
217
+ foreach($all_pages as $page)
218
+ {
219
+ ?>
220
+ <option value="<?php echo $page->ID; ?>" <?php echo ($the_options['button_2_page']==$page->ID ? 'selected' : ''); ?>> <?php echo $page->post_title;?> </option>;
221
+ <?php
222
+ }
223
+ ?>
224
+ </select>
225
+ <?php
226
+ if($the_options['button_2_page']>0)
227
+ {
228
+ $privacy_policy_page=get_post($the_options['button_2_page']);
229
+ $privacy_page_exists=0;
230
+ if($privacy_policy_page instanceof WP_Post)
231
+ {
232
+ if($privacy_policy_page->post_status==='publish')
233
+ {
234
+ $privacy_page_exists=1;
235
+ }
236
+ }
237
+ if($privacy_page_exists==0)
238
+ {
239
+ ?>
240
+ <span class="cli_form_er cli_privacy_page_not_exists_er" style="display: inline;"><?php echo _e('The currently selected page does not exist. Please select a new page.'); ?></span>
241
+ <?php
242
+ }
243
+ }
244
+ ?>
245
+ </td>
246
+ </tr>
247
  <tr valign="top">
248
+ <th scope="row"><label for="button_2_new_win_field"><?php _e('Open in new window?', 'cookie-law-info'); ?></label></th>
249
  <td>
250
  <input type="radio" id="button_2_new_win_field_yes" name="button_2_new_win_field" class="styled" value="true" <?php echo ( $the_options['button_2_new_win'] == true ) ? ' checked="checked"' : ''; ?> /> <?php _e('Yes', 'cookie-law-info'); ?>
251
  <input type="radio" id="button_2_new_win_field_no" name="button_2_new_win_field" class="styled" value="false" <?php echo ( $the_options['button_2_new_win'] == false ) ? ' checked="checked"' : ''; ?> /> <?php _e('No', 'cookie-law-info'); ?>
admin/views/admin-settings-general.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'WPINC' ) ) {
4
  die;
5
  }
6
  ?>
7
- <div class="cookie-law-info-tab-content" data-id="cookie-law-info-general">
8
  <ul class="cli_sub_tab">
9
  <li style="border-left:none; padding-left: 0px;" data-target="cookie-bar"><a><?php _e('Cookie Bar','cookie-law-info');?></a></li>
10
  <li data-target="show-again"><a><?php _e('Show Again Tab','cookie-law-info');?></a></li>
4
  die;
5
  }
6
  ?>
7
+ <div class="cookie-law-info-tab-content" data-id="<?php echo $target_id;?>">
8
  <ul class="cli_sub_tab">
9
  <li style="border-left:none; padding-left: 0px;" data-target="cookie-bar"><a><?php _e('Cookie Bar','cookie-law-info');?></a></li>
10
  <li data-target="show-again"><a><?php _e('Show Again Tab','cookie-law-info');?></a></li>
admin/views/admin-settings-help.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'WPINC' ) ) {
4
  die;
5
  }
6
  ?>
7
- <div class="cookie-law-info-tab-content" data-id="cookie-law-info-help">
8
  <ul class="cli_sub_tab">
9
  <li style="border-left:none; padding-left: 0px;" data-target="shortcodes"><a><?php _e('Shortcodes', 'cookie-law-info'); ?></a></li>
10
  <li data-target="help-links"><a><?php _e('Help Links', 'cookie-law-info'); ?></a></li>
@@ -62,6 +62,11 @@ if ( ! defined( 'WPINC' ) ) {
62
  <div style="font-weight: bold;">[delete_cookies text="Click here to delete"]</div>
63
  <?php _e('Add any text you like- useful if you want e.g. another language to English.', 'cookie-law-info'); ?>
64
  </li>
 
 
 
 
 
65
  </ul>
66
  </div>
67
  <div class="cli_sub_tab_content" data-id="help-links" style="float: left; height:auto;">
4
  die;
5
  }
6
  ?>
7
+ <div class="cookie-law-info-tab-content" data-id="<?php echo $target_id;?>">
8
  <ul class="cli_sub_tab">
9
  <li style="border-left:none; padding-left: 0px;" data-target="shortcodes"><a><?php _e('Shortcodes', 'cookie-law-info'); ?></a></li>
10
  <li data-target="help-links"><a><?php _e('Help Links', 'cookie-law-info'); ?></a></li>
62
  <div style="font-weight: bold;">[delete_cookies text="Click here to delete"]</div>
63
  <?php _e('Add any text you like- useful if you want e.g. another language to English.', 'cookie-law-info'); ?>
64
  </li>
65
+ <li>
66
+ <div style="font-weight: bold;">[cookie_after_accept] Your content goes here... [/cookie_after_accept]</div>
67
+ <?php _e('Add content after accepting the cookie notice.', 'cookie-law-info'); ?>
68
+ You can use `do_shortcode` function to add shortcodes inside the template file.
69
+ </li>
70
  </ul>
71
  </div>
72
  <div class="cli_sub_tab_content" data-id="help-links" style="float: left; height:auto;">
admin/views/admin-settings-licence.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- // If this file is called directly, abort.
3
- if ( ! defined( 'WPINC' ) ) {
4
- die;
5
- }
6
- ?>
7
- <div class="cookie-law-info-tab-content" data-id="cookie-law-info-licence">
8
- <?php
9
- $plugin_name = 'wtgdprcookieconsent';
10
- require_once(plugin_dir_path( dirname( __FILE__ ) ).'wf_api_manager/html/html-wf-activation-window.php' );
11
- ?>
12
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/admin-settings-messagebar.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'WPINC' ) ) {
4
  die;
5
  }
6
  ?>
7
- <div class="cookie-law-info-tab-content" data-id="cookie-law-info-message-bar">
8
  <h3><?php _e('Cookie Bar', 'cookie-law-info'); ?></h3>
9
  <table class="form-table">
10
  <tr valign="top">
4
  die;
5
  }
6
  ?>
7
+ <div class="cookie-law-info-tab-content" data-id="<?php echo $target_id;?>">
8
  <h3><?php _e('Cookie Bar', 'cookie-law-info'); ?></h3>
9
  <table class="form-table">
10
  <tr valign="top">
admin/views/goto-pro.php CHANGED
@@ -83,7 +83,7 @@
83
  <li><?php echo __("Customize the privacy overview in the cookie settings popup.","cookie-law-info"); ?></li>
84
  <li><?php echo __("Export/import cookies and related information via CSV file.","cookie-law-info"); ?></li>
85
  <li><?php echo __("Scan and import/export the cookies in the homepage.","cookie-law-info"); ?></li>
86
- <li><?php echo __('Allow to display cookie cettings popup where site visitors can opt-in or give consent to cookie categories.','cookie-law-info'); ?></li>
87
  <li><?php echo __('Customisable to look just like your own website\'s style: customise the colours, styles and fonts.','cookie-law-info'); ?></li>
88
  <li><?php echo __('Put the cookie bar in either the header or the footer.','cookie-law-info'); ?></li>
89
  </ul>
83
  <li><?php echo __("Customize the privacy overview in the cookie settings popup.","cookie-law-info"); ?></li>
84
  <li><?php echo __("Export/import cookies and related information via CSV file.","cookie-law-info"); ?></li>
85
  <li><?php echo __("Scan and import/export the cookies in the homepage.","cookie-law-info"); ?></li>
86
+ <li><?php echo __('Allow to display cookie settings popup where site visitors can opt-in or give consent to cookie categories.','cookie-law-info'); ?></li>
87
  <li><?php echo __('Customisable to look just like your own website\'s style: customise the colours, styles and fonts.','cookie-law-info'); ?></li>
88
  <li><?php echo __('Put the cookie bar in either the header or the footer.','cookie-law-info'); ?></li>
89
  </ul>
cookie-law-info.php CHANGED
@@ -9,14 +9,14 @@
9
  * that starts the plugin.
10
  *
11
  * @link https://www.webtoffee.com/product/gdpr-cookie-consent/
12
- * @since 1.6.8
13
  * @package Cookie_Law_Info
14
  *
15
  * @wordpress-plugin
16
  * Plugin Name: GDPR Cookie Consent
17
  * Plugin URI: https://www.webtoffee.com/product/gdpr-cookie-consent/
18
  * Description: A simple way to show your website complies with the EU Cookie Law / GDPR.
19
- * Version: 1.6.8
20
  * Author: WebToffee
21
  * Author URI: http://cookielawinfo.com/
22
  * License: GPLv3
@@ -63,7 +63,7 @@ define ( 'CLI_POST_TYPE','cookielawinfo');
63
  * Currently plugin version.
64
  * Rename this for your plugin and update it as you release new versions.
65
  */
66
- define( 'CLI_VERSION', '1.6.8' );
67
 
68
 
69
  /**
@@ -144,7 +144,7 @@ require plugin_dir_path( __FILE__ ) . 'includes/class-cookie-law-info.php';
144
  * then kicking off the plugin from this point in the file does
145
  * not affect the page life cycle.
146
  *
147
- * @since 1.6.8
148
  */
149
  function run_cookie_law_info() {
150
 
9
  * that starts the plugin.
10
  *
11
  * @link https://www.webtoffee.com/product/gdpr-cookie-consent/
12
+ * @since 1.6.6
13
  * @package Cookie_Law_Info
14
  *
15
  * @wordpress-plugin
16
  * Plugin Name: GDPR Cookie Consent
17
  * Plugin URI: https://www.webtoffee.com/product/gdpr-cookie-consent/
18
  * Description: A simple way to show your website complies with the EU Cookie Law / GDPR.
19
+ * Version: 1.6.10
20
  * Author: WebToffee
21
  * Author URI: http://cookielawinfo.com/
22
  * License: GPLv3
63
  * Currently plugin version.
64
  * Rename this for your plugin and update it as you release new versions.
65
  */
66
+ define( 'CLI_VERSION', '1.6.10' );
67
 
68
 
69
  /**
144
  * then kicking off the plugin from this point in the file does
145
  * not affect the page life cycle.
146
  *
147
+ * @since 1.6.6
148
  */
149
  function run_cookie_law_info() {
150
 
includes/class-cookie-law-info-activator.php CHANGED
@@ -4,7 +4,7 @@
4
  * Fired during plugin activation
5
  *
6
  * @link http://cookielawinfo.com/
7
- * @since 1.6.8
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/includes
@@ -15,7 +15,7 @@
15
  *
16
  * This class defines all code necessary to run during the plugin's activation.
17
  *
18
- * @since 1.6.8
19
  * @package Cookie_Law_Info
20
  * @subpackage Cookie_Law_Info/includes
21
  * @author WebToffee <info@webtoffee.com>
@@ -27,7 +27,7 @@ class Cookie_Law_Info_Activator {
27
  *
28
  * Long Description.
29
  *
30
- * @since 1.6.8
31
  */
32
  public static function activate()
33
  {
4
  * Fired during plugin activation
5
  *
6
  * @link http://cookielawinfo.com/
7
+ * @since 1.6.6
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/includes
15
  *
16
  * This class defines all code necessary to run during the plugin's activation.
17
  *
18
+ * @since 1.6.6
19
  * @package Cookie_Law_Info
20
  * @subpackage Cookie_Law_Info/includes
21
  * @author WebToffee <info@webtoffee.com>
27
  *
28
  * Long Description.
29
  *
30
+ * @since 1.6.6
31
  */
32
  public static function activate()
33
  {
includes/class-cookie-law-info-deactivator.php CHANGED
@@ -4,7 +4,7 @@
4
  * Fired during plugin deactivation
5
  *
6
  * @link http://cookielawinfo.com/
7
- * @since 1.6.8
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/includes
@@ -15,7 +15,7 @@
15
  *
16
  * This class defines all code necessary to run during the plugin's deactivation.
17
  *
18
- * @since 1.6.8
19
  * @package Cookie_Law_Info
20
  * @subpackage Cookie_Law_Info/includes
21
  * @author WebToffee <info@webtoffee.com>
@@ -27,7 +27,7 @@ class Cookie_Law_Info_Deactivator {
27
  *
28
  * Long Description.
29
  *
30
- * @since 1.6.8
31
  */
32
  public static function deactivate()
33
  {
4
  * Fired during plugin deactivation
5
  *
6
  * @link http://cookielawinfo.com/
7
+ * @since 1.6.6
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/includes
15
  *
16
  * This class defines all code necessary to run during the plugin's deactivation.
17
  *
18
+ * @since 1.6.6
19
  * @package Cookie_Law_Info
20
  * @subpackage Cookie_Law_Info/includes
21
  * @author WebToffee <info@webtoffee.com>
27
  *
28
  * Long Description.
29
  *
30
+ * @since 1.6.6
31
  */
32
  public static function deactivate()
33
  {
includes/class-cookie-law-info-i18n.php CHANGED
@@ -7,7 +7,7 @@
7
  * so that it is ready for translation.
8
  *
9
  * @link http://cookielawinfo.com/
10
- * @since 1.6.8
11
  *
12
  * @package Cookie_Law_Info
13
  * @subpackage Cookie_Law_Info/includes
@@ -19,7 +19,7 @@
19
  * Loads and defines the internationalization files for this plugin
20
  * so that it is ready for translation.
21
  *
22
- * @since 1.6.8
23
  * @package Cookie_Law_Info
24
  * @subpackage Cookie_Law_Info/includes
25
  * @author WebToffee <info@webtoffee.com>
@@ -30,7 +30,7 @@ class Cookie_Law_Info_i18n {
30
  /**
31
  * Load the plugin text domain for translation.
32
  *
33
- * @since 1.6.8
34
  */
35
  public function load_plugin_textdomain() {
36
  load_plugin_textdomain(
7
  * so that it is ready for translation.
8
  *
9
  * @link http://cookielawinfo.com/
10
+ * @since 1.6.6
11
  *
12
  * @package Cookie_Law_Info
13
  * @subpackage Cookie_Law_Info/includes
19
  * Loads and defines the internationalization files for this plugin
20
  * so that it is ready for translation.
21
  *
22
+ * @since 1.6.6
23
  * @package Cookie_Law_Info
24
  * @subpackage Cookie_Law_Info/includes
25
  * @author WebToffee <info@webtoffee.com>
30
  /**
31
  * Load the plugin text domain for translation.
32
  *
33
+ * @since 1.6.6
34
  */
35
  public function load_plugin_textdomain() {
36
  load_plugin_textdomain(
includes/class-cookie-law-info-loader.php CHANGED
@@ -4,7 +4,7 @@
4
  * Register all actions and filters for the plugin
5
  *
6
  * @link http://cookielawinfo.com/
7
- * @since 1.6.8
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/includes
@@ -26,7 +26,7 @@ class Cookie_Law_Info_Loader {
26
  /**
27
  * The array of actions registered with WordPress.
28
  *
29
- * @since 1.6.8
30
  * @access protected
31
  * @var array $actions The actions registered with WordPress to fire when the plugin loads.
32
  */
@@ -35,7 +35,7 @@ class Cookie_Law_Info_Loader {
35
  /**
36
  * The array of filters registered with WordPress.
37
  *
38
- * @since 1.6.8
39
  * @access protected
40
  * @var array $filters The filters registered with WordPress to fire when the plugin loads.
41
  */
@@ -44,7 +44,7 @@ class Cookie_Law_Info_Loader {
44
  /**
45
  * Initialize the collections used to maintain the actions and filters.
46
  *
47
- * @since 1.6.8
48
  */
49
  public function __construct() {
50
 
@@ -56,7 +56,7 @@ class Cookie_Law_Info_Loader {
56
  /**
57
  * Add a new action to the collection to be registered with WordPress.
58
  *
59
- * @since 1.6.8
60
  * @param string $hook The name of the WordPress action that is being registered.
61
  * @param object $component A reference to the instance of the object on which the action is defined.
62
  * @param string $callback The name of the function definition on the $component.
@@ -70,7 +70,7 @@ class Cookie_Law_Info_Loader {
70
  /**
71
  * Add a new filter to the collection to be registered with WordPress.
72
  *
73
- * @since 1.6.8
74
  * @param string $hook The name of the WordPress filter that is being registered.
75
  * @param object $component A reference to the instance of the object on which the filter is defined.
76
  * @param string $callback The name of the function definition on the $component.
@@ -85,7 +85,7 @@ class Cookie_Law_Info_Loader {
85
  * A utility function that is used to register the actions and hooks into a single
86
  * collection.
87
  *
88
- * @since 1.6.8
89
  * @access private
90
  * @param array $hooks The collection of hooks that is being registered (that is, actions or filters).
91
  * @param string $hook The name of the WordPress filter that is being registered.
@@ -112,7 +112,7 @@ class Cookie_Law_Info_Loader {
112
  /**
113
  * Register the filters and actions with WordPress.
114
  *
115
- * @since 1.6.8
116
  */
117
  public function run() {
118
 
4
  * Register all actions and filters for the plugin
5
  *
6
  * @link http://cookielawinfo.com/
7
+ * @since 1.6.6
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/includes
26
  /**
27
  * The array of actions registered with WordPress.
28
  *
29
+ * @since 1.6.6
30
  * @access protected
31
  * @var array $actions The actions registered with WordPress to fire when the plugin loads.
32
  */
35
  /**
36
  * The array of filters registered with WordPress.
37
  *
38
+ * @since 1.6.6
39
  * @access protected
40
  * @var array $filters The filters registered with WordPress to fire when the plugin loads.
41
  */
44
  /**
45
  * Initialize the collections used to maintain the actions and filters.
46
  *
47
+ * @since 1.6.6
48
  */
49
  public function __construct() {
50
 
56
  /**
57
  * Add a new action to the collection to be registered with WordPress.
58
  *
59
+ * @since 1.6.6
60
  * @param string $hook The name of the WordPress action that is being registered.
61
  * @param object $component A reference to the instance of the object on which the action is defined.
62
  * @param string $callback The name of the function definition on the $component.
70
  /**
71
  * Add a new filter to the collection to be registered with WordPress.
72
  *
73
+ * @since 1.6.6
74
  * @param string $hook The name of the WordPress filter that is being registered.
75
  * @param object $component A reference to the instance of the object on which the filter is defined.
76
  * @param string $callback The name of the function definition on the $component.
85
  * A utility function that is used to register the actions and hooks into a single
86
  * collection.
87
  *
88
+ * @since 1.6.6
89
  * @access private
90
  * @param array $hooks The collection of hooks that is being registered (that is, actions or filters).
91
  * @param string $hook The name of the WordPress filter that is being registered.
112
  /**
113
  * Register the filters and actions with WordPress.
114
  *
115
+ * @since 1.6.6
116
  */
117
  public function run() {
118
 
includes/class-cookie-law-info.php CHANGED
@@ -7,7 +7,7 @@
7
  * public-facing side of the site and the admin area.
8
  *
9
  * @link http://cookielawinfo.com/
10
- * @since 1.6.8
11
  *
12
  * @package Cookie_Law_Info
13
  * @subpackage Cookie_Law_Info/includes
@@ -22,7 +22,7 @@
22
  * Also maintains the unique identifier of this plugin as well as the current
23
  * version of the plugin.
24
  *
25
- * @since 1.6.8
26
  * @package Cookie_Law_Info
27
  * @subpackage Cookie_Law_Info/includes
28
  * @author WebToffee <info@webtoffee.com>
@@ -33,7 +33,7 @@ class Cookie_Law_Info {
33
  * The loader that's responsible for maintaining and registering all hooks that power
34
  * the plugin.
35
  *
36
- * @since 1.6.8
37
  * @access protected
38
  * @var Cookie_Law_Info_Loader $loader Maintains and registers all hooks for the plugin.
39
  */
@@ -42,7 +42,7 @@ class Cookie_Law_Info {
42
  /**
43
  * The unique identifier of this plugin.
44
  *
45
- * @since 1.6.8
46
  * @access protected
47
  * @var string $plugin_name The string used to uniquely identify this plugin.
48
  */
@@ -51,7 +51,7 @@ class Cookie_Law_Info {
51
  /**
52
  * The current version of the plugin.
53
  *
54
- * @since 1.6.8
55
  * @access protected
56
  * @var string $version The current version of the plugin.
57
  */
@@ -66,7 +66,7 @@ class Cookie_Law_Info {
66
  * Load the dependencies, define the locale, and set the hooks for the admin area and
67
  * the public-facing side of the site.
68
  *
69
- * @since 1.6.8
70
  */
71
  public function __construct()
72
  {
@@ -76,7 +76,7 @@ class Cookie_Law_Info {
76
  }
77
  else
78
  {
79
- $this->version = '1.6.8';
80
  }
81
  $this->plugin_name = 'cookie-law-info';
82
 
@@ -100,7 +100,7 @@ class Cookie_Law_Info {
100
  * Create an instance of the loader which will be used to register the hooks
101
  * with WordPress.
102
  *
103
- * @since 1.6.8
104
  * @access private
105
  */
106
  private function load_dependencies() {
@@ -138,7 +138,7 @@ class Cookie_Law_Info {
138
  * Uses the Cookie_Law_Info_i18n class in order to set the domain and to register the hook
139
  * with WordPress.
140
  *
141
- * @since 1.6.8
142
  * @access private
143
  */
144
  private function set_locale() {
@@ -153,7 +153,7 @@ class Cookie_Law_Info {
153
  * Register all of the hooks related to the admin area functionality
154
  * of the plugin.
155
  *
156
- * @since 1.6.8
157
  * @access private
158
  */
159
  private function define_admin_hooks() {
@@ -161,7 +161,7 @@ class Cookie_Law_Info {
161
  $plugin_admin = new Cookie_Law_Info_Admin( $this->get_plugin_name(), $this->get_version(),$this);
162
 
163
 
164
- $this->loader->add_action( 'admin_menu', $plugin_admin, 'admin_menu'); /* Adding admin menu */
165
  $this->loader->add_action( 'admin_init', $plugin_admin, 'add_meta_box'); /* Adding custom meta box */
166
  $this->loader->add_action( 'save_post', $plugin_admin, 'save_custom_metaboxes');/* Saving meta box data */
167
  $this->loader->add_action( 'manage_edit-cookielawinfo_columns', $plugin_admin, 'manage_edit_columns'); /* Customizing listing column */
@@ -187,7 +187,7 @@ class Cookie_Law_Info {
187
  * Register all of the hooks related to the public-facing functionality
188
  * of the plugin.
189
  *
190
- * @since 1.6.8
191
  * @access private
192
  */
193
  private function define_public_hooks()
@@ -211,7 +211,7 @@ class Cookie_Law_Info {
211
  /**
212
  * Run the loader to execute all of the hooks with WordPress.
213
  *
214
- * @since 1.6.8
215
  */
216
  public function run() {
217
  $this->loader->run();
@@ -221,7 +221,7 @@ class Cookie_Law_Info {
221
  * The name of the plugin used to uniquely identify it within the context of
222
  * WordPress and to define internationalization functionality.
223
  *
224
- * @since 1.6.8
225
  * @return string The name of the plugin.
226
  */
227
  public function get_plugin_name() {
@@ -231,7 +231,7 @@ class Cookie_Law_Info {
231
  /**
232
  * The reference to the class that orchestrates the hooks with the plugin.
233
  *
234
- * @since 1.6.8
235
  * @return Cookie_Law_Info_Loader Orchestrates the hooks of the plugin.
236
  */
237
  public function get_loader() {
@@ -241,7 +241,7 @@ class Cookie_Law_Info {
241
  /**
242
  * Retrieve the version number of the plugin.
243
  *
244
- * @since 1.6.8
245
  * @return string The version number of the plugin.
246
  */
247
  public function get_version() {
@@ -268,6 +268,61 @@ class Cookie_Law_Info {
268
  return $settings;
269
  }
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  /**
272
  Returns default settings
273
  If you override the settings here, be ultra careful to use escape characters!
@@ -298,6 +353,8 @@ class Cookie_Law_Info {
298
  'button_2_as_button' => false,
299
  'button_2_button_colour' => '#333',
300
  'button_2_button_size' => 'medium',
 
 
301
 
302
  'button_3_text' => 'Reject',
303
  'button_3_url' => '#',
@@ -334,7 +391,7 @@ class Cookie_Law_Info {
334
  'reject_close_reload' => false,
335
  'showagain_background' => '#fff',
336
  'showagain_border' => '#000',
337
- 'showagain_text' => addslashes ('Privacy & Cookies Policy'),
338
  'showagain_div_id' => '#cookie-law-info-again',
339
  'showagain_tab' => true,
340
  'showagain_x_position' => '100px',
@@ -410,7 +467,7 @@ class Cookie_Law_Info {
410
  'logging_on'=>$settings['logging_on'],
411
  'as_popup'=>$settings['as_popup'],
412
  'popup_overlay'=>$settings['popup_overlay'],
413
- 'bar_heading_text'=>$settings['bar_heading_text'],
414
  );
415
  $str = json_encode( $slim_settings );
416
  /*
7
  * public-facing side of the site and the admin area.
8
  *
9
  * @link http://cookielawinfo.com/
10
+ * @since 1.6.6
11
  *
12
  * @package Cookie_Law_Info
13
  * @subpackage Cookie_Law_Info/includes
22
  * Also maintains the unique identifier of this plugin as well as the current
23
  * version of the plugin.
24
  *
25
+ * @since 1.6.6
26
  * @package Cookie_Law_Info
27
  * @subpackage Cookie_Law_Info/includes
28
  * @author WebToffee <info@webtoffee.com>
33
  * The loader that's responsible for maintaining and registering all hooks that power
34
  * the plugin.
35
  *
36
+ * @since 1.6.6
37
  * @access protected
38
  * @var Cookie_Law_Info_Loader $loader Maintains and registers all hooks for the plugin.
39
  */
42
  /**
43
  * The unique identifier of this plugin.
44
  *
45
+ * @since 1.6.6
46
  * @access protected
47
  * @var string $plugin_name The string used to uniquely identify this plugin.
48
  */
51
  /**
52
  * The current version of the plugin.
53
  *
54
+ * @since 1.6.6
55
  * @access protected
56
  * @var string $version The current version of the plugin.
57
  */
66
  * Load the dependencies, define the locale, and set the hooks for the admin area and
67
  * the public-facing side of the site.
68
  *
69
+ * @since 1.6.6
70
  */
71
  public function __construct()
72
  {
76
  }
77
  else
78
  {
79
+ $this->version = '1.6.10';
80
  }
81
  $this->plugin_name = 'cookie-law-info';
82
 
100
  * Create an instance of the loader which will be used to register the hooks
101
  * with WordPress.
102
  *
103
+ * @since 1.6.6
104
  * @access private
105
  */
106
  private function load_dependencies() {
138
  * Uses the Cookie_Law_Info_i18n class in order to set the domain and to register the hook
139
  * with WordPress.
140
  *
141
+ * @since 1.6.6
142
  * @access private
143
  */
144
  private function set_locale() {
153
  * Register all of the hooks related to the admin area functionality
154
  * of the plugin.
155
  *
156
+ * @since 1.6.6
157
  * @access private
158
  */
159
  private function define_admin_hooks() {
161
  $plugin_admin = new Cookie_Law_Info_Admin( $this->get_plugin_name(), $this->get_version(),$this);
162
 
163
 
164
+ $this->loader->add_action( 'admin_menu', $plugin_admin, 'admin_menu',11); /* Adding admin menu */
165
  $this->loader->add_action( 'admin_init', $plugin_admin, 'add_meta_box'); /* Adding custom meta box */
166
  $this->loader->add_action( 'save_post', $plugin_admin, 'save_custom_metaboxes');/* Saving meta box data */
167
  $this->loader->add_action( 'manage_edit-cookielawinfo_columns', $plugin_admin, 'manage_edit_columns'); /* Customizing listing column */
187
  * Register all of the hooks related to the public-facing functionality
188
  * of the plugin.
189
  *
190
+ * @since 1.6.6
191
  * @access private
192
  */
193
  private function define_public_hooks()
211
  /**
212
  * Run the loader to execute all of the hooks with WordPress.
213
  *
214
+ * @since 1.6.6
215
  */
216
  public function run() {
217
  $this->loader->run();
221
  * The name of the plugin used to uniquely identify it within the context of
222
  * WordPress and to define internationalization functionality.
223
  *
224
+ * @since 1.6.6
225
  * @return string The name of the plugin.
226
  */
227
  public function get_plugin_name() {
231
  /**
232
  * The reference to the class that orchestrates the hooks with the plugin.
233
  *
234
+ * @since 1.6.6
235
  * @return Cookie_Law_Info_Loader Orchestrates the hooks of the plugin.
236
  */
237
  public function get_loader() {
241
  /**
242
  * Retrieve the version number of the plugin.
243
  *
244
+ * @since 1.6.6
245
  * @return string The version number of the plugin.
246
  */
247
  public function get_version() {
268
  return $settings;
269
  }
270
 
271
+ /**
272
+ * Generate tab head for settings page.
273
+ * method will translate the string to current language
274
+ */
275
+ public static function generate_settings_tabhead($title_arr)
276
+ {
277
+ $out_arr=array();
278
+ foreach($title_arr as $k=>$v)
279
+ {
280
+ if($k=='cookie-law-info-buttons')
281
+ {
282
+ $out_arr[$k]=$v;
283
+ //tab head for modules
284
+ $out_arr=apply_filters('cli_module_settings_tabhead',$out_arr);
285
+ }else
286
+ {
287
+ $out_arr[$k]=$v;
288
+ }
289
+ }
290
+ foreach($out_arr as $k=>$v)
291
+ {
292
+ if(is_array($v))
293
+ {
294
+ $v=(isset($v[2]) ? $v[2] : '').__($v[0], 'cookie-law-info').' '.(isset($v[1]) ? $v[1] : '');
295
+ }else
296
+ {
297
+ $v=__($v, 'cookie-law-info');
298
+ }
299
+ ?>
300
+ <a class="nav-tab" href="#<?php echo $k;?>"><?php echo $v; ?></a>
301
+ <?php
302
+ }
303
+ }
304
+
305
+ /**
306
+ * Envelope settings tab content with tab div.
307
+ * relative path is not acceptable in view file
308
+ */
309
+ public static function envelope_settings_tabcontent($target_id,$view_file="",$html="")
310
+ {
311
+ ?>
312
+ <div class="cookie-law-info-tab-content" data-id="<?php echo $target_id;?>">
313
+ <?php
314
+ if($view_file!="" && file_exists($view_file))
315
+ {
316
+ include_once $view_file;
317
+ }else
318
+ {
319
+ echo $html;
320
+ }
321
+ ?>
322
+ </div>
323
+ <?php
324
+ }
325
+
326
  /**
327
  Returns default settings
328
  If you override the settings here, be ultra careful to use escape characters!
353
  'button_2_as_button' => false,
354
  'button_2_button_colour' => '#333',
355
  'button_2_button_size' => 'medium',
356
+ 'button_2_url_type' =>'url',
357
+ 'button_2_page' =>get_option('wp_page_for_privacy_policy') ? get_option('wp_page_for_privacy_policy') : 0,
358
 
359
  'button_3_text' => 'Reject',
360
  'button_3_url' => '#',
391
  'reject_close_reload' => false,
392
  'showagain_background' => '#fff',
393
  'showagain_border' => '#000',
394
+ 'showagain_text' => addslashes('Privacy & Cookies Policy'),
395
  'showagain_div_id' => '#cookie-law-info-again',
396
  'showagain_tab' => true,
397
  'showagain_x_position' => '100px',
467
  'logging_on'=>$settings['logging_on'],
468
  'as_popup'=>$settings['as_popup'],
469
  'popup_overlay'=>$settings['popup_overlay'],
470
+ 'bar_heading_text'=>$settings['bar_heading_text'],
471
  );
472
  $str = json_encode( $slim_settings );
473
  /*
languages/cookie-law-info-de_DE.mo CHANGED
Binary file
languages/cookie-law-info-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2018-10-08 14:20+0530\n"
5
- "PO-Revision-Date: 2018-10-08 14:56+0530\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de\n"
@@ -15,84 +15,64 @@ msgstr ""
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin/class-cookie-law-info-admin.php:141
19
  #: admin/class-cookie-law-info-admin.php:142
20
- #: admin/partials/cookie-law-info-admin_settings.php:18
 
21
  msgid "Cookie Law Settings"
22
  msgstr "Cookie-Law-Einstellungen"
23
 
24
- #: admin/class-cookie-law-info-admin.php:149
25
  #: admin/class-cookie-law-info-admin.php:150
 
26
  msgid "Non-necessary Cookie"
27
  msgstr "Nicht erforderlicher Cookie"
28
 
29
- #: admin/class-cookie-law-info-admin.php:159
30
  msgid "Settings"
31
  msgstr "Einstellungen"
32
 
33
- #: admin/class-cookie-law-info-admin.php:160
34
  msgid "Support"
35
  msgstr "Unterstützung"
36
 
37
- #: admin/class-cookie-law-info-admin.php:200
38
- #: admin/class-cookie-law-info-admin.php:247
39
  msgid "Settings Updated."
40
  msgstr "Einstellungen aktualisiert."
41
 
42
- #: admin/class-cookie-law-info-admin.php:228
43
  msgid "You do not have sufficient permission to perform this operation"
44
  msgstr "Sie haben nicht die Berechtigung diese Aktion durchzuführen"
45
 
46
- #: admin/class-cookie-law-info-admin.php:262
47
  msgid "ERROR MIGRATING SETTINGS (ERROR: 2)"
48
  msgstr "FEHLER BEIM MIGRIEREN DER EINSTELLUNGEN (FEHLER: 2)"
49
 
50
- #: admin/partials/cookie-law-info-admin_settings.php:12
51
  #: admin/views/admin_non_necessary_cookie.php:14
52
  msgid "Settings updated."
53
  msgstr "Einstellungen aktualisiert."
54
 
55
- #: admin/partials/cookie-law-info-admin_settings.php:13
56
  #: admin/views/admin_non_necessary_cookie.php:15
57
  msgid "Unable to update Settings."
58
  msgstr "Aktualisieren"
59
 
60
- #: admin/partials/cookie-law-info-admin_settings.php:14
61
  msgid "Settings reset to defaults."
62
  msgstr "Die Einstellungen wurden auf die Standardwerte zurückgesetzt."
63
 
64
- #: admin/partials/cookie-law-info-admin_settings.php:15
65
  msgid "Unable to reset settings."
66
  msgstr "Die Einstellungen konnten nicht zurückgesetzt werden."
67
 
68
- #: admin/partials/cookie-law-info-admin_settings.php:26
69
  msgid "Your Cookie Law Info bar is switched on"
70
  msgstr "Ihr Cookie Gesetz Info-Leiste ist eingeschaltet"
71
 
72
- #: admin/partials/cookie-law-info-admin_settings.php:34
73
  msgid "Your Cookie Law Info bar is switched off"
74
  msgstr "Ihre Cookie Law Infoleiste ist eingeschaltet"
75
 
76
- #: admin/partials/cookie-law-info-admin_settings.php:42
77
- msgid "General"
78
- msgstr "Allgemeines"
79
-
80
- #: admin/partials/cookie-law-info-admin_settings.php:43
81
- msgid "Customise Cookie Bar"
82
- msgstr "Cookie-Leiste anpassen"
83
-
84
- #: admin/partials/cookie-law-info-admin_settings.php:44
85
- msgid "Customise Buttons"
86
- msgstr "Anpassen der Schaltflächen"
87
-
88
- #: admin/partials/cookie-law-info-admin_settings.php:45
89
- msgid "Advanced"
90
- msgstr "Erweitert"
91
-
92
- #: admin/partials/cookie-law-info-admin_settings.php:46
93
- msgid "Help Guide"
94
- msgstr "Leitfaden"
95
-
96
  #: admin/views/admin-settings-advanced.php:9
97
  msgid ""
98
  "Sometimes themes apply settings that clash with plugins. If that happens, "
@@ -188,7 +168,8 @@ msgstr "Aktion"
188
 
189
  #: admin/views/admin-settings-buttons.php:61
190
  #: admin/views/admin-settings-buttons.php:136
191
- #: admin/views/admin-settings-buttons.php:196
 
192
  msgid "URL"
193
  msgstr "Externe URL"
194
 
@@ -201,13 +182,12 @@ msgstr ""
201
 
202
  #: admin/views/admin-settings-buttons.php:69
203
  #: admin/views/admin-settings-buttons.php:144
204
- #: admin/views/admin-settings-buttons.php:202
205
  msgid "Open URL in new window?"
206
  msgstr "URL in neuem Fenster öffnen?"
207
 
208
  #: admin/views/admin-settings-buttons.php:71
209
  #: admin/views/admin-settings-buttons.php:146
210
- #: admin/views/admin-settings-buttons.php:204
211
  #: admin/views/admin-settings-general.php:45
212
  #: admin/views/admin-settings-general.php:55
213
  #: admin/views/admin-settings-general.php:63
@@ -223,7 +203,7 @@ msgstr "Ja"
223
 
224
  #: admin/views/admin-settings-buttons.php:73
225
  #: admin/views/admin-settings-buttons.php:147
226
- #: admin/views/admin-settings-buttons.php:205
227
  #: admin/views/admin-settings-general.php:46
228
  #: admin/views/admin-settings-general.php:56
229
  #: admin/views/admin-settings-general.php:64
@@ -239,7 +219,7 @@ msgstr "Nein"
239
 
240
  #: admin/views/admin-settings-buttons.php:80
241
  #: admin/views/admin-settings-buttons.php:151
242
- #: admin/views/admin-settings-buttons.php:209
243
  msgid "Size"
244
  msgstr "Größe"
245
 
@@ -252,6 +232,27 @@ msgstr ""
252
  "Datenschutz- und Cookie-Richtlinie bereitzustellen. Sie können die "
253
  "Schaltfläche beliebig anpassen."
254
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  #: admin/views/admin-settings-general.php:9
256
  #: admin/views/admin-settings-general.php:15
257
  #: admin/views/admin-settings-messagebar.php:8
@@ -439,7 +440,7 @@ msgid "Shortcodes"
439
  msgstr "Shortcodes"
440
 
441
  #: admin/views/admin-settings-help.php:10
442
- #: admin/views/admin-settings-help.php:71
443
  msgid "Help Links"
444
  msgstr "Hilfe-Links"
445
 
@@ -540,24 +541,28 @@ msgstr ""
540
  "Fügen Sie beliebigen Text ein (hilfreich z. B., wenn Sie außer Englisch eine "
541
  "weitere Sprache nutzen möchten)"
542
 
543
- #: admin/views/admin-settings-help.php:75
544
- #: admin/views/admin-settings-help.php:78 admin/views/goto-pro.php:93
 
 
 
 
545
  msgid "Documentation"
546
  msgstr "Dokumentation"
547
 
548
- #: admin/views/admin-settings-help.php:76
549
  msgid "Refer to our documentation to set and get started"
550
  msgstr "Werfen Sie einen Blick in unsere Dokumentation für erste Schritte"
551
 
552
- #: admin/views/admin-settings-help.php:83
553
  msgid "Help and Support"
554
  msgstr "Hilfe und Support"
555
 
556
- #: admin/views/admin-settings-help.php:84
557
  msgid "We would love to help you on any queries or issues."
558
  msgstr "Wir helfen Ihnen gerne bei Fragen oder Problemen."
559
 
560
- #: admin/views/admin-settings-help.php:86
561
  msgid "Contact Us"
562
  msgstr "Kontaktieren Sie uns"
563
 
@@ -750,11 +755,9 @@ msgstr "Scannen und Import/Export von Cookies auf der Startseite."
750
 
751
  #: admin/views/goto-pro.php:86
752
  msgid ""
753
- "Allow to display cookie cettings popup where site visitors can opt-in or "
754
  "give consent to cookie categories."
755
  msgstr ""
756
- "Anzeigen eines Cookie-Einstellungen-Popups, wo der Website-Besucher seine "
757
- "Einwillung für bestimmte Cookie-Kategorien erteilen kann."
758
 
759
  #: admin/views/goto-pro.php:87
760
  msgid ""
@@ -793,7 +796,7 @@ msgid "Cookie List"
793
  msgstr "Cookie-Liste"
794
 
795
  #: public/class-cookie-law-info-public.php:161
796
- #: public/modules/shortcode/shortcode.php:114
797
  msgid "Cookie"
798
  msgstr "Cookie"
799
 
@@ -829,22 +832,44 @@ msgstr "Es wurden keine Einträge gefunden"
829
  msgid "Nothing found in Trash"
830
  msgstr "Es wurden keine Einträge im Papierkorb gefunden"
831
 
832
- #: public/modules/shortcode/shortcode.php:66
833
  msgid "Delete Cookies"
834
  msgstr "Cookies löschen"
835
 
836
- #: public/modules/shortcode/shortcode.php:115
837
  msgid "Type"
838
  msgstr "Typ"
839
 
840
- #: public/modules/shortcode/shortcode.php:116
841
  msgid "Duration"
842
  msgstr "Dauer"
843
 
844
- #: public/modules/shortcode/shortcode.php:117
845
  msgid "Description"
846
  msgstr "Beschreibung"
847
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
848
  #~ msgid "Privacy Overview"
849
  #~ msgstr "Datenschutzübersicht"
850
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2018-10-25 11:52+0530\n"
5
+ "PO-Revision-Date: 2018-10-25 11:52+0530\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
 
18
  #: admin/class-cookie-law-info-admin.php:142
19
+ #: admin/class-cookie-law-info-admin.php:143
20
+ #: admin/partials/cookie-law-info-admin_settings.php:31
21
  msgid "Cookie Law Settings"
22
  msgstr "Cookie-Law-Einstellungen"
23
 
 
24
  #: admin/class-cookie-law-info-admin.php:150
25
+ #: admin/class-cookie-law-info-admin.php:151
26
  msgid "Non-necessary Cookie"
27
  msgstr "Nicht erforderlicher Cookie"
28
 
29
+ #: admin/class-cookie-law-info-admin.php:175
30
  msgid "Settings"
31
  msgstr "Einstellungen"
32
 
33
+ #: admin/class-cookie-law-info-admin.php:176
34
  msgid "Support"
35
  msgstr "Unterstützung"
36
 
37
+ #: admin/class-cookie-law-info-admin.php:216
38
+ #: admin/class-cookie-law-info-admin.php:267
39
  msgid "Settings Updated."
40
  msgstr "Einstellungen aktualisiert."
41
 
42
+ #: admin/class-cookie-law-info-admin.php:244
43
  msgid "You do not have sufficient permission to perform this operation"
44
  msgstr "Sie haben nicht die Berechtigung diese Aktion durchzuführen"
45
 
46
+ #: admin/class-cookie-law-info-admin.php:282
47
  msgid "ERROR MIGRATING SETTINGS (ERROR: 2)"
48
  msgstr "FEHLER BEIM MIGRIEREN DER EINSTELLUNGEN (FEHLER: 2)"
49
 
50
+ #: admin/partials/cookie-law-info-admin_settings.php:25
51
  #: admin/views/admin_non_necessary_cookie.php:14
52
  msgid "Settings updated."
53
  msgstr "Einstellungen aktualisiert."
54
 
55
+ #: admin/partials/cookie-law-info-admin_settings.php:26
56
  #: admin/views/admin_non_necessary_cookie.php:15
57
  msgid "Unable to update Settings."
58
  msgstr "Aktualisieren"
59
 
60
+ #: admin/partials/cookie-law-info-admin_settings.php:27
61
  msgid "Settings reset to defaults."
62
  msgstr "Die Einstellungen wurden auf die Standardwerte zurückgesetzt."
63
 
64
+ #: admin/partials/cookie-law-info-admin_settings.php:28
65
  msgid "Unable to reset settings."
66
  msgstr "Die Einstellungen konnten nicht zurückgesetzt werden."
67
 
68
+ #: admin/partials/cookie-law-info-admin_settings.php:39
69
  msgid "Your Cookie Law Info bar is switched on"
70
  msgstr "Ihr Cookie Gesetz Info-Leiste ist eingeschaltet"
71
 
72
+ #: admin/partials/cookie-law-info-admin_settings.php:47
73
  msgid "Your Cookie Law Info bar is switched off"
74
  msgstr "Ihre Cookie Law Infoleiste ist eingeschaltet"
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  #: admin/views/admin-settings-advanced.php:9
77
  msgid ""
78
  "Sometimes themes apply settings that clash with plugins. If that happens, "
168
 
169
  #: admin/views/admin-settings-buttons.php:61
170
  #: admin/views/admin-settings-buttons.php:136
171
+ #: admin/views/admin-settings-buttons.php:199
172
+ #: admin/views/admin-settings-buttons.php:206
173
  msgid "URL"
174
  msgstr "Externe URL"
175
 
182
 
183
  #: admin/views/admin-settings-buttons.php:69
184
  #: admin/views/admin-settings-buttons.php:144
 
185
  msgid "Open URL in new window?"
186
  msgstr "URL in neuem Fenster öffnen?"
187
 
188
  #: admin/views/admin-settings-buttons.php:71
189
  #: admin/views/admin-settings-buttons.php:146
190
+ #: admin/views/admin-settings-buttons.php:250
191
  #: admin/views/admin-settings-general.php:45
192
  #: admin/views/admin-settings-general.php:55
193
  #: admin/views/admin-settings-general.php:63
203
 
204
  #: admin/views/admin-settings-buttons.php:73
205
  #: admin/views/admin-settings-buttons.php:147
206
+ #: admin/views/admin-settings-buttons.php:251
207
  #: admin/views/admin-settings-general.php:46
208
  #: admin/views/admin-settings-general.php:56
209
  #: admin/views/admin-settings-general.php:64
219
 
220
  #: admin/views/admin-settings-buttons.php:80
221
  #: admin/views/admin-settings-buttons.php:151
222
+ #: admin/views/admin-settings-buttons.php:255
223
  msgid "Size"
224
  msgstr "Größe"
225
 
232
  "Datenschutz- und Cookie-Richtlinie bereitzustellen. Sie können die "
233
  "Schaltfläche beliebig anpassen."
234
 
235
+ #: admin/views/admin-settings-buttons.php:197
236
+ msgid "URL or Page?"
237
+ msgstr ""
238
+
239
+ #: admin/views/admin-settings-buttons.php:201
240
+ #: admin/views/admin-settings-buttons.php:212
241
+ msgid "Page"
242
+ msgstr ""
243
+
244
+ #: admin/views/admin-settings-buttons.php:215
245
+ msgid "Select One"
246
+ msgstr ""
247
+
248
+ #: admin/views/admin-settings-buttons.php:240
249
+ msgid "The currently selected page does not exist. Please select a new page."
250
+ msgstr ""
251
+
252
+ #: admin/views/admin-settings-buttons.php:248
253
+ msgid "Open in new window?"
254
+ msgstr ""
255
+
256
  #: admin/views/admin-settings-general.php:9
257
  #: admin/views/admin-settings-general.php:15
258
  #: admin/views/admin-settings-messagebar.php:8
440
  msgstr "Shortcodes"
441
 
442
  #: admin/views/admin-settings-help.php:10
443
+ #: admin/views/admin-settings-help.php:76
444
  msgid "Help Links"
445
  msgstr "Hilfe-Links"
446
 
541
  "Fügen Sie beliebigen Text ein (hilfreich z. B., wenn Sie außer Englisch eine "
542
  "weitere Sprache nutzen möchten)"
543
 
544
+ #: admin/views/admin-settings-help.php:67
545
+ msgid "Add content after accepting the cookie notice."
546
+ msgstr ""
547
+
548
+ #: admin/views/admin-settings-help.php:80
549
+ #: admin/views/admin-settings-help.php:83 admin/views/goto-pro.php:93
550
  msgid "Documentation"
551
  msgstr "Dokumentation"
552
 
553
+ #: admin/views/admin-settings-help.php:81
554
  msgid "Refer to our documentation to set and get started"
555
  msgstr "Werfen Sie einen Blick in unsere Dokumentation für erste Schritte"
556
 
557
+ #: admin/views/admin-settings-help.php:88
558
  msgid "Help and Support"
559
  msgstr "Hilfe und Support"
560
 
561
+ #: admin/views/admin-settings-help.php:89
562
  msgid "We would love to help you on any queries or issues."
563
  msgstr "Wir helfen Ihnen gerne bei Fragen oder Problemen."
564
 
565
+ #: admin/views/admin-settings-help.php:91
566
  msgid "Contact Us"
567
  msgstr "Kontaktieren Sie uns"
568
 
755
 
756
  #: admin/views/goto-pro.php:86
757
  msgid ""
758
+ "Allow to display cookie settings popup where site visitors can opt-in or "
759
  "give consent to cookie categories."
760
  msgstr ""
 
 
761
 
762
  #: admin/views/goto-pro.php:87
763
  msgid ""
796
  msgstr "Cookie-Liste"
797
 
798
  #: public/class-cookie-law-info-public.php:161
799
+ #: public/modules/shortcode/shortcode.php:133
800
  msgid "Cookie"
801
  msgstr "Cookie"
802
 
832
  msgid "Nothing found in Trash"
833
  msgstr "Es wurden keine Einträge im Papierkorb gefunden"
834
 
835
+ #: public/modules/shortcode/shortcode.php:85
836
  msgid "Delete Cookies"
837
  msgstr "Cookies löschen"
838
 
839
+ #: public/modules/shortcode/shortcode.php:134
840
  msgid "Type"
841
  msgstr "Typ"
842
 
843
+ #: public/modules/shortcode/shortcode.php:135
844
  msgid "Duration"
845
  msgstr "Dauer"
846
 
847
+ #: public/modules/shortcode/shortcode.php:136
848
  msgid "Description"
849
  msgstr "Beschreibung"
850
 
851
+ #~ msgid "General"
852
+ #~ msgstr "Allgemeines"
853
+
854
+ #~ msgid "Customise Cookie Bar"
855
+ #~ msgstr "Cookie-Leiste anpassen"
856
+
857
+ #~ msgid "Customise Buttons"
858
+ #~ msgstr "Anpassen der Schaltflächen"
859
+
860
+ #~ msgid "Advanced"
861
+ #~ msgstr "Erweitert"
862
+
863
+ #~ msgid "Help Guide"
864
+ #~ msgstr "Leitfaden"
865
+
866
+ #~ msgid ""
867
+ #~ "Allow to display cookie cettings popup where site visitors can opt-in or "
868
+ #~ "give consent to cookie categories."
869
+ #~ msgstr ""
870
+ #~ "Anzeigen eines Cookie-Einstellungen-Popups, wo der Website-Besucher seine "
871
+ #~ "Einwillung für bestimmte Cookie-Kategorien erteilen kann."
872
+
873
  #~ msgid "Privacy Overview"
874
  #~ msgstr "Datenschutzübersicht"
875
 
languages/cookie-law-info-fr_FR.mo CHANGED
Binary file
languages/cookie-law-info-fr_FR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2018-09-12 13:57+0530\n"
5
- "PO-Revision-Date: 2018-09-12 13:59+0530\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
@@ -15,86 +15,65 @@ msgstr ""
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
 
18
  #: admin/class-cookie-law-info-admin.php:143
19
- #: admin/class-cookie-law-info-admin.php:144
20
- #: admin/partials/cookie-law-info-admin_settings.php:18
21
  msgid "Cookie Law Settings"
22
  msgstr "Réglage de l’extension Cookie Law"
23
 
 
24
  #: admin/class-cookie-law-info-admin.php:151
25
- #: admin/class-cookie-law-info-admin.php:152
26
  msgid "Non-necessary Cookie"
27
  msgstr "Cookie non nécessaire"
28
 
29
- #: admin/class-cookie-law-info-admin.php:161
30
- #: includes/class-cookie-law-info.php:309
31
  msgid "Settings"
32
  msgstr "Paramètres"
33
 
34
- #: admin/class-cookie-law-info-admin.php:162
35
  msgid "Support"
36
  msgstr "Soutien"
37
 
38
- #: admin/class-cookie-law-info-admin.php:200
39
- #: admin/class-cookie-law-info-admin.php:245
40
  msgid "Settings Updated."
41
  msgstr "Réglages Mis à Jour."
42
 
43
- #: admin/class-cookie-law-info-admin.php:226
44
  msgid "You do not have sufficient permission to perform this operation"
45
  msgstr ""
46
  "Vous n’avez pas les autorisations suffisantes pour effectuer cette opération"
47
 
48
- #: admin/class-cookie-law-info-admin.php:260
49
  msgid "ERROR MIGRATING SETTINGS (ERROR: 2)"
50
  msgstr "MIGRATION DES PARAMÈTRES ERROR (ERREUR : 2)"
51
 
52
- #: admin/partials/cookie-law-info-admin_settings.php:12
53
  #: admin/views/admin_non_necessary_cookie.php:14
54
  msgid "Settings updated."
55
  msgstr "Réglages Mis à Jour."
56
 
57
- #: admin/partials/cookie-law-info-admin_settings.php:13
58
  #: admin/views/admin_non_necessary_cookie.php:15
59
  msgid "Unable to update Settings."
60
  msgstr "Impossible de mettre à jour les paramètres. %s"
61
 
62
- #: admin/partials/cookie-law-info-admin_settings.php:14
63
  msgid "Settings reset to defaults."
64
  msgstr "Réglages remis aux valeurs par défaut."
65
 
66
- #: admin/partials/cookie-law-info-admin_settings.php:15
67
  msgid "Unable to reset settings."
68
  msgstr "Impossible de réinitialiser les réglages."
69
 
70
- #: admin/partials/cookie-law-info-admin_settings.php:26
71
  msgid "Your Cookie Law Info bar is switched on"
72
  msgstr "Votre barre d’informations de Cookie droit est en marche"
73
 
74
- #: admin/partials/cookie-law-info-admin_settings.php:34
75
  msgid "Your Cookie Law Info bar is switched off"
76
  msgstr "Votre barre d’informations de Cookie droit est éteint"
77
 
78
- #: admin/partials/cookie-law-info-admin_settings.php:42
79
- msgid "General"
80
- msgstr "Général"
81
-
82
- #: admin/partials/cookie-law-info-admin_settings.php:43
83
- msgid "Customise Cookie Bar"
84
- msgstr "Personnaliser le Cookie Bar"
85
-
86
- #: admin/partials/cookie-law-info-admin_settings.php:44
87
- msgid "Customise Buttons"
88
- msgstr "Personnalisez vos boutons"
89
-
90
- #: admin/partials/cookie-law-info-admin_settings.php:45
91
- msgid "Advanced"
92
- msgstr "Avancé"
93
-
94
- #: admin/partials/cookie-law-info-admin_settings.php:46
95
- msgid "Shortcodes"
96
- msgstr "Codes abrégés"
97
-
98
  #: admin/views/admin-settings-advanced.php:9
99
  msgid ""
100
  "Sometimes themes apply settings that clash with plugins. If that happens, "
@@ -190,7 +169,8 @@ msgstr "Action"
190
 
191
  #: admin/views/admin-settings-buttons.php:61
192
  #: admin/views/admin-settings-buttons.php:136
193
- #: admin/views/admin-settings-buttons.php:196
 
194
  msgid "URL"
195
  msgstr "URL"
196
 
@@ -201,41 +181,44 @@ msgstr "Le bouton ne sera lié qu'à l'URL si Action = Ouvrir l'URL"
201
 
202
  #: admin/views/admin-settings-buttons.php:69
203
  #: admin/views/admin-settings-buttons.php:144
204
- #: admin/views/admin-settings-buttons.php:202
205
  msgid "Open URL in new window?"
206
  msgstr "Ouvrir le lien dans une nouvelle fenêtre ?"
207
 
208
  #: admin/views/admin-settings-buttons.php:71
209
  #: admin/views/admin-settings-buttons.php:146
210
- #: admin/views/admin-settings-buttons.php:204
211
- #: admin/views/admin-settings-general.php:46
212
- #: admin/views/admin-settings-general.php:90
 
213
  #: admin/views/admin-settings-general.php:106
214
- #: admin/views/admin-settings-general.php:119
215
- #: admin/views/admin-settings-general.php:163
216
- #: admin/views/admin-settings-general.php:171
217
- #: admin/views/admin-settings-general.php:178
218
- #: admin/views/admin-settings-messagebar.php:43
 
219
  msgid "Yes"
220
  msgstr "Oui"
221
 
222
  #: admin/views/admin-settings-buttons.php:73
223
  #: admin/views/admin-settings-buttons.php:147
224
- #: admin/views/admin-settings-buttons.php:205
225
- #: admin/views/admin-settings-general.php:47
226
- #: admin/views/admin-settings-general.php:91
 
227
  #: admin/views/admin-settings-general.php:107
228
- #: admin/views/admin-settings-general.php:120
229
- #: admin/views/admin-settings-general.php:164
230
- #: admin/views/admin-settings-general.php:172
231
- #: admin/views/admin-settings-general.php:179
232
- #: admin/views/admin-settings-messagebar.php:44
 
233
  msgid "No"
234
  msgstr "No"
235
 
236
  #: admin/views/admin-settings-buttons.php:80
237
  #: admin/views/admin-settings-buttons.php:151
238
- #: admin/views/admin-settings-buttons.php:209
239
  msgid "Size"
240
  msgstr "Taille"
241
 
@@ -247,18 +230,42 @@ msgstr ""
247
  "Ce lien/bouton peut être utilisé pour fournir un lien à votre politique de "
248
  "confidentialité & Cookie. Vous pouvez personnaliser comme tu veux."
249
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
250
  #: admin/views/admin-settings-general.php:9
251
  #: admin/views/admin-settings-general.php:15
 
252
  msgid "Cookie Bar"
253
  msgstr "Barre de Cookie"
254
 
255
  #: admin/views/admin-settings-general.php:10
256
- #: admin/views/admin-settings-general.php:114
257
  msgid "Show Again Tab"
258
  msgstr "Utilisation afficher à nouveau l’onglet ?"
259
 
260
  #: admin/views/admin-settings-general.php:11
261
- #: admin/views/admin-settings-general.php:155
262
  msgid "Other"
263
  msgstr "Autres"
264
 
@@ -288,11 +295,11 @@ msgstr "Entête"
288
  msgid "Footer"
289
  msgstr "Entrer texte de copyright pied de page"
290
 
291
- #: admin/views/admin-settings-general.php:44
292
  msgid "Fix Cookie Bar to Header?"
293
  msgstr "Fixer la barre de cookies à l'en-tête?"
294
 
295
- #: admin/views/admin-settings-general.php:48
296
  msgid ""
297
  "If you select \"Header\" then you can optionally stick the cookie bar to the "
298
  "header. Will not have any effect if you select \"Footer\"."
@@ -301,53 +308,71 @@ msgstr ""
301
  "barre de cookies dans l'en-tête. N'a aucun effet si vous sélectionnez "
302
  "\"Footer\"."
303
 
304
- #: admin/views/admin-settings-general.php:54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  msgid "On load"
306
  msgstr "Au chargement"
307
 
308
- #: admin/views/admin-settings-general.php:59
309
- #: admin/views/admin-settings-general.php:62
310
  #: admin/views/admin-settings-general.php:75
311
  #: admin/views/admin-settings-general.php:78
 
 
312
  msgid "Animate"
313
  msgstr "Animer"
314
 
315
- #: admin/views/admin-settings-general.php:60
316
- #: admin/views/admin-settings-general.php:63
317
  msgid "Sticky"
318
  msgstr "Collante"
319
 
320
- #: admin/views/admin-settings-general.php:70
321
  msgid "On hide"
322
  msgstr "Sur la peau"
323
 
324
- #: admin/views/admin-settings-general.php:76
325
- #: admin/views/admin-settings-general.php:79
326
  msgid "Disappear"
327
  msgstr "Disparaître"
328
 
329
- #: admin/views/admin-settings-general.php:88
330
  msgid "Auto-hide(Accept) cookie bar after delay?"
331
  msgstr "Masquer les barres de cookie après délai ?"
332
 
333
- #: admin/views/admin-settings-general.php:95
334
  msgid "Milliseconds until hidden"
335
  msgstr "Millisecondes jusqu'à caché"
336
 
337
- #: admin/views/admin-settings-general.php:98
338
  msgid "Specify milliseconds (not seconds)"
339
  msgstr "Indiquez millisecondes (pas secondes)"
340
 
341
- #: admin/views/admin-settings-general.php:98
342
  msgid "seconds"
343
  msgstr "secondes"
344
 
345
- #: admin/views/admin-settings-general.php:104
346
  msgid "Auto-hide cookie bar if the user scrolls ( Accept on Scroll )?"
347
  msgstr ""
348
  "Masquer automatiquement la barre de cookie si l’utilisateur fait défiler ?"
349
 
350
- #: admin/views/admin-settings-general.php:108
351
  msgid ""
352
  "As per latest GDPR policies it is required to take an explicit consent for "
353
  "the cookies. Use this option with discretion especially if you serve EU"
@@ -356,98 +381,66 @@ msgstr ""
356
  "consentement explicite pour les cookies. Utilisez cette option avec "
357
  "précaution, surtout si vous desservez EU"
358
 
359
- #: admin/views/admin-settings-general.php:117
 
 
 
 
360
  msgid "Use Show Again Tab?"
361
  msgstr "Utiliser l'onglet Afficher à nouveau?"
362
 
363
- #: admin/views/admin-settings-general.php:124
364
  msgid "Tab Position"
365
  msgstr "Position des onglets"
366
 
367
- #: admin/views/admin-settings-general.php:129
368
- #: admin/views/admin-settings-general.php:132
369
  msgid "Right"
370
  msgstr "Droit"
371
 
372
- #: admin/views/admin-settings-general.php:130
373
- #: admin/views/admin-settings-general.php:133
374
  msgid "Left"
375
  msgstr "Gauche"
376
 
377
- #: admin/views/admin-settings-general.php:140
378
  msgid "From Left Margin"
379
  msgstr "Marge de gauche"
380
 
381
- #: admin/views/admin-settings-general.php:143
382
  msgid "Specify"
383
  msgstr "Spécifiez"
384
 
385
- #: admin/views/admin-settings-general.php:147
386
  msgid "Show More Text"
387
  msgstr "Afficher plus de texte"
388
 
389
- #: admin/views/admin-settings-general.php:158
390
  msgid "Reload after \"scroll accept\" event?"
391
  msgstr "Recharger après l'événement \"scroll accept\"?"
392
 
393
- #: admin/views/admin-settings-general.php:169
394
  msgid "Reload after Accept button click"
395
  msgstr "Recharger après événement « défilement accepter » ?"
396
 
397
- #: admin/views/admin-settings-general.php:176
398
  msgid "Reload after Reject button click"
399
  msgstr "Recharger après cliqué sur le bouton rejeter"
400
 
401
- #: admin/views/admin-settings-messagebar.php:8
402
- msgid "Message Bar"
403
- msgstr "barre des messages"
404
-
405
- #: admin/views/admin-settings-messagebar.php:11
406
- msgid "Message"
407
- msgstr "Message"
408
-
409
- #: admin/views/admin-settings-messagebar.php:17
410
- msgid "Shortcodes allowed: see the Shortcodes tab"
411
- msgstr "Shortcodes autorisée : Voir l’onglet Shortcodes"
412
 
413
- #: admin/views/admin-settings-messagebar.php:17
414
- msgid ""
415
- "Examples: \"We use cookies on this website [cookie_accept] to find out how "
416
- "to delete cookies [cookie_link].\""
417
  msgstr ""
418
- "Exemples : « nous utilisons les cookies sur ce site [cookie_accept] pour "
419
- "savoir comment faire pour supprimer les cookies [cookie_link]. »"
420
-
421
- #: admin/views/admin-settings-messagebar.php:21
422
- msgid "Cookie Bar Colour"
423
- msgstr "Couleur de barre de biscuit"
424
 
425
- #: admin/views/admin-settings-messagebar.php:31
426
- msgid "Text Colour"
427
- msgstr "Couleur du texte"
428
-
429
- #: admin/views/admin-settings-messagebar.php:40
430
- msgid "Show Border?"
431
- msgstr "Afficher la Bordure?"
432
-
433
- #: admin/views/admin-settings-messagebar.php:48
434
- msgid "Border Colour"
435
- msgstr "Couleur de bordure"
436
-
437
- #: admin/views/admin-settings-messagebar.php:56
438
- msgid "Font"
439
- msgstr "Typologie"
440
-
441
- #: admin/views/admin-settings-save-button.php:11
442
- #: admin/views/admin_non_necessary_cookie.php:57
443
- msgid "Update Settings"
444
- msgstr "Mettre à jour des réglages"
445
-
446
- #: admin/views/admin-settings-shortcodes.php:9
447
  msgid "Cookie bar shortcodes"
448
  msgstr "Catégorie du cookie"
449
 
450
- #: admin/views/admin-settings-shortcodes.php:10
451
  msgid ""
452
  "You can enter the shortcodes in the \"message\" field of the Cookie Law Info "
453
  "bar. They add nicely formatted buttons and/or links into the cookie bar, "
@@ -458,7 +451,7 @@ msgstr ""
458
  "des liens dans la barre de cookie, sans que vous ayez à ajouter des éléments "
459
  "HTML."
460
 
461
- #: admin/views/admin-settings-shortcodes.php:15
462
  msgid ""
463
  "If you just want a standard green \"Accept\" button that closes the header "
464
  "and nothing more, use this shortcode. It is already styled, you don't need "
@@ -468,7 +461,7 @@ msgstr ""
468
  "tête et rien de plus, utiliser ce shortcode. Il est déjà décoré, vous n’avez "
469
  "pas besoin pour le personnaliser."
470
 
471
- #: admin/views/admin-settings-shortcodes.php:19
472
  msgid ""
473
  "Alternatively you can add a colour value. Choose from: red, blue, orange, "
474
  "yellow, green or pink."
@@ -476,29 +469,29 @@ msgstr ""
476
  "Vous pouvez également ajouter une valeur de couleur. Choisissez parmi: "
477
  "rouge, bleu, orange, jaune, vert ou rose."
478
 
479
- #: admin/views/admin-settings-shortcodes.php:19
480
  msgid "Careful to use the British spelling of \"colour\" for the attribute."
481
  msgstr ""
482
  "Attention à utiliser l’orthographe britannique de « couleur » pour "
483
  "l’attribut."
484
 
485
- #: admin/views/admin-settings-shortcodes.php:23
486
  msgid "This is the \"main button\" you customise above."
487
  msgstr "C’est le « bouton principal » vous customisez ci-dessus."
488
 
489
- #: admin/views/admin-settings-shortcodes.php:27
490
  msgid "This is the cookie reject button shortcode."
491
  msgstr "Il s’agit de rejeter cookie bouton shortcode."
492
 
493
- #: admin/views/admin-settings-shortcodes.php:31
494
  msgid "This is the \"read more\" link you customise above."
495
  msgstr "C’est le lien « lire la suite » vous customisez ci-dessus."
496
 
497
- #: admin/views/admin-settings-shortcodes.php:35
498
  msgid "Other shortcodes"
499
  msgstr "Autres Shortcodes"
500
 
501
- #: admin/views/admin-settings-shortcodes.php:36
502
  msgid ""
503
  "These shortcodes can be used in pages and posts on your website. It is not "
504
  "recommended to use these inside the cookie bar itself."
@@ -507,7 +500,7 @@ msgstr ""
507
  "votre site Web. Il n'est pas recommandé d'utiliser ceux-ci à l'intérieur de "
508
  "la barre de cookies elle-même."
509
 
510
- #: admin/views/admin-settings-shortcodes.php:42
511
  msgid ""
512
  "This prints out a nice table of cookies, in line with the guidance given by "
513
  "the ICO."
@@ -515,7 +508,7 @@ msgstr ""
515
  "Ceci affiche sur une belle table de cookies, conformément aux orientations "
516
  "données par l’ICO."
517
 
518
- #: admin/views/admin-settings-shortcodes.php:42
519
  msgid ""
520
  "You need to enter the cookies your website uses via the Cookie Law Info menu "
521
  "in your WordPress dashboard."
@@ -523,7 +516,7 @@ msgstr ""
523
  "Vous devez entrer votre site Web utilise des cookies via le menu Info droit "
524
  "de Cookie dans votre tableau de bord de WordPress."
525
 
526
- #: admin/views/admin-settings-shortcodes.php:52
527
  msgid ""
528
  "This shortcode will display a normal HTML link which when clicked, will "
529
  "delete the cookie set by Cookie Law Info (this cookie is used to remember "
@@ -533,22 +526,96 @@ msgstr ""
533
  "supprimera le cookie défini par Cookie droit Info (ce cookie est utilisé "
534
  "pour se souvenir que la barre de cookie est fermée)."
535
 
536
- #: admin/views/admin-settings-shortcodes.php:56
537
  msgid ""
538
  "Add any text you like- useful if you want e.g. another language to English."
539
  msgstr ""
540
  "Ajouter n’importe quel texte vous ressemblant-utile si vous voulez par "
541
  "exemple une autre langue pour l’anglais."
542
 
543
- #: admin/views/admin_non_necessary_cookie.php:18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
544
  msgid "Non-necessary Cookie Settings"
545
  msgstr "Paramètres de cookies non nécessaire"
546
 
547
- #: admin/views/admin_non_necessary_cookie.php:26
548
  msgid "Enable Non-necessary Cookie"
549
  msgstr "Activez les cookies Non nécessaire"
550
 
551
- #: admin/views/admin_non_necessary_cookie.php:33
552
  msgid ""
553
  "This script will be added to the page HEAD section if the above settings is "
554
  "enabled and user has give consent."
@@ -556,7 +623,7 @@ msgstr ""
556
  "Ce script s’ajoutera à la page section HEAD, si les paramètres ci-dessus est "
557
  "activée et que l’utilisateur a donner consentement."
558
 
559
- #: admin/views/admin_non_necessary_cookie.php:38
560
  msgid ""
561
  "Print scripts in the head tag on the front end if above cookie settings is "
562
  "enabled and user has given consent."
@@ -565,7 +632,7 @@ msgstr ""
565
  "de cookie les paramètres est activée et l’utilisateur a donné son "
566
  "consentement."
567
 
568
- #: admin/views/admin_non_necessary_cookie.php:45
569
  msgid ""
570
  "This script will be added right after the BODY section if the above settings "
571
  "is enabled and user has given consent."
@@ -573,7 +640,7 @@ msgstr ""
573
  "Ce script sera ajouté droit après la section de corps si les paramètres ci-"
574
  "dessus est activée et que l’utilisateur a donné son consentement."
575
 
576
- #: admin/views/admin_non_necessary_cookie.php:48
577
  msgid ""
578
  "Print scripts before the closing body tag on the front end if above cookie "
579
  "settings is enabled and user has given consent."
@@ -582,21 +649,21 @@ msgstr ""
582
  "paramètres de cookies ci-dessus sont activés et que l'utilisateur a donné "
583
  "son consentement."
584
 
585
- #: admin/views/goto-pro.php:2
586
  msgid "Where did my settings go?"
587
  msgstr "Où sont passés mes réglages?"
588
 
589
- #: admin/views/goto-pro.php:3
590
  msgid "Cookie Law Info version 0.9 has been updated and has new settings."
591
  msgstr ""
592
  "Cookie Law Info version 0.9 a été mis à jour et comporte de nouveaux "
593
  "paramètres."
594
 
595
- #: admin/views/goto-pro.php:3
596
  msgid "Your previous settings are safe."
597
  msgstr "Vos paramètres précédents sont en sécurité."
598
 
599
- #: admin/views/goto-pro.php:4
600
  msgid ""
601
  "You can either copy over your old settings to this version, or use the new "
602
  "default values."
@@ -604,19 +671,19 @@ msgstr ""
604
  "Vous pouvez soit copier vos anciens paramètres vers cette version, soit "
605
  "utiliser les nouvelles valeurs par défaut."
606
 
607
- #: admin/views/goto-pro.php:6
608
  msgid "Would you like to:"
609
  msgstr "Voulez-vous :"
610
 
611
- #: admin/views/goto-pro.php:8
612
  msgid "Use previous settings"
613
  msgstr "Paramètres mis à jour."
614
 
615
- #: admin/views/goto-pro.php:9
616
  msgid "Start afresh with the new version"
617
  msgstr "Repartir avec la nouvelle version"
618
 
619
- #: admin/views/goto-pro.php:13
620
  msgid ""
621
  "If you want to go back to the previous version you can always download it "
622
  "again from"
@@ -624,122 +691,90 @@ msgstr ""
624
  "Si vous souhaitez revenir à la version précédente, vous pouvez toujours "
625
  "télécharger à nouveau de"
626
 
627
- #: admin/views/goto-pro.php:16
628
- msgid "GDPR Cookie Consent Pro"
629
- msgstr "Consentement GDPR Cookie"
630
 
631
- #: admin/views/goto-pro.php:19
632
  msgid ""
633
- "* Manage list of cookies ( Name, CookieID, Description, Duration, Type, "
634
- "Category, Header Script, Footer Script)"
635
  msgstr ""
636
- "Gérer les liste de cookies (nom, CookieID, Description, durée, Type, "
637
- "catégorie, Script en-tête, pied de page Script)"
638
 
639
- #: admin/views/goto-pro.php:20
640
- msgid "* Manage Cookie Categories"
641
- msgstr "Gérer les catégories de Cookie"
642
 
643
- #: admin/views/goto-pro.php:21
644
  msgid ""
645
- "* Allow to display Cookie Settings popup where site visitors can opt-in or "
646
- "give consent to Cookie Categories"
647
  msgstr ""
648
- "* Permettre l’affichage contextuel paramètres de Cookie où visiteurs du site "
649
- "peuvent participer ou donner son consentement à des catégories de Cookie"
650
 
651
- #: admin/views/goto-pro.php:22
652
- msgid ""
653
- "* Fully customisable to look just like your own website's style: customise "
654
- "the colours, styles and fonts"
655
  msgstr ""
656
- "* Entièrement personnalisable à regarder comme style de votre propre site "
657
- "Web : personnaliser les couleurs, les styles et les polices"
658
 
659
- #: admin/views/goto-pro.php:23
660
- msgid "* Automatic Script Blocker"
661
- msgstr "* Bloqueur de Script automatique"
 
 
662
 
663
- #: admin/views/goto-pro.php:24
664
- msgid "* Scan and Import/Export cookie list"
665
- msgstr "* Analyse et liste de cookie Import/Export"
666
 
667
- #: admin/views/goto-pro.php:25
668
- msgid "* User Consent Report"
669
- msgstr "* Rapport de consentement de l’utilisateur"
670
 
671
- #: admin/views/goto-pro.php:26
672
- msgid "* Customisable Privacy Overview in Cookie Bar"
673
- msgstr "* Personnalisable intimité Overview in Cookie Bar"
 
 
674
 
675
- #: admin/views/goto-pro.php:27
676
- msgid "* Show Cookie Bar only for EU Countries"
677
- msgstr "* Afficher la barre de Cookie uniquement pour les pays de l’UE"
678
 
679
- #: admin/views/goto-pro.php:28
680
- msgid "* qTranslate support"
681
- msgstr "* qTranslate soutien"
 
 
 
 
 
682
 
683
- #: admin/views/goto-pro.php:29
684
- msgid "* WPML support"
685
- msgstr "Support WPML"
 
 
686
 
687
- #: admin/views/goto-pro.php:31
688
- msgid "Upgrade to GDPR Pro"
689
- msgstr "Passer au niveau Pro"
690
 
691
- #: admin/views/goto-pro.php:59
692
  msgid "Like this plugin?"
693
  msgstr "Aimez-vous ce plugin ?"
694
 
695
- #: admin/views/goto-pro.php:60
696
  msgid "If you find this plugin useful please show your support and rate it"
697
  msgstr ""
698
  "Si vous trouvez ce plugin utile s’il vous plaît, montrez votre soutien et "
699
  "notez-le"
700
 
701
- #: admin/views/goto-pro.php:60
702
  msgid " on"
703
  msgstr "en"
704
 
705
- #: admin/views/goto-pro.php:60
706
  msgid " much appreciated!"
707
  msgstr "Vraiment très apprécié !"
708
 
709
- #: admin/views/goto-pro.php:63
710
- msgid "Help"
711
- msgstr "Aide"
712
-
713
- #: admin/views/goto-pro.php:65
714
- msgid "Help and Support"
715
- msgstr "Aide et Assistance"
716
-
717
- #: admin/views/goto-pro.php:66
718
- msgid "Report a Bug"
719
- msgstr "Signaler un bogue"
720
-
721
- #: admin/views/goto-pro.php:67
722
- msgid "Suggest a Feature"
723
- msgstr "Suggérer une caractéristique"
724
-
725
- #: admin/views/goto-pro.php:68
726
- msgid "About the law"
727
- msgstr "Sur"
728
-
729
- #: includes/class-cookie-law-info.php:328
730
- msgid ""
731
- "This website uses cookies to improve your experience. We'll assume you're ok "
732
- "with this, but you can opt-out if you wish.[cookie_button] [cookie_settings] "
733
- "[cookie_link]"
734
- msgstr ""
735
- "Ce site utilise des cookies pour améliorer votre expérience. Nous "
736
- "supposerons que vous êtes OK avec cela, mais vous pouvez opt-dehors si vous "
737
- "le souhaitez. [cookie_button] [cookie_settings] [cookie_link]"
738
-
739
- #: includes/class-cookie-law-info.php:335
740
- msgid "Privacy & Cookies Policy"
741
- msgstr "Politique de confidentialité et d'utilisation des cookies"
742
-
743
  #: public/class-cookie-law-info-public.php:159
744
  msgid "GDPR Cookie Consent"
745
  msgstr "Consentement GDPR Cookie"
@@ -749,7 +784,7 @@ msgid "Cookie List"
749
  msgstr "Liste de cookie"
750
 
751
  #: public/class-cookie-law-info-public.php:161
752
- #: public/modules/shortcode/shortcode.php:114
753
  msgid "Cookie"
754
  msgstr "Cookie"
755
 
@@ -785,22 +820,113 @@ msgstr "Rien n’a été trouvé"
785
  msgid "Nothing found in Trash"
786
  msgstr "Rien n’a été trouvé dans la corbeille"
787
 
788
- #: public/modules/shortcode/shortcode.php:66
789
  msgid "Delete Cookies"
790
  msgstr "Supprimer les cookies"
791
 
792
- #: public/modules/shortcode/shortcode.php:115
793
  msgid "Type"
794
  msgstr "Le format de date n'est pas correct."
795
 
796
- #: public/modules/shortcode/shortcode.php:116
797
  msgid "Duration"
798
  msgstr "Durée"
799
 
800
- #: public/modules/shortcode/shortcode.php:117
801
  msgid "Description"
802
  msgstr "Description"
803
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  #~ msgid "Privacy Overview"
805
  #~ msgstr "Résumé sur la confidentialité"
806
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2018-10-25 11:46+0530\n"
5
+ "PO-Revision-Date: 2018-10-25 11:51+0530\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
+ #: admin/class-cookie-law-info-admin.php:142
19
  #: admin/class-cookie-law-info-admin.php:143
20
+ #: admin/partials/cookie-law-info-admin_settings.php:31
 
21
  msgid "Cookie Law Settings"
22
  msgstr "Réglage de l’extension Cookie Law"
23
 
24
+ #: admin/class-cookie-law-info-admin.php:150
25
  #: admin/class-cookie-law-info-admin.php:151
 
26
  msgid "Non-necessary Cookie"
27
  msgstr "Cookie non nécessaire"
28
 
29
+ #: admin/class-cookie-law-info-admin.php:175
 
30
  msgid "Settings"
31
  msgstr "Paramètres"
32
 
33
+ #: admin/class-cookie-law-info-admin.php:176
34
  msgid "Support"
35
  msgstr "Soutien"
36
 
37
+ #: admin/class-cookie-law-info-admin.php:216
38
+ #: admin/class-cookie-law-info-admin.php:267
39
  msgid "Settings Updated."
40
  msgstr "Réglages Mis à Jour."
41
 
42
+ #: admin/class-cookie-law-info-admin.php:244
43
  msgid "You do not have sufficient permission to perform this operation"
44
  msgstr ""
45
  "Vous n’avez pas les autorisations suffisantes pour effectuer cette opération"
46
 
47
+ #: admin/class-cookie-law-info-admin.php:282
48
  msgid "ERROR MIGRATING SETTINGS (ERROR: 2)"
49
  msgstr "MIGRATION DES PARAMÈTRES ERROR (ERREUR : 2)"
50
 
51
+ #: admin/partials/cookie-law-info-admin_settings.php:25
52
  #: admin/views/admin_non_necessary_cookie.php:14
53
  msgid "Settings updated."
54
  msgstr "Réglages Mis à Jour."
55
 
56
+ #: admin/partials/cookie-law-info-admin_settings.php:26
57
  #: admin/views/admin_non_necessary_cookie.php:15
58
  msgid "Unable to update Settings."
59
  msgstr "Impossible de mettre à jour les paramètres. %s"
60
 
61
+ #: admin/partials/cookie-law-info-admin_settings.php:27
62
  msgid "Settings reset to defaults."
63
  msgstr "Réglages remis aux valeurs par défaut."
64
 
65
+ #: admin/partials/cookie-law-info-admin_settings.php:28
66
  msgid "Unable to reset settings."
67
  msgstr "Impossible de réinitialiser les réglages."
68
 
69
+ #: admin/partials/cookie-law-info-admin_settings.php:39
70
  msgid "Your Cookie Law Info bar is switched on"
71
  msgstr "Votre barre d’informations de Cookie droit est en marche"
72
 
73
+ #: admin/partials/cookie-law-info-admin_settings.php:47
74
  msgid "Your Cookie Law Info bar is switched off"
75
  msgstr "Votre barre d’informations de Cookie droit est éteint"
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  #: admin/views/admin-settings-advanced.php:9
78
  msgid ""
79
  "Sometimes themes apply settings that clash with plugins. If that happens, "
169
 
170
  #: admin/views/admin-settings-buttons.php:61
171
  #: admin/views/admin-settings-buttons.php:136
172
+ #: admin/views/admin-settings-buttons.php:199
173
+ #: admin/views/admin-settings-buttons.php:206
174
  msgid "URL"
175
  msgstr "URL"
176
 
181
 
182
  #: admin/views/admin-settings-buttons.php:69
183
  #: admin/views/admin-settings-buttons.php:144
 
184
  msgid "Open URL in new window?"
185
  msgstr "Ouvrir le lien dans une nouvelle fenêtre ?"
186
 
187
  #: admin/views/admin-settings-buttons.php:71
188
  #: admin/views/admin-settings-buttons.php:146
189
+ #: admin/views/admin-settings-buttons.php:250
190
+ #: admin/views/admin-settings-general.php:45
191
+ #: admin/views/admin-settings-general.php:55
192
+ #: admin/views/admin-settings-general.php:63
193
  #: admin/views/admin-settings-general.php:106
194
+ #: admin/views/admin-settings-general.php:122
195
+ #: admin/views/admin-settings-general.php:136
196
+ #: admin/views/admin-settings-general.php:180
197
+ #: admin/views/admin-settings-general.php:188
198
+ #: admin/views/admin-settings-general.php:195
199
+ #: admin/views/admin-settings-messagebar.php:51
200
  msgid "Yes"
201
  msgstr "Oui"
202
 
203
  #: admin/views/admin-settings-buttons.php:73
204
  #: admin/views/admin-settings-buttons.php:147
205
+ #: admin/views/admin-settings-buttons.php:251
206
+ #: admin/views/admin-settings-general.php:46
207
+ #: admin/views/admin-settings-general.php:56
208
+ #: admin/views/admin-settings-general.php:64
209
  #: admin/views/admin-settings-general.php:107
210
+ #: admin/views/admin-settings-general.php:123
211
+ #: admin/views/admin-settings-general.php:137
212
+ #: admin/views/admin-settings-general.php:181
213
+ #: admin/views/admin-settings-general.php:189
214
+ #: admin/views/admin-settings-general.php:196
215
+ #: admin/views/admin-settings-messagebar.php:52
216
  msgid "No"
217
  msgstr "No"
218
 
219
  #: admin/views/admin-settings-buttons.php:80
220
  #: admin/views/admin-settings-buttons.php:151
221
+ #: admin/views/admin-settings-buttons.php:255
222
  msgid "Size"
223
  msgstr "Taille"
224
 
230
  "Ce lien/bouton peut être utilisé pour fournir un lien à votre politique de "
231
  "confidentialité & Cookie. Vous pouvez personnaliser comme tu veux."
232
 
233
+ #: admin/views/admin-settings-buttons.php:197
234
+ msgid "URL or Page?"
235
+ msgstr ""
236
+
237
+ #: admin/views/admin-settings-buttons.php:201
238
+ #: admin/views/admin-settings-buttons.php:212
239
+ msgid "Page"
240
+ msgstr ""
241
+
242
+ #: admin/views/admin-settings-buttons.php:215
243
+ msgid "Select One"
244
+ msgstr ""
245
+
246
+ #: admin/views/admin-settings-buttons.php:240
247
+ msgid "The currently selected page does not exist. Please select a new page."
248
+ msgstr ""
249
+ "La page actuellement sélectionnée n'existe pas. Veuillez sélectionner une "
250
+ "nouvelle page."
251
+
252
+ #: admin/views/admin-settings-buttons.php:248
253
+ msgid "Open in new window?"
254
+ msgstr ""
255
+
256
  #: admin/views/admin-settings-general.php:9
257
  #: admin/views/admin-settings-general.php:15
258
+ #: admin/views/admin-settings-messagebar.php:8
259
  msgid "Cookie Bar"
260
  msgstr "Barre de Cookie"
261
 
262
  #: admin/views/admin-settings-general.php:10
263
+ #: admin/views/admin-settings-general.php:131
264
  msgid "Show Again Tab"
265
  msgstr "Utilisation afficher à nouveau l’onglet ?"
266
 
267
  #: admin/views/admin-settings-general.php:11
268
+ #: admin/views/admin-settings-general.php:172
269
  msgid "Other"
270
  msgstr "Autres"
271
 
295
  msgid "Footer"
296
  msgstr "Entrer texte de copyright pied de page"
297
 
298
+ #: admin/views/admin-settings-general.php:43
299
  msgid "Fix Cookie Bar to Header?"
300
  msgstr "Fixer la barre de cookies à l'en-tête?"
301
 
302
+ #: admin/views/admin-settings-general.php:47
303
  msgid ""
304
  "If you select \"Header\" then you can optionally stick the cookie bar to the "
305
  "header. Will not have any effect if you select \"Footer\"."
308
  "barre de cookies dans l'en-tête. N'a aucun effet si vous sélectionnez "
309
  "\"Footer\"."
310
 
311
+ #: admin/views/admin-settings-general.php:53
312
+ msgid "Cookie Bar as popup:"
313
+ msgstr ""
314
+
315
+ #: admin/views/admin-settings-general.php:61
316
+ msgid "Add overlay?"
317
+ msgstr ""
318
+
319
+ #: admin/views/admin-settings-general.php:65
320
+ msgid ""
321
+ "When the popup is active, an overlay will block the user from browsing the "
322
+ "site."
323
+ msgstr ""
324
+
325
+ #: admin/views/admin-settings-general.php:66
326
+ msgid "`Accept on scroll` will not work along with this option."
327
+ msgstr ""
328
+
329
+ #: admin/views/admin-settings-general.php:70
330
  msgid "On load"
331
  msgstr "Au chargement"
332
 
 
 
333
  #: admin/views/admin-settings-general.php:75
334
  #: admin/views/admin-settings-general.php:78
335
+ #: admin/views/admin-settings-general.php:91
336
+ #: admin/views/admin-settings-general.php:94
337
  msgid "Animate"
338
  msgstr "Animer"
339
 
340
+ #: admin/views/admin-settings-general.php:76
341
+ #: admin/views/admin-settings-general.php:79
342
  msgid "Sticky"
343
  msgstr "Collante"
344
 
345
+ #: admin/views/admin-settings-general.php:86
346
  msgid "On hide"
347
  msgstr "Sur la peau"
348
 
349
+ #: admin/views/admin-settings-general.php:92
350
+ #: admin/views/admin-settings-general.php:95
351
  msgid "Disappear"
352
  msgstr "Disparaître"
353
 
354
+ #: admin/views/admin-settings-general.php:104
355
  msgid "Auto-hide(Accept) cookie bar after delay?"
356
  msgstr "Masquer les barres de cookie après délai ?"
357
 
358
+ #: admin/views/admin-settings-general.php:111
359
  msgid "Milliseconds until hidden"
360
  msgstr "Millisecondes jusqu'à caché"
361
 
362
+ #: admin/views/admin-settings-general.php:114
363
  msgid "Specify milliseconds (not seconds)"
364
  msgstr "Indiquez millisecondes (pas secondes)"
365
 
366
+ #: admin/views/admin-settings-general.php:114
367
  msgid "seconds"
368
  msgstr "secondes"
369
 
370
+ #: admin/views/admin-settings-general.php:120
371
  msgid "Auto-hide cookie bar if the user scrolls ( Accept on Scroll )?"
372
  msgstr ""
373
  "Masquer automatiquement la barre de cookie si l’utilisateur fait défiler ?"
374
 
375
+ #: admin/views/admin-settings-general.php:124
376
  msgid ""
377
  "As per latest GDPR policies it is required to take an explicit consent for "
378
  "the cookies. Use this option with discretion especially if you serve EU"
381
  "consentement explicite pour les cookies. Utilisez cette option avec "
382
  "précaution, surtout si vous desservez EU"
383
 
384
+ #: admin/views/admin-settings-general.php:125
385
+ msgid "This option will not work along with `Popup overlay`."
386
+ msgstr ""
387
+
388
+ #: admin/views/admin-settings-general.php:134
389
  msgid "Use Show Again Tab?"
390
  msgstr "Utiliser l'onglet Afficher à nouveau?"
391
 
392
+ #: admin/views/admin-settings-general.php:141
393
  msgid "Tab Position"
394
  msgstr "Position des onglets"
395
 
396
+ #: admin/views/admin-settings-general.php:146
397
+ #: admin/views/admin-settings-general.php:149
398
  msgid "Right"
399
  msgstr "Droit"
400
 
401
+ #: admin/views/admin-settings-general.php:147
402
+ #: admin/views/admin-settings-general.php:150
403
  msgid "Left"
404
  msgstr "Gauche"
405
 
406
+ #: admin/views/admin-settings-general.php:157
407
  msgid "From Left Margin"
408
  msgstr "Marge de gauche"
409
 
410
+ #: admin/views/admin-settings-general.php:160
411
  msgid "Specify"
412
  msgstr "Spécifiez"
413
 
414
+ #: admin/views/admin-settings-general.php:164
415
  msgid "Show More Text"
416
  msgstr "Afficher plus de texte"
417
 
418
+ #: admin/views/admin-settings-general.php:175
419
  msgid "Reload after \"scroll accept\" event?"
420
  msgstr "Recharger après l'événement \"scroll accept\"?"
421
 
422
+ #: admin/views/admin-settings-general.php:186
423
  msgid "Reload after Accept button click"
424
  msgstr "Recharger après événement « défilement accepter » ?"
425
 
426
+ #: admin/views/admin-settings-general.php:193
427
  msgid "Reload after Reject button click"
428
  msgstr "Recharger après cliqué sur le bouton rejeter"
429
 
430
+ #: admin/views/admin-settings-help.php:9
431
+ msgid "Shortcodes"
432
+ msgstr "Codes abrégés"
 
 
 
 
 
 
 
 
433
 
434
+ #: admin/views/admin-settings-help.php:10
435
+ #: admin/views/admin-settings-help.php:76
436
+ msgid "Help Links"
 
437
  msgstr ""
 
 
 
 
 
 
438
 
439
+ #: admin/views/admin-settings-help.php:16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
440
  msgid "Cookie bar shortcodes"
441
  msgstr "Catégorie du cookie"
442
 
443
+ #: admin/views/admin-settings-help.php:17
444
  msgid ""
445
  "You can enter the shortcodes in the \"message\" field of the Cookie Law Info "
446
  "bar. They add nicely formatted buttons and/or links into the cookie bar, "
451
  "des liens dans la barre de cookie, sans que vous ayez à ajouter des éléments "
452
  "HTML."
453
 
454
+ #: admin/views/admin-settings-help.php:22
455
  msgid ""
456
  "If you just want a standard green \"Accept\" button that closes the header "
457
  "and nothing more, use this shortcode. It is already styled, you don't need "
461
  "tête et rien de plus, utiliser ce shortcode. Il est déjà décoré, vous n’avez "
462
  "pas besoin pour le personnaliser."
463
 
464
+ #: admin/views/admin-settings-help.php:26
465
  msgid ""
466
  "Alternatively you can add a colour value. Choose from: red, blue, orange, "
467
  "yellow, green or pink."
469
  "Vous pouvez également ajouter une valeur de couleur. Choisissez parmi: "
470
  "rouge, bleu, orange, jaune, vert ou rose."
471
 
472
+ #: admin/views/admin-settings-help.php:26
473
  msgid "Careful to use the British spelling of \"colour\" for the attribute."
474
  msgstr ""
475
  "Attention à utiliser l’orthographe britannique de « couleur » pour "
476
  "l’attribut."
477
 
478
+ #: admin/views/admin-settings-help.php:30
479
  msgid "This is the \"main button\" you customise above."
480
  msgstr "C’est le « bouton principal » vous customisez ci-dessus."
481
 
482
+ #: admin/views/admin-settings-help.php:34
483
  msgid "This is the cookie reject button shortcode."
484
  msgstr "Il s’agit de rejeter cookie bouton shortcode."
485
 
486
+ #: admin/views/admin-settings-help.php:38
487
  msgid "This is the \"read more\" link you customise above."
488
  msgstr "C’est le lien « lire la suite » vous customisez ci-dessus."
489
 
490
+ #: admin/views/admin-settings-help.php:42
491
  msgid "Other shortcodes"
492
  msgstr "Autres Shortcodes"
493
 
494
+ #: admin/views/admin-settings-help.php:43
495
  msgid ""
496
  "These shortcodes can be used in pages and posts on your website. It is not "
497
  "recommended to use these inside the cookie bar itself."
500
  "votre site Web. Il n'est pas recommandé d'utiliser ceux-ci à l'intérieur de "
501
  "la barre de cookies elle-même."
502
 
503
+ #: admin/views/admin-settings-help.php:49
504
  msgid ""
505
  "This prints out a nice table of cookies, in line with the guidance given by "
506
  "the ICO."
508
  "Ceci affiche sur une belle table de cookies, conformément aux orientations "
509
  "données par l’ICO."
510
 
511
+ #: admin/views/admin-settings-help.php:49
512
  msgid ""
513
  "You need to enter the cookies your website uses via the Cookie Law Info menu "
514
  "in your WordPress dashboard."
516
  "Vous devez entrer votre site Web utilise des cookies via le menu Info droit "
517
  "de Cookie dans votre tableau de bord de WordPress."
518
 
519
+ #: admin/views/admin-settings-help.php:59
520
  msgid ""
521
  "This shortcode will display a normal HTML link which when clicked, will "
522
  "delete the cookie set by Cookie Law Info (this cookie is used to remember "
526
  "supprimera le cookie défini par Cookie droit Info (ce cookie est utilisé "
527
  "pour se souvenir que la barre de cookie est fermée)."
528
 
529
+ #: admin/views/admin-settings-help.php:63
530
  msgid ""
531
  "Add any text you like- useful if you want e.g. another language to English."
532
  msgstr ""
533
  "Ajouter n’importe quel texte vous ressemblant-utile si vous voulez par "
534
  "exemple une autre langue pour l’anglais."
535
 
536
+ #: admin/views/admin-settings-help.php:67
537
+ msgid "Add content after accepting the cookie notice."
538
+ msgstr ""
539
+
540
+ #: admin/views/admin-settings-help.php:80
541
+ #: admin/views/admin-settings-help.php:83 admin/views/goto-pro.php:93
542
+ msgid "Documentation"
543
+ msgstr ""
544
+
545
+ #: admin/views/admin-settings-help.php:81
546
+ msgid "Refer to our documentation to set and get started"
547
+ msgstr ""
548
+
549
+ #: admin/views/admin-settings-help.php:88
550
+ msgid "Help and Support"
551
+ msgstr "Aide et Assistance"
552
+
553
+ #: admin/views/admin-settings-help.php:89
554
+ msgid "We would love to help you on any queries or issues."
555
+ msgstr ""
556
+
557
+ #: admin/views/admin-settings-help.php:91
558
+ msgid "Contact Us"
559
+ msgstr ""
560
+
561
+ #: admin/views/admin-settings-messagebar.php:11
562
+ msgid "Message Heading"
563
+ msgstr ""
564
+
565
+ #: admin/views/admin-settings-messagebar.php:14
566
+ msgid "Leave it blank, If you do not need a heading"
567
+ msgstr ""
568
+
569
+ #: admin/views/admin-settings-messagebar.php:19
570
+ msgid "Message"
571
+ msgstr "Message"
572
+
573
+ #: admin/views/admin-settings-messagebar.php:25
574
+ msgid "Shortcodes allowed: see the Help Guide tab"
575
+ msgstr ""
576
+
577
+ #: admin/views/admin-settings-messagebar.php:25
578
+ msgid ""
579
+ "Examples: \"We use cookies on this website [cookie_accept] to find out how "
580
+ "to delete cookies [cookie_link].\""
581
+ msgstr ""
582
+ "Exemples : « nous utilisons les cookies sur ce site [cookie_accept] pour "
583
+ "savoir comment faire pour supprimer les cookies [cookie_link]. »"
584
+
585
+ #: admin/views/admin-settings-messagebar.php:29
586
+ msgid "Cookie Bar Colour"
587
+ msgstr "Couleur de barre de biscuit"
588
+
589
+ #: admin/views/admin-settings-messagebar.php:39
590
+ msgid "Text Colour"
591
+ msgstr "Couleur du texte"
592
+
593
+ #: admin/views/admin-settings-messagebar.php:49
594
+ msgid "Show Border?"
595
+ msgstr "Afficher la Bordure?"
596
+
597
+ #: admin/views/admin-settings-messagebar.php:56
598
+ msgid "Border Colour"
599
+ msgstr "Couleur de bordure"
600
+
601
+ #: admin/views/admin-settings-messagebar.php:66
602
+ msgid "Font"
603
+ msgstr "Typologie"
604
+
605
+ #: admin/views/admin-settings-save-button.php:12
606
+ #: admin/views/admin_non_necessary_cookie.php:58
607
+ msgid "Update Settings"
608
+ msgstr "Mettre à jour des réglages"
609
+
610
+ #: admin/views/admin_non_necessary_cookie.php:20
611
  msgid "Non-necessary Cookie Settings"
612
  msgstr "Paramètres de cookies non nécessaire"
613
 
614
+ #: admin/views/admin_non_necessary_cookie.php:27
615
  msgid "Enable Non-necessary Cookie"
616
  msgstr "Activez les cookies Non nécessaire"
617
 
618
+ #: admin/views/admin_non_necessary_cookie.php:34
619
  msgid ""
620
  "This script will be added to the page HEAD section if the above settings is "
621
  "enabled and user has give consent."
623
  "Ce script s’ajoutera à la page section HEAD, si les paramètres ci-dessus est "
624
  "activée et que l’utilisateur a donner consentement."
625
 
626
+ #: admin/views/admin_non_necessary_cookie.php:39
627
  msgid ""
628
  "Print scripts in the head tag on the front end if above cookie settings is "
629
  "enabled and user has given consent."
632
  "de cookie les paramètres est activée et l’utilisateur a donné son "
633
  "consentement."
634
 
635
+ #: admin/views/admin_non_necessary_cookie.php:46
636
  msgid ""
637
  "This script will be added right after the BODY section if the above settings "
638
  "is enabled and user has given consent."
640
  "Ce script sera ajouté droit après la section de corps si les paramètres ci-"
641
  "dessus est activée et que l’utilisateur a donné son consentement."
642
 
643
+ #: admin/views/admin_non_necessary_cookie.php:49
644
  msgid ""
645
  "Print scripts before the closing body tag on the front end if above cookie "
646
  "settings is enabled and user has given consent."
649
  "paramètres de cookies ci-dessus sont activés et que l'utilisateur a donné "
650
  "son consentement."
651
 
652
+ #: admin/views/goto-pro.php:56
653
  msgid "Where did my settings go?"
654
  msgstr "Où sont passés mes réglages?"
655
 
656
+ #: admin/views/goto-pro.php:57
657
  msgid "Cookie Law Info version 0.9 has been updated and has new settings."
658
  msgstr ""
659
  "Cookie Law Info version 0.9 a été mis à jour et comporte de nouveaux "
660
  "paramètres."
661
 
662
+ #: admin/views/goto-pro.php:57
663
  msgid "Your previous settings are safe."
664
  msgstr "Vos paramètres précédents sont en sécurité."
665
 
666
+ #: admin/views/goto-pro.php:58
667
  msgid ""
668
  "You can either copy over your old settings to this version, or use the new "
669
  "default values."
671
  "Vous pouvez soit copier vos anciens paramètres vers cette version, soit "
672
  "utiliser les nouvelles valeurs par défaut."
673
 
674
+ #: admin/views/goto-pro.php:60
675
  msgid "Would you like to:"
676
  msgstr "Voulez-vous :"
677
 
678
+ #: admin/views/goto-pro.php:62
679
  msgid "Use previous settings"
680
  msgstr "Paramètres mis à jour."
681
 
682
+ #: admin/views/goto-pro.php:63
683
  msgid "Start afresh with the new version"
684
  msgstr "Repartir avec la nouvelle version"
685
 
686
+ #: admin/views/goto-pro.php:67
687
  msgid ""
688
  "If you want to go back to the previous version you can always download it "
689
  "again from"
691
  "Si vous souhaitez revenir à la version précédente, vous pouvez toujours "
692
  "télécharger à nouveau de"
693
 
694
+ #: admin/views/goto-pro.php:72
695
+ msgid "Upgrade to GDPR Pro"
696
+ msgstr "Passer au niveau Pro"
697
 
698
+ #: admin/views/goto-pro.php:77
699
  msgid ""
700
+ "Manage list of cookies ( Name, CookieID, Description, Duration, Type, "
701
+ "Category, Header Script, Footer Script)."
702
  msgstr ""
 
 
703
 
704
+ #: admin/views/goto-pro.php:78
705
+ msgid "Manage Cookie Categories."
706
+ msgstr ""
707
 
708
+ #: admin/views/goto-pro.php:79
709
  msgid ""
710
+ "Scan and auto block scripts - Google Analytics, FB Pixel, Google tag manager."
 
711
  msgstr ""
 
 
712
 
713
+ #: admin/views/goto-pro.php:80
714
+ msgid "Location based exclusion of cookie notice for EU countries."
 
 
715
  msgstr ""
 
 
716
 
717
+ #: admin/views/goto-pro.php:81
718
+ msgid ""
719
+ "Provide the users with the granular control over the cookies/scipts used by "
720
+ "the website."
721
+ msgstr ""
722
 
723
+ #: admin/views/goto-pro.php:82
724
+ msgid "Optionally log users' consent and export into a CSV file."
725
+ msgstr ""
726
 
727
+ #: admin/views/goto-pro.php:83
728
+ msgid "Customize the privacy overview in the cookie settings popup."
729
+ msgstr ""
730
 
731
+ #: admin/views/goto-pro.php:84
732
+ msgid "Export/import cookies and related information via CSV file."
733
+ msgstr ""
734
+ "Exporter / importer des cookies et des informations connexes via un fichier "
735
+ "CSV."
736
 
737
+ #: admin/views/goto-pro.php:85
738
+ msgid "Scan and import/export the cookies in the homepage."
739
+ msgstr "Scannez et importez / exportez les cookies sur la page d'accueil."
740
 
741
+ #: admin/views/goto-pro.php:86
742
+ msgid ""
743
+ "Allow to display cookie cettings popup where site visitors can opt-in or "
744
+ "give consent to cookie categories."
745
+ msgstr ""
746
+ "Permet d'afficher les paramètres de cookies contextuels lorsque les "
747
+ "visiteurs du site peuvent choisir ou donner leur consentement aux catégories "
748
+ "de cookies."
749
 
750
+ #: admin/views/goto-pro.php:87
751
+ msgid ""
752
+ "Customisable to look just like your own website's style: customise the "
753
+ "colours, styles and fonts."
754
+ msgstr ""
755
 
756
+ #: admin/views/goto-pro.php:88
757
+ msgid "Put the cookie bar in either the header or the footer."
758
+ msgstr ""
759
 
760
+ #: admin/views/goto-pro.php:98
761
  msgid "Like this plugin?"
762
  msgstr "Aimez-vous ce plugin ?"
763
 
764
+ #: admin/views/goto-pro.php:99
765
  msgid "If you find this plugin useful please show your support and rate it"
766
  msgstr ""
767
  "Si vous trouvez ce plugin utile s’il vous plaît, montrez votre soutien et "
768
  "notez-le"
769
 
770
+ #: admin/views/goto-pro.php:99
771
  msgid " on"
772
  msgstr "en"
773
 
774
+ #: admin/views/goto-pro.php:99
775
  msgid " much appreciated!"
776
  msgstr "Vraiment très apprécié !"
777
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
778
  #: public/class-cookie-law-info-public.php:159
779
  msgid "GDPR Cookie Consent"
780
  msgstr "Consentement GDPR Cookie"
784
  msgstr "Liste de cookie"
785
 
786
  #: public/class-cookie-law-info-public.php:161
787
+ #: public/modules/shortcode/shortcode.php:133
788
  msgid "Cookie"
789
  msgstr "Cookie"
790
 
820
  msgid "Nothing found in Trash"
821
  msgstr "Rien n’a été trouvé dans la corbeille"
822
 
823
+ #: public/modules/shortcode/shortcode.php:85
824
  msgid "Delete Cookies"
825
  msgstr "Supprimer les cookies"
826
 
827
+ #: public/modules/shortcode/shortcode.php:134
828
  msgid "Type"
829
  msgstr "Le format de date n'est pas correct."
830
 
831
+ #: public/modules/shortcode/shortcode.php:135
832
  msgid "Duration"
833
  msgstr "Durée"
834
 
835
+ #: public/modules/shortcode/shortcode.php:136
836
  msgid "Description"
837
  msgstr "Description"
838
 
839
+ #~ msgid "General"
840
+ #~ msgstr "Général"
841
+
842
+ #~ msgid "Customise Cookie Bar"
843
+ #~ msgstr "Personnaliser le Cookie Bar"
844
+
845
+ #~ msgid "Customise Buttons"
846
+ #~ msgstr "Personnalisez vos boutons"
847
+
848
+ #~ msgid "Advanced"
849
+ #~ msgstr "Avancé"
850
+
851
+ #~ msgid "Message Bar"
852
+ #~ msgstr "barre des messages"
853
+
854
+ #~ msgid "Shortcodes allowed: see the Shortcodes tab"
855
+ #~ msgstr "Shortcodes autorisée : Voir l’onglet Shortcodes"
856
+
857
+ #~ msgid "GDPR Cookie Consent Pro"
858
+ #~ msgstr "Consentement GDPR Cookie"
859
+
860
+ #~ msgid ""
861
+ #~ "* Manage list of cookies ( Name, CookieID, Description, Duration, Type, "
862
+ #~ "Category, Header Script, Footer Script)"
863
+ #~ msgstr ""
864
+ #~ "Gérer les liste de cookies (nom, CookieID, Description, durée, Type, "
865
+ #~ "catégorie, Script en-tête, pied de page Script)"
866
+
867
+ #~ msgid "* Manage Cookie Categories"
868
+ #~ msgstr "Gérer les catégories de Cookie"
869
+
870
+ #~ msgid ""
871
+ #~ "* Allow to display Cookie Settings popup where site visitors can opt-in "
872
+ #~ "or give consent to Cookie Categories"
873
+ #~ msgstr ""
874
+ #~ "* Permettre l’affichage contextuel paramètres de Cookie où visiteurs du "
875
+ #~ "site peuvent participer ou donner son consentement à des catégories de "
876
+ #~ "Cookie"
877
+
878
+ #~ msgid ""
879
+ #~ "* Fully customisable to look just like your own website's style: "
880
+ #~ "customise the colours, styles and fonts"
881
+ #~ msgstr ""
882
+ #~ "* Entièrement personnalisable à regarder comme style de votre propre site "
883
+ #~ "Web : personnaliser les couleurs, les styles et les polices"
884
+
885
+ #~ msgid "* Automatic Script Blocker"
886
+ #~ msgstr "* Bloqueur de Script automatique"
887
+
888
+ #~ msgid "* Scan and Import/Export cookie list"
889
+ #~ msgstr "* Analyse et liste de cookie Import/Export"
890
+
891
+ #~ msgid "* User Consent Report"
892
+ #~ msgstr "* Rapport de consentement de l’utilisateur"
893
+
894
+ #~ msgid "* Customisable Privacy Overview in Cookie Bar"
895
+ #~ msgstr "* Personnalisable intimité Overview in Cookie Bar"
896
+
897
+ #~ msgid "* Show Cookie Bar only for EU Countries"
898
+ #~ msgstr "* Afficher la barre de Cookie uniquement pour les pays de l’UE"
899
+
900
+ #~ msgid "* qTranslate support"
901
+ #~ msgstr "* qTranslate soutien"
902
+
903
+ #~ msgid "* WPML support"
904
+ #~ msgstr "Support WPML"
905
+
906
+ #~ msgid "Help"
907
+ #~ msgstr "Aide"
908
+
909
+ #~ msgid "Report a Bug"
910
+ #~ msgstr "Signaler un bogue"
911
+
912
+ #~ msgid "Suggest a Feature"
913
+ #~ msgstr "Suggérer une caractéristique"
914
+
915
+ #~ msgid "About the law"
916
+ #~ msgstr "Sur"
917
+
918
+ #~ msgid ""
919
+ #~ "This website uses cookies to improve your experience. We'll assume you're "
920
+ #~ "ok with this, but you can opt-out if you wish.[cookie_button] "
921
+ #~ "[cookie_settings] [cookie_link]"
922
+ #~ msgstr ""
923
+ #~ "Ce site utilise des cookies pour améliorer votre expérience. Nous "
924
+ #~ "supposerons que vous êtes OK avec cela, mais vous pouvez opt-dehors si "
925
+ #~ "vous le souhaitez. [cookie_button] [cookie_settings] [cookie_link]"
926
+
927
+ #~ msgid "Privacy & Cookies Policy"
928
+ #~ msgstr "Politique de confidentialité et d'utilisation des cookies"
929
+
930
  #~ msgid "Privacy Overview"
931
  #~ msgstr "Résumé sur la confidentialité"
932
 
public/class-cookie-law-info-public.php CHANGED
@@ -4,7 +4,7 @@
4
  * The public-facing functionality of the plugin.
5
  *
6
  * @link http://cookielawinfo.com/
7
- * @since 1.6.8
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/public
@@ -25,7 +25,7 @@ class Cookie_Law_Info_Public {
25
  /**
26
  * The ID of this plugin.
27
  *
28
- * @since 1.6.8
29
  * @access private
30
  * @var string $plugin_name The ID of this plugin.
31
  */
@@ -34,7 +34,7 @@ class Cookie_Law_Info_Public {
34
  /**
35
  * The version of this plugin.
36
  *
37
- * @since 1.6.8
38
  * @access private
39
  * @var string $version The current version of this plugin.
40
  */
@@ -58,7 +58,7 @@ class Cookie_Law_Info_Public {
58
  /**
59
  * Initialize the class and set its properties.
60
  *
61
- * @since 1.6.8
62
  * @param string $plugin_name The name of the plugin.
63
  * @param string $version The version of this plugin.
64
  */
@@ -74,7 +74,7 @@ class Cookie_Law_Info_Public {
74
  /**
75
  * Register the stylesheets for the public-facing side of the site.
76
  *
77
- * @since 1.6.8
78
  */
79
  public function enqueue_styles() {
80
 
@@ -102,7 +102,7 @@ class Cookie_Law_Info_Public {
102
  /**
103
  * Register the JavaScript for the public-facing side of the site.
104
  *
105
- * @since 1.6.8
106
  */
107
  public function enqueue_scripts() {
108
 
@@ -313,11 +313,41 @@ class Cookie_Law_Info_Public {
313
  //cache clear===========
314
  if(isset($_GET['cli_action']))
315
  {
 
 
 
 
 
 
 
 
 
 
 
 
316
  // W3 Total Cache
317
  if(function_exists('w3tc_flush_all'))
318
  {
319
  w3tc_flush_all();
320
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  }
322
  //cache clear============
323
  }
@@ -325,8 +355,37 @@ class Cookie_Law_Info_Public {
325
  public function other_plugin_clear_cache()
326
  {
327
  $cli_flush_cache=2;
 
 
 
 
 
 
 
 
 
 
 
 
328
  // W3 Total Cache
329
  if(function_exists('w3tc_flush_all'))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
330
  {
331
  $cli_flush_cache=1;
332
  }
4
  * The public-facing functionality of the plugin.
5
  *
6
  * @link http://cookielawinfo.com/
7
+ * @since 1.6.6
8
  *
9
  * @package Cookie_Law_Info
10
  * @subpackage Cookie_Law_Info/public
25
  /**
26
  * The ID of this plugin.
27
  *
28
+ * @since 1.6.6
29
  * @access private
30
  * @var string $plugin_name The ID of this plugin.
31
  */
34
  /**
35
  * The version of this plugin.
36
  *
37
+ * @since 1.6.6
38
  * @access private
39
  * @var string $version The current version of this plugin.
40
  */
58
  /**
59
  * Initialize the class and set its properties.
60
  *
61
+ * @since 1.6.6
62
  * @param string $plugin_name The name of the plugin.
63
  * @param string $version The version of this plugin.
64
  */
74
  /**
75
  * Register the stylesheets for the public-facing side of the site.
76
  *
77
+ * @since 1.6.6
78
  */
79
  public function enqueue_styles() {
80
 
102
  /**
103
  * Register the JavaScript for the public-facing side of the site.
104
  *
105
+ * @since 1.6.6
106
  */
107
  public function enqueue_scripts() {
108
 
313
  //cache clear===========
314
  if(isset($_GET['cli_action']))
315
  {
316
+ // Clear Litespeed cache
317
+ if(class_exists('LiteSpeed_Cache_API') && method_exists( 'LiteSpeed_Cache_API', 'purge_all' ))
318
+ {
319
+ LiteSpeed_Cache_API::purge_all();
320
+ }
321
+
322
+ // WP Super Cache
323
+ if(function_exists('wp_cache_clear_cache'))
324
+ {
325
+ wp_cache_clear_cache();
326
+ }
327
+
328
  // W3 Total Cache
329
  if(function_exists('w3tc_flush_all'))
330
  {
331
  w3tc_flush_all();
332
+ }
333
+
334
+ // Site ground
335
+ if(class_exists('SG_CachePress_Supercacher') && method_exists('SG_CachePress_Supercacher', 'purge_cache')) {
336
+ SG_CachePress_Supercacher::purge_cache(true);
337
+ }
338
+
339
+ // Endurance Cache
340
+ if(class_exists('Endurance_Page_Cache') && method_exists('Endurance_Page_Cache','purge_all'))
341
+ {
342
+ $e = new Endurance_Page_Cache;
343
+ $e->purge_all();
344
+ }
345
+
346
+ // WP Fastest Cache
347
+ if(isset($GLOBALS['wp_fastest_cache']) && method_exists($GLOBALS['wp_fastest_cache'],'deleteCache'))
348
+ {
349
+ $GLOBALS['wp_fastest_cache']->deleteCache(true);
350
+ }
351
  }
352
  //cache clear============
353
  }
355
  public function other_plugin_clear_cache()
356
  {
357
  $cli_flush_cache=2;
358
+ // Clear Litespeed cache
359
+ if(class_exists('LiteSpeed_Cache_API') && method_exists( 'LiteSpeed_Cache_API', 'purge_all' ))
360
+ {
361
+ $cli_flush_cache=1;
362
+ }
363
+
364
+ // WP Super Cache
365
+ if(function_exists('wp_cache_clear_cache'))
366
+ {
367
+ $cli_flush_cache=1;
368
+ }
369
+
370
  // W3 Total Cache
371
  if(function_exists('w3tc_flush_all'))
372
+ {
373
+ $cli_flush_cache=1;
374
+ }
375
+
376
+ // Site ground
377
+ if(class_exists('SG_CachePress_Supercacher') && method_exists('SG_CachePress_Supercacher', 'purge_cache')) {
378
+ $cli_flush_cache=1;
379
+ }
380
+
381
+ // Endurance Cache
382
+ if(class_exists('Endurance_Page_Cache') && method_exists('Endurance_Page_Cache','purge_all'))
383
+ {
384
+ $cli_flush_cache=1;
385
+ }
386
+
387
+ // WP Fastest Cache
388
+ if(isset($GLOBALS['wp_fastest_cache']) && method_exists($GLOBALS['wp_fastest_cache'],'deleteCache'))
389
  {
390
  $cli_flush_cache=1;
391
  }
public/css/cookie-law-info-public.css CHANGED
@@ -8,6 +8,7 @@
8
  width: 100%;
9
  z-index: 9999;
10
  box-shadow:rgba(0,0,0,.5) 0px 5px 50px;
 
11
  }
12
  #cookie-law-info-again {
13
  font-size: 10pt;
8
  width: 100%;
9
  z-index: 9999;
10
  box-shadow:rgba(0,0,0,.5) 0px 5px 50px;
11
+ display: none;
12
  }
13
  #cookie-law-info-again {
14
  font-size: 10pt;
public/modules/shortcode/shortcode.php CHANGED
@@ -22,8 +22,6 @@ if ( ! defined( 'WPINC' ) ) {
22
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
 
24
  */
25
-
26
-
27
  class Cookie_Law_Info_Shortcode {
28
 
29
  public $version;
@@ -48,8 +46,29 @@ class Cookie_Law_Info_Shortcode {
48
  add_shortcode( 'cookie_reject',array($this,'cookielawinfo_shortcode_reject_button')); // a shortcode [cookie_reject (colour="red")]
49
  add_shortcode( 'cookie_link',array($this,'cookielawinfo_shortcode_more_link')); // a shortcode [cookie_link]
50
  add_shortcode( 'cookie_button',array($this,'cookielawinfo_shortcode_main_button')); // a shortcode [cookie_button]
 
51
  }
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  /**
54
  A shortcode that outputs a link which will delete the cookie used to track
55
  whether or not a vistor has dismissed the header message (i.e. so it doesn't
@@ -259,7 +278,6 @@ class Cookie_Law_Info_Shortcode {
259
  elseif ( $name == "button_2" ) {
260
  $settings = array(
261
  'button_x_text' => stripslashes( $arr['button_2_text'] ),
262
- 'button_x_url' => $arr['button_2_url'],
263
  'button_x_action' => $arr['button_2_action'],
264
 
265
  'button_x_link_colour' => $arr['button_2_link_colour'],
@@ -268,6 +286,29 @@ class Cookie_Law_Info_Shortcode {
268
  'button_x_button_colour' => $arr['button_2_button_colour'],
269
  'button_x_button_size' => $arr['button_2_button_size']
270
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  $class_name = 'cli-plugin-main-link';
272
  }
273
 
22
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
 
24
  */
 
 
25
  class Cookie_Law_Info_Shortcode {
26
 
27
  public $version;
46
  add_shortcode( 'cookie_reject',array($this,'cookielawinfo_shortcode_reject_button')); // a shortcode [cookie_reject (colour="red")]
47
  add_shortcode( 'cookie_link',array($this,'cookielawinfo_shortcode_more_link')); // a shortcode [cookie_link]
48
  add_shortcode( 'cookie_button',array($this,'cookielawinfo_shortcode_main_button')); // a shortcode [cookie_button]
49
+ add_shortcode('cookie_after_accept',array($this,'cookie_after_accept_shortcode'));
50
  }
51
 
52
+ /*
53
+ * Add content after accepting the cookie notice.
54
+ * Usage :
55
+ Inside post editor
56
+ [cookie_after_accept] ...Your content goes here... [/cookie_after_accept]
57
+ Inside template
58
+ <?php echo do_shortcode('...shortcode goes here...'); ?>
59
+ */
60
+ public function cookie_after_accept_shortcode($atts=array(),$content='')
61
+ {
62
+ if(isset($_COOKIE["viewed_cookie_policy"]) && $_COOKIE["viewed_cookie_policy"] == 'yes')
63
+ {
64
+ return $content;
65
+ }else
66
+ {
67
+ return '';
68
+ }
69
+ }
70
+
71
+
72
  /**
73
  A shortcode that outputs a link which will delete the cookie used to track
74
  whether or not a vistor has dismissed the header message (i.e. so it doesn't
278
  elseif ( $name == "button_2" ) {
279
  $settings = array(
280
  'button_x_text' => stripslashes( $arr['button_2_text'] ),
 
281
  'button_x_action' => $arr['button_2_action'],
282
 
283
  'button_x_link_colour' => $arr['button_2_link_colour'],
286
  'button_x_button_colour' => $arr['button_2_button_colour'],
287
  'button_x_button_size' => $arr['button_2_button_size']
288
  );
289
+ if($arr['button_2_url_type']=='url')
290
+ {
291
+ $settings['button_x_url']=$arr['button_2_url'];
292
+ }else
293
+ {
294
+ $privacy_page_exists=0;
295
+ if($arr['button_2_page']>0) //page choosed
296
+ {
297
+ $privacy_policy_page=get_post($arr['button_2_page']);
298
+ if($privacy_policy_page instanceof WP_Post)
299
+ {
300
+ if($privacy_policy_page->post_status==='publish')
301
+ {
302
+ $privacy_page_exists=1;
303
+ $settings['button_x_url']=get_page_link($privacy_policy_page);
304
+ }
305
+ }
306
+ }
307
+ if($privacy_page_exists==0)
308
+ {
309
+ return '';
310
+ }
311
+ }
312
  $class_name = 'cli-plugin-main-link';
313
  }
314
 
uninstall.php CHANGED
@@ -20,7 +20,7 @@
20
  * https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
21
  *
22
  * @link http://cookielawinfo.com/
23
- * @since 1.6.8
24
  *
25
  * @package Cookie_Law_Info
26
  */
20
  * https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
21
  *
22
  * @link http://cookielawinfo.com/
23
+ * @since 1.6.6
24
  *
25
  * @package Cookie_Law_Info
26
  */