Version Description
- New: Danish translation, thanks to Hans C. Jorgensen
- Fix: Notice bar not visible if no animation selected
Download this release
Release Info
Developer | dfactory |
Plugin | Cookie Notice by dFactory |
Version | 1.2.15 |
Comparing to | |
See all releases |
Code changes from version 1.2.14 to 1.2.15
- cookie-notice.php +91 -60
- includes/update.php +1 -1
- js/front.js +8 -3
- languages/cookie-notice-da_DK.mo +0 -0
- languages/cookie-notice-da_DK.po +259 -0
- readme.txt +10 -5
cookie-notice.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Cookie Notice
|
4 |
Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
|
5 |
-
Version: 1.2.
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
|
@@ -53,7 +53,7 @@ class Cookie_Notice
|
|
53 |
'translate' => true,
|
54 |
'deactivation_delete' => 'no'
|
55 |
),
|
56 |
-
'version' => '1.2.
|
57 |
);
|
58 |
private $positions = array();
|
59 |
private $styles = array();
|
@@ -70,10 +70,13 @@ class Cookie_Notice
|
|
70 |
);
|
71 |
|
72 |
|
|
|
|
|
|
|
73 |
public function __construct()
|
74 |
{
|
75 |
-
register_activation_hook(__FILE__, array(
|
76 |
-
register_deactivation_hook(__FILE__, array(
|
77 |
|
78 |
// settings
|
79 |
$this->options = array(
|
@@ -81,20 +84,23 @@ class Cookie_Notice
|
|
81 |
);
|
82 |
|
83 |
// actions
|
84 |
-
add_action('admin_init', array(
|
85 |
-
add_action('admin_menu', array(
|
86 |
-
add_action('plugins_loaded', array(
|
87 |
-
add_action('plugins_loaded', array(
|
88 |
-
add_action('admin_enqueue_scripts', array(
|
89 |
-
add_action('wp_enqueue_scripts', array(
|
90 |
-
add_action('wp_footer', array(
|
91 |
|
92 |
// filters
|
93 |
-
add_filter('plugin_row_meta', array(
|
94 |
-
add_filter('plugin_action_links', array(
|
95 |
}
|
96 |
|
97 |
|
|
|
|
|
|
|
98 |
public function load_defaults()
|
99 |
{
|
100 |
$this->positions = array(
|
@@ -175,13 +181,16 @@ class Cookie_Notice
|
|
175 |
|
176 |
/**
|
177 |
* Loads textdomain
|
178 |
-
|
179 |
public function load_textdomain()
|
180 |
{
|
181 |
load_plugin_textdomain('cookie-notice', false, dirname(plugin_basename(__FILE__)).'/languages/');
|
182 |
}
|
183 |
|
184 |
|
|
|
|
|
|
|
185 |
public function admin_menu_options()
|
186 |
{
|
187 |
add_options_page(
|
@@ -189,11 +198,14 @@ class Cookie_Notice
|
|
189 |
__('Cookie Notice', 'cookie-notice'),
|
190 |
'manage_options',
|
191 |
'cookie-notice',
|
192 |
-
array(
|
193 |
);
|
194 |
}
|
195 |
|
196 |
|
|
|
|
|
|
|
197 |
public function options_page()
|
198 |
{
|
199 |
echo '
|
@@ -223,7 +235,6 @@ class Cookie_Notice
|
|
223 |
</div>
|
224 |
<form action="options.php" method="post">';
|
225 |
|
226 |
-
wp_nonce_field('update-options');
|
227 |
settings_fields('cookie_notice_options');
|
228 |
do_settings_sections('cookie_notice_options');
|
229 |
submit_button('', 'primary', 'save_cookie_notice_options', true);
|
@@ -236,30 +247,33 @@ class Cookie_Notice
|
|
236 |
}
|
237 |
|
238 |
|
|
|
|
|
|
|
239 |
public function register_settings()
|
240 |
{
|
241 |
-
register_setting('cookie_notice_options', 'cookie_notice_options', array(
|
242 |
|
243 |
// configuration
|
244 |
add_settings_section('cookie_notice_configuration', __('Configuration', 'cookie-notice'), '', 'cookie_notice_options');
|
245 |
-
add_settings_field('cn_message_text', __('Message', 'cookie-notice'), array(
|
246 |
-
add_settings_field('cn_accept_text', __('Button text', 'cookie-notice'), array(
|
247 |
-
add_settings_field('cn_see_more', __('More info', 'cookie-notice'), array(
|
248 |
-
add_settings_field('cn_time', __('Cookie expiry', 'cookie-notice'), array(
|
249 |
-
add_settings_field('cn_deactivation_delete', __('Deactivation', 'cookie-notice'), array(
|
250 |
|
251 |
// design
|
252 |
add_settings_section('cookie_notice_design', __('Design', 'cookie-notice'), '', 'cookie_notice_options');
|
253 |
-
add_settings_field('cn_position', __('Position', 'cookie-notice'), array(
|
254 |
-
add_settings_field('cn_hide_effect', __('Animation', 'cookie-notice'), array(
|
255 |
-
add_settings_field('cn_css_style', __('Button style', 'cookie-notice'), array(
|
256 |
-
add_settings_field('cn_colors', __('Colors', 'cookie-notice'), array(
|
257 |
}
|
258 |
|
259 |
|
260 |
/**
|
261 |
*
|
262 |
-
|
263 |
public function cn_deactivation_delete()
|
264 |
{
|
265 |
echo '
|
@@ -280,6 +294,9 @@ class Cookie_Notice
|
|
280 |
}
|
281 |
|
282 |
|
|
|
|
|
|
|
283 |
public function cn_message_text()
|
284 |
{
|
285 |
echo '
|
@@ -290,6 +307,9 @@ class Cookie_Notice
|
|
290 |
}
|
291 |
|
292 |
|
|
|
|
|
|
|
293 |
public function cn_accept_text()
|
294 |
{
|
295 |
echo '
|
@@ -300,6 +320,9 @@ class Cookie_Notice
|
|
300 |
}
|
301 |
|
302 |
|
|
|
|
|
|
|
303 |
public function cn_see_more()
|
304 |
{
|
305 |
echo '
|
@@ -356,6 +379,9 @@ class Cookie_Notice
|
|
356 |
}
|
357 |
|
358 |
|
|
|
|
|
|
|
359 |
public function cn_time()
|
360 |
{
|
361 |
echo '
|
@@ -376,6 +402,9 @@ class Cookie_Notice
|
|
376 |
}
|
377 |
|
378 |
|
|
|
|
|
|
|
379 |
public function cn_position()
|
380 |
{
|
381 |
echo '
|
@@ -386,7 +415,7 @@ class Cookie_Notice
|
|
386 |
$val = esc_attr($val);
|
387 |
|
388 |
echo '
|
389 |
-
<input id="cn-position-'.$val.'" type="radio" name="cookie_notice_options[position]" value="'.$val.'" '.checked($val, $this->options['general']['position'],
|
390 |
<label for="cn-position-'.$val.'">'.esc_html($trans).'</label>';
|
391 |
}
|
392 |
|
@@ -396,6 +425,9 @@ class Cookie_Notice
|
|
396 |
}
|
397 |
|
398 |
|
|
|
|
|
|
|
399 |
public function cn_hide_effect()
|
400 |
{
|
401 |
echo '
|
@@ -416,6 +448,9 @@ class Cookie_Notice
|
|
416 |
}
|
417 |
|
418 |
|
|
|
|
|
|
|
419 |
public function cn_css_style()
|
420 |
{
|
421 |
echo '
|
@@ -436,6 +471,9 @@ class Cookie_Notice
|
|
436 |
}
|
437 |
|
438 |
|
|
|
|
|
|
|
439 |
public function cn_colors()
|
440 |
{
|
441 |
echo '
|
@@ -456,6 +494,9 @@ class Cookie_Notice
|
|
456 |
}
|
457 |
|
458 |
|
|
|
|
|
|
|
459 |
public function validate_options($input)
|
460 |
{
|
461 |
if(isset($_POST['save_cookie_notice_options']))
|
@@ -489,13 +530,9 @@ class Cookie_Notice
|
|
489 |
$input['see_more_opt']['link_type'] = sanitize_text_field(isset($input['see_more_opt']['link_type']) && in_array($input['see_more_opt']['link_type'], array_keys($this->links)) ? $input['see_more_opt']['link_type'] : $this->defaults['general']['see_more_opt']['link_type']);
|
490 |
|
491 |
if($input['see_more_opt']['link_type'] === 'custom')
|
492 |
-
{
|
493 |
$input['see_more_opt']['link'] = esc_url($input['see_more'] === 'yes' ? $input['see_more_opt']['link'] : 'empty');
|
494 |
-
}
|
495 |
elseif($input['see_more_opt']['link_type'] === 'page')
|
496 |
-
{
|
497 |
$input['see_more_opt']['id'] = ($input['see_more'] === 'yes' ? (int)$input['see_more_opt']['id'] : 'empty');
|
498 |
-
}
|
499 |
|
500 |
$input['translate'] = false;
|
501 |
}
|
@@ -504,6 +541,9 @@ class Cookie_Notice
|
|
504 |
}
|
505 |
|
506 |
|
|
|
|
|
|
|
507 |
public function add_cookie_notice()
|
508 |
{
|
509 |
if(!(isset($_COOKIE[$this->cookie['name']]) && $_COOKIE[$this->cookie['name']] === $this->cookie['value']))
|
@@ -518,17 +558,17 @@ class Cookie_Notice
|
|
518 |
|
519 |
if(function_exists('icl_object_id'))
|
520 |
$this->options['general']['see_more_opt']['id'] = icl_object_id($this->options['general']['see_more_opt']['id'], 'page', true);
|
521 |
-
|
522 |
$options = apply_filters('cn_cookie_notice_args', array(
|
523 |
-
'position'
|
524 |
-
'css_style'
|
525 |
-
'colors'
|
526 |
-
'message_text'
|
527 |
-
'accept_text'
|
528 |
-
'see_more'
|
529 |
-
'see_more_opt'
|
530 |
));
|
531 |
-
|
532 |
$output = '
|
533 |
<div id="cookie-notice" class="cn-'.($options['position']).($options['css_style'] !== 'none' ? ' '.$options['css_style'] : '').'" style="color: '.$options['colors']['text'].'; background-color: '.$options['colors']['bar'].';">'
|
534 |
.'<div class="cookie-notice-container">'
|
@@ -537,7 +577,7 @@ class Cookie_Notice
|
|
537 |
.($options['see_more'] === 'yes' ? '<a href="'.($options['see_more_opt']['link_type'] === 'custom' ? $options['see_more_opt']['link'] : get_permalink($options['see_more_opt']['id'])).'" target="_blank" class="button'.($options['css_style'] !== 'none' ? ' '.$options['css_style'] : '').'">'.$options['see_more_opt']['text'].'</a>' : '').'
|
538 |
</div>
|
539 |
</div>';
|
540 |
-
|
541 |
echo apply_filters('cn_cookie_notice_output', $output);
|
542 |
|
543 |
}
|
@@ -546,7 +586,7 @@ class Cookie_Notice
|
|
546 |
|
547 |
/**
|
548 |
* Add links to Support Forum
|
549 |
-
|
550 |
public function plugin_extend_links($links, $file)
|
551 |
{
|
552 |
if(!current_user_can('install_plugins'))
|
@@ -555,12 +595,7 @@ class Cookie_Notice
|
|
555 |
$plugin = plugin_basename(__FILE__);
|
556 |
|
557 |
if($file == $plugin)
|
558 |
-
|
559 |
-
return array_merge(
|
560 |
-
$links,
|
561 |
-
array(sprintf('<a href="http://www.dfactory.eu/support/forum/cookie-notice/" target="_blank">%s</a>', __('Support', 'cookie-notice')))
|
562 |
-
);
|
563 |
-
}
|
564 |
|
565 |
return $links;
|
566 |
}
|
@@ -568,7 +603,7 @@ class Cookie_Notice
|
|
568 |
|
569 |
/**
|
570 |
* Gets default settings
|
571 |
-
|
572 |
public function get_defaults()
|
573 |
{
|
574 |
return $this->defaults;
|
@@ -577,7 +612,7 @@ class Cookie_Notice
|
|
577 |
|
578 |
/**
|
579 |
* Add links to Settings page
|
580 |
-
|
581 |
function plugin_settings_link($links, $file)
|
582 |
{
|
583 |
if(!is_admin() || !current_user_can('edit_theme_options'))
|
@@ -588,9 +623,7 @@ class Cookie_Notice
|
|
588 |
$plugin = plugin_basename(__FILE__);
|
589 |
|
590 |
if($file == $plugin)
|
591 |
-
{
|
592 |
array_unshift($links, sprintf('<a href="%s">%s</a>', admin_url('options-general.php?page=cookie-notice'), __('Settings', 'cookie-notice')));
|
593 |
-
}
|
594 |
|
595 |
return $links;
|
596 |
}
|
@@ -598,7 +631,7 @@ class Cookie_Notice
|
|
598 |
|
599 |
/**
|
600 |
* Actives plugin
|
601 |
-
|
602 |
public function activation()
|
603 |
{
|
604 |
add_option('cookie_notice_options', $this->defaults['general'], '', 'no');
|
@@ -608,23 +641,21 @@ class Cookie_Notice
|
|
608 |
|
609 |
/**
|
610 |
* Deactivates plugin
|
611 |
-
|
612 |
public function deactivation()
|
613 |
{
|
614 |
if($this->options['general']['deactivation_delete'] === 'yes')
|
615 |
-
{
|
616 |
delete_option('cookie_notice_options');
|
617 |
-
}
|
618 |
}
|
619 |
|
620 |
|
621 |
/**
|
622 |
* Loads scripts and styles - admin side
|
623 |
-
|
624 |
public function admin_load_scripts_styles($page)
|
625 |
{
|
626 |
if($page !== 'settings_page_cookie-notice')
|
627 |
-
|
628 |
|
629 |
wp_enqueue_script(
|
630 |
'cookie-notice-admin',
|
@@ -639,7 +670,7 @@ class Cookie_Notice
|
|
639 |
|
640 |
/**
|
641 |
* Loads scripts and styles - front side
|
642 |
-
|
643 |
public function front_load_scripts_styles()
|
644 |
{
|
645 |
if(!(isset($_COOKIE[$this->cookie['name']]) && $_COOKIE[$this->cookie['name']] === $this->cookie['value']))
|
2 |
/*
|
3 |
Plugin Name: Cookie Notice
|
4 |
Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
|
5 |
+
Version: 1.2.15
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
|
53 |
'translate' => true,
|
54 |
'deactivation_delete' => 'no'
|
55 |
),
|
56 |
+
'version' => '1.2.15'
|
57 |
);
|
58 |
private $positions = array();
|
59 |
private $styles = array();
|
70 |
);
|
71 |
|
72 |
|
73 |
+
/**
|
74 |
+
*
|
75 |
+
*/
|
76 |
public function __construct()
|
77 |
{
|
78 |
+
register_activation_hook(__FILE__, array($this, 'activation'));
|
79 |
+
register_deactivation_hook(__FILE__, array($this, 'deactivation'));
|
80 |
|
81 |
// settings
|
82 |
$this->options = array(
|
84 |
);
|
85 |
|
86 |
// actions
|
87 |
+
add_action('admin_init', array($this, 'register_settings'));
|
88 |
+
add_action('admin_menu', array($this, 'admin_menu_options'));
|
89 |
+
add_action('plugins_loaded', array($this, 'load_textdomain'));
|
90 |
+
add_action('plugins_loaded', array($this, 'load_defaults'));
|
91 |
+
add_action('admin_enqueue_scripts', array($this, 'admin_load_scripts_styles'));
|
92 |
+
add_action('wp_enqueue_scripts', array($this, 'front_load_scripts_styles'));
|
93 |
+
add_action('wp_footer', array($this, 'add_cookie_notice'), 1000);
|
94 |
|
95 |
// filters
|
96 |
+
add_filter('plugin_row_meta', array($this, 'plugin_extend_links'), 10, 2);
|
97 |
+
add_filter('plugin_action_links', array($this, 'plugin_settings_link'), 10, 2);
|
98 |
}
|
99 |
|
100 |
|
101 |
+
/**
|
102 |
+
*
|
103 |
+
*/
|
104 |
public function load_defaults()
|
105 |
{
|
106 |
$this->positions = array(
|
181 |
|
182 |
/**
|
183 |
* Loads textdomain
|
184 |
+
*/
|
185 |
public function load_textdomain()
|
186 |
{
|
187 |
load_plugin_textdomain('cookie-notice', false, dirname(plugin_basename(__FILE__)).'/languages/');
|
188 |
}
|
189 |
|
190 |
|
191 |
+
/**
|
192 |
+
*
|
193 |
+
*/
|
194 |
public function admin_menu_options()
|
195 |
{
|
196 |
add_options_page(
|
198 |
__('Cookie Notice', 'cookie-notice'),
|
199 |
'manage_options',
|
200 |
'cookie-notice',
|
201 |
+
array($this, 'options_page')
|
202 |
);
|
203 |
}
|
204 |
|
205 |
|
206 |
+
/**
|
207 |
+
*
|
208 |
+
*/
|
209 |
public function options_page()
|
210 |
{
|
211 |
echo '
|
235 |
</div>
|
236 |
<form action="options.php" method="post">';
|
237 |
|
|
|
238 |
settings_fields('cookie_notice_options');
|
239 |
do_settings_sections('cookie_notice_options');
|
240 |
submit_button('', 'primary', 'save_cookie_notice_options', true);
|
247 |
}
|
248 |
|
249 |
|
250 |
+
/**
|
251 |
+
*
|
252 |
+
*/
|
253 |
public function register_settings()
|
254 |
{
|
255 |
+
register_setting('cookie_notice_options', 'cookie_notice_options', array($this, 'validate_options'));
|
256 |
|
257 |
// configuration
|
258 |
add_settings_section('cookie_notice_configuration', __('Configuration', 'cookie-notice'), '', 'cookie_notice_options');
|
259 |
+
add_settings_field('cn_message_text', __('Message', 'cookie-notice'), array($this, 'cn_message_text'), 'cookie_notice_options', 'cookie_notice_configuration');
|
260 |
+
add_settings_field('cn_accept_text', __('Button text', 'cookie-notice'), array($this, 'cn_accept_text'), 'cookie_notice_options', 'cookie_notice_configuration');
|
261 |
+
add_settings_field('cn_see_more', __('More info', 'cookie-notice'), array($this, 'cn_see_more'), 'cookie_notice_options', 'cookie_notice_configuration');
|
262 |
+
add_settings_field('cn_time', __('Cookie expiry', 'cookie-notice'), array($this, 'cn_time'), 'cookie_notice_options', 'cookie_notice_configuration');
|
263 |
+
add_settings_field('cn_deactivation_delete', __('Deactivation', 'cookie-notice'), array($this, 'cn_deactivation_delete'), 'cookie_notice_options', 'cookie_notice_configuration');
|
264 |
|
265 |
// design
|
266 |
add_settings_section('cookie_notice_design', __('Design', 'cookie-notice'), '', 'cookie_notice_options');
|
267 |
+
add_settings_field('cn_position', __('Position', 'cookie-notice'), array($this, 'cn_position'), 'cookie_notice_options', 'cookie_notice_design');
|
268 |
+
add_settings_field('cn_hide_effect', __('Animation', 'cookie-notice'), array($this, 'cn_hide_effect'), 'cookie_notice_options', 'cookie_notice_design');
|
269 |
+
add_settings_field('cn_css_style', __('Button style', 'cookie-notice'), array($this, 'cn_css_style'), 'cookie_notice_options', 'cookie_notice_design');
|
270 |
+
add_settings_field('cn_colors', __('Colors', 'cookie-notice'), array($this, 'cn_colors'), 'cookie_notice_options', 'cookie_notice_design');
|
271 |
}
|
272 |
|
273 |
|
274 |
/**
|
275 |
*
|
276 |
+
*/
|
277 |
public function cn_deactivation_delete()
|
278 |
{
|
279 |
echo '
|
294 |
}
|
295 |
|
296 |
|
297 |
+
/**
|
298 |
+
*
|
299 |
+
*/
|
300 |
public function cn_message_text()
|
301 |
{
|
302 |
echo '
|
307 |
}
|
308 |
|
309 |
|
310 |
+
/**
|
311 |
+
*
|
312 |
+
*/
|
313 |
public function cn_accept_text()
|
314 |
{
|
315 |
echo '
|
320 |
}
|
321 |
|
322 |
|
323 |
+
/**
|
324 |
+
*
|
325 |
+
*/
|
326 |
public function cn_see_more()
|
327 |
{
|
328 |
echo '
|
379 |
}
|
380 |
|
381 |
|
382 |
+
/**
|
383 |
+
*
|
384 |
+
*/
|
385 |
public function cn_time()
|
386 |
{
|
387 |
echo '
|
402 |
}
|
403 |
|
404 |
|
405 |
+
/**
|
406 |
+
*
|
407 |
+
*/
|
408 |
public function cn_position()
|
409 |
{
|
410 |
echo '
|
415 |
$val = esc_attr($val);
|
416 |
|
417 |
echo '
|
418 |
+
<input id="cn-position-'.$val.'" type="radio" name="cookie_notice_options[position]" value="'.$val.'" '.checked($val, $this->options['general']['position'], false).' />
|
419 |
<label for="cn-position-'.$val.'">'.esc_html($trans).'</label>';
|
420 |
}
|
421 |
|
425 |
}
|
426 |
|
427 |
|
428 |
+
/**
|
429 |
+
*
|
430 |
+
*/
|
431 |
public function cn_hide_effect()
|
432 |
{
|
433 |
echo '
|
448 |
}
|
449 |
|
450 |
|
451 |
+
/**
|
452 |
+
*
|
453 |
+
*/
|
454 |
public function cn_css_style()
|
455 |
{
|
456 |
echo '
|
471 |
}
|
472 |
|
473 |
|
474 |
+
/**
|
475 |
+
*
|
476 |
+
*/
|
477 |
public function cn_colors()
|
478 |
{
|
479 |
echo '
|
494 |
}
|
495 |
|
496 |
|
497 |
+
/**
|
498 |
+
*
|
499 |
+
*/
|
500 |
public function validate_options($input)
|
501 |
{
|
502 |
if(isset($_POST['save_cookie_notice_options']))
|
530 |
$input['see_more_opt']['link_type'] = sanitize_text_field(isset($input['see_more_opt']['link_type']) && in_array($input['see_more_opt']['link_type'], array_keys($this->links)) ? $input['see_more_opt']['link_type'] : $this->defaults['general']['see_more_opt']['link_type']);
|
531 |
|
532 |
if($input['see_more_opt']['link_type'] === 'custom')
|
|
|
533 |
$input['see_more_opt']['link'] = esc_url($input['see_more'] === 'yes' ? $input['see_more_opt']['link'] : 'empty');
|
|
|
534 |
elseif($input['see_more_opt']['link_type'] === 'page')
|
|
|
535 |
$input['see_more_opt']['id'] = ($input['see_more'] === 'yes' ? (int)$input['see_more_opt']['id'] : 'empty');
|
|
|
536 |
|
537 |
$input['translate'] = false;
|
538 |
}
|
541 |
}
|
542 |
|
543 |
|
544 |
+
/**
|
545 |
+
*
|
546 |
+
*/
|
547 |
public function add_cookie_notice()
|
548 |
{
|
549 |
if(!(isset($_COOKIE[$this->cookie['name']]) && $_COOKIE[$this->cookie['name']] === $this->cookie['value']))
|
558 |
|
559 |
if(function_exists('icl_object_id'))
|
560 |
$this->options['general']['see_more_opt']['id'] = icl_object_id($this->options['general']['see_more_opt']['id'], 'page', true);
|
561 |
+
|
562 |
$options = apply_filters('cn_cookie_notice_args', array(
|
563 |
+
'position' => $this->options['general']['position'],
|
564 |
+
'css_style' => $this->options['general']['css_style'],
|
565 |
+
'colors' => $this->options['general']['colors'],
|
566 |
+
'message_text' => $this->options['general']['message_text'],
|
567 |
+
'accept_text' => $this->options['general']['accept_text'],
|
568 |
+
'see_more' => $this->options['general']['see_more'],
|
569 |
+
'see_more_opt' => $this->options['general']['see_more_opt']
|
570 |
));
|
571 |
+
|
572 |
$output = '
|
573 |
<div id="cookie-notice" class="cn-'.($options['position']).($options['css_style'] !== 'none' ? ' '.$options['css_style'] : '').'" style="color: '.$options['colors']['text'].'; background-color: '.$options['colors']['bar'].';">'
|
574 |
.'<div class="cookie-notice-container">'
|
577 |
.($options['see_more'] === 'yes' ? '<a href="'.($options['see_more_opt']['link_type'] === 'custom' ? $options['see_more_opt']['link'] : get_permalink($options['see_more_opt']['id'])).'" target="_blank" class="button'.($options['css_style'] !== 'none' ? ' '.$options['css_style'] : '').'">'.$options['see_more_opt']['text'].'</a>' : '').'
|
578 |
</div>
|
579 |
</div>';
|
580 |
+
|
581 |
echo apply_filters('cn_cookie_notice_output', $output);
|
582 |
|
583 |
}
|
586 |
|
587 |
/**
|
588 |
* Add links to Support Forum
|
589 |
+
*/
|
590 |
public function plugin_extend_links($links, $file)
|
591 |
{
|
592 |
if(!current_user_can('install_plugins'))
|
595 |
$plugin = plugin_basename(__FILE__);
|
596 |
|
597 |
if($file == $plugin)
|
598 |
+
return array_merge($links, array(sprintf('<a href="http://www.dfactory.eu/support/forum/cookie-notice/" target="_blank">%s</a>', __('Support', 'cookie-notice'))));
|
|
|
|
|
|
|
|
|
|
|
599 |
|
600 |
return $links;
|
601 |
}
|
603 |
|
604 |
/**
|
605 |
* Gets default settings
|
606 |
+
*/
|
607 |
public function get_defaults()
|
608 |
{
|
609 |
return $this->defaults;
|
612 |
|
613 |
/**
|
614 |
* Add links to Settings page
|
615 |
+
*/
|
616 |
function plugin_settings_link($links, $file)
|
617 |
{
|
618 |
if(!is_admin() || !current_user_can('edit_theme_options'))
|
623 |
$plugin = plugin_basename(__FILE__);
|
624 |
|
625 |
if($file == $plugin)
|
|
|
626 |
array_unshift($links, sprintf('<a href="%s">%s</a>', admin_url('options-general.php?page=cookie-notice'), __('Settings', 'cookie-notice')));
|
|
|
627 |
|
628 |
return $links;
|
629 |
}
|
631 |
|
632 |
/**
|
633 |
* Actives plugin
|
634 |
+
*/
|
635 |
public function activation()
|
636 |
{
|
637 |
add_option('cookie_notice_options', $this->defaults['general'], '', 'no');
|
641 |
|
642 |
/**
|
643 |
* Deactivates plugin
|
644 |
+
*/
|
645 |
public function deactivation()
|
646 |
{
|
647 |
if($this->options['general']['deactivation_delete'] === 'yes')
|
|
|
648 |
delete_option('cookie_notice_options');
|
|
|
649 |
}
|
650 |
|
651 |
|
652 |
/**
|
653 |
* Loads scripts and styles - admin side
|
654 |
+
*/
|
655 |
public function admin_load_scripts_styles($page)
|
656 |
{
|
657 |
if($page !== 'settings_page_cookie-notice')
|
658 |
+
return;
|
659 |
|
660 |
wp_enqueue_script(
|
661 |
'cookie-notice-admin',
|
670 |
|
671 |
/**
|
672 |
* Loads scripts and styles - front side
|
673 |
+
*/
|
674 |
public function front_load_scripts_styles()
|
675 |
{
|
676 |
if(!(isset($_COOKIE[$this->cookie['name']]) && $_COOKIE[$this->cookie['name']] === $this->cookie['value']))
|
includes/update.php
CHANGED
@@ -14,7 +14,7 @@ class Cookie_Notice_Update
|
|
14 |
$this->defaults = $cookie_notice->get_defaults();
|
15 |
|
16 |
// actions
|
17 |
-
add_action('init', array(
|
18 |
}
|
19 |
|
20 |
|
14 |
$this->defaults = $cookie_notice->get_defaults();
|
15 |
|
16 |
// actions
|
17 |
+
add_action('init', array($this, 'check_update'));
|
18 |
}
|
19 |
|
20 |
|
js/front.js
CHANGED
@@ -1,18 +1,19 @@
|
|
1 |
jQuery(document).ready(function($) {
|
2 |
|
|
|
3 |
$(document).on('click', '#cn-accept-cookie', function(event) {
|
4 |
event.preventDefault();
|
5 |
|
6 |
var cnTime = new Date();
|
7 |
var cnLater = new Date();
|
8 |
|
9 |
-
//
|
10 |
cnLater.setTime(parseInt(cnTime.getTime()) + parseInt(cnArgs.cookieTime) * 1000);
|
11 |
|
12 |
-
//
|
13 |
document.cookie = cnArgs.cookieName+'=true'+';expires='+cnLater.toGMTString()+';'+(cnArgs.cookieDomain !== undefined && cnArgs.cookieDomain !== '' ? 'domain='+cnArgs.cookieDomain+';' : '')+(cnArgs.cookiePath !== undefined && cnArgs.cookiePath !== '' ? 'path='+cnArgs.cookiePath+';' : '');
|
14 |
|
15 |
-
//
|
16 |
if(cnArgs.hideEffect === 'fade') {
|
17 |
$('#cookie-notice').fadeOut(300, function() {
|
18 |
$(this).remove();
|
@@ -26,11 +27,15 @@ jQuery(document).ready(function($) {
|
|
26 |
}
|
27 |
});
|
28 |
|
|
|
|
|
29 |
if(document.cookie.indexOf('cookie_notice_accepted') === -1) {
|
30 |
if(cnArgs.hideEffect === 'fade') {
|
31 |
$('#cookie-notice').fadeIn(300);
|
32 |
} else if(cnArgs.hideEffect === 'slide') {
|
33 |
$('#cookie-notice').slideDown(300);
|
|
|
|
|
34 |
}
|
35 |
} else {
|
36 |
$('#cookie-notice').remove();
|
1 |
jQuery(document).ready(function($) {
|
2 |
|
3 |
+
// after clicking close button
|
4 |
$(document).on('click', '#cn-accept-cookie', function(event) {
|
5 |
event.preventDefault();
|
6 |
|
7 |
var cnTime = new Date();
|
8 |
var cnLater = new Date();
|
9 |
|
10 |
+
// sets new time in seconds
|
11 |
cnLater.setTime(parseInt(cnTime.getTime()) + parseInt(cnArgs.cookieTime) * 1000);
|
12 |
|
13 |
+
// sets cookie
|
14 |
document.cookie = cnArgs.cookieName+'=true'+';expires='+cnLater.toGMTString()+';'+(cnArgs.cookieDomain !== undefined && cnArgs.cookieDomain !== '' ? 'domain='+cnArgs.cookieDomain+';' : '')+(cnArgs.cookiePath !== undefined && cnArgs.cookiePath !== '' ? 'path='+cnArgs.cookiePath+';' : '');
|
15 |
|
16 |
+
// hides box
|
17 |
if(cnArgs.hideEffect === 'fade') {
|
18 |
$('#cookie-notice').fadeOut(300, function() {
|
19 |
$(this).remove();
|
27 |
}
|
28 |
});
|
29 |
|
30 |
+
|
31 |
+
// displays cookie notice at start
|
32 |
if(document.cookie.indexOf('cookie_notice_accepted') === -1) {
|
33 |
if(cnArgs.hideEffect === 'fade') {
|
34 |
$('#cookie-notice').fadeIn(300);
|
35 |
} else if(cnArgs.hideEffect === 'slide') {
|
36 |
$('#cookie-notice').slideDown(300);
|
37 |
+
} else {
|
38 |
+
$('#cookie-notice').show();
|
39 |
}
|
40 |
} else {
|
41 |
$('#cookie-notice').remove();
|
languages/cookie-notice-da_DK.mo
ADDED
Binary file
|
languages/cookie-notice-da_DK.po
ADDED
@@ -0,0 +1,259 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2014-07-25 09:45+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-11-20 13:23+0100\n"
|
6 |
+
"Last-Translator: Hans Czajkowski Jørgensen <hcj@tekno.dk>\n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"Language: sv_SE\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.5.7\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
|
16 |
+
#: ../cookie-notice.php:101
|
17 |
+
msgid "Top"
|
18 |
+
msgstr "Top"
|
19 |
+
|
20 |
+
#: ../cookie-notice.php:102
|
21 |
+
msgid "Bottom"
|
22 |
+
msgstr "Bund"
|
23 |
+
|
24 |
+
#: ../cookie-notice.php:106 ../cookie-notice.php:137
|
25 |
+
msgid "None"
|
26 |
+
msgstr "Ingen"
|
27 |
+
|
28 |
+
#: ../cookie-notice.php:107
|
29 |
+
msgid "WordPress"
|
30 |
+
msgstr "WordPress"
|
31 |
+
|
32 |
+
#: ../cookie-notice.php:108
|
33 |
+
msgid "Bootstrap"
|
34 |
+
msgstr "Bootstrap"
|
35 |
+
|
36 |
+
#: ../cookie-notice.php:112
|
37 |
+
msgid "Enable"
|
38 |
+
msgstr "Aktivér"
|
39 |
+
|
40 |
+
#: ../cookie-notice.php:113
|
41 |
+
msgid "Disable"
|
42 |
+
msgstr "Deaktivér"
|
43 |
+
|
44 |
+
#: ../cookie-notice.php:117
|
45 |
+
msgid "Custom link"
|
46 |
+
msgstr "Tilpasset link"
|
47 |
+
|
48 |
+
#: ../cookie-notice.php:118
|
49 |
+
msgid "Page link"
|
50 |
+
msgstr "Sidelink"
|
51 |
+
|
52 |
+
#: ../cookie-notice.php:122
|
53 |
+
msgid "Text color"
|
54 |
+
msgstr "Tekstfarve"
|
55 |
+
|
56 |
+
#: ../cookie-notice.php:123
|
57 |
+
msgid "Bar color"
|
58 |
+
msgstr "Bjælkefarve"
|
59 |
+
|
60 |
+
#: ../cookie-notice.php:127
|
61 |
+
msgid "1 day"
|
62 |
+
msgstr "1 dag"
|
63 |
+
|
64 |
+
#: ../cookie-notice.php:128
|
65 |
+
msgid "1 week"
|
66 |
+
msgstr "1 uge"
|
67 |
+
|
68 |
+
#: ../cookie-notice.php:129
|
69 |
+
msgid "1 month"
|
70 |
+
msgstr "1 måned"
|
71 |
+
|
72 |
+
#: ../cookie-notice.php:130
|
73 |
+
msgid "3 months"
|
74 |
+
msgstr "3 måneder"
|
75 |
+
|
76 |
+
#: ../cookie-notice.php:131
|
77 |
+
msgid "6 months"
|
78 |
+
msgstr "6 måneder"
|
79 |
+
|
80 |
+
#: ../cookie-notice.php:132
|
81 |
+
msgid "1 year"
|
82 |
+
msgstr "1 år"
|
83 |
+
|
84 |
+
#: ../cookie-notice.php:133
|
85 |
+
msgid "infinity"
|
86 |
+
msgstr "uendeligt"
|
87 |
+
|
88 |
+
#: ../cookie-notice.php:138
|
89 |
+
msgid "Fade"
|
90 |
+
msgstr "Fade"
|
91 |
+
|
92 |
+
#: ../cookie-notice.php:139
|
93 |
+
msgid "Slide"
|
94 |
+
msgstr "Glid"
|
95 |
+
|
96 |
+
#: ../cookie-notice.php:159
|
97 |
+
msgid ""
|
98 |
+
"We use cookies to ensure that we give you the best experience on our "
|
99 |
+
"website. If you continue to use this site we will assume that you are happy "
|
100 |
+
"with it."
|
101 |
+
msgstr ""
|
102 |
+
"Vi anvender cookies for at sikre at vi giver dig den bedst mulige oplevelse "
|
103 |
+
"af vores website. Hvis du fortsætter med at bruge dette site vil vi antage "
|
104 |
+
"at du er indforstået med det."
|
105 |
+
|
106 |
+
#: ../cookie-notice.php:160
|
107 |
+
msgid "Ok"
|
108 |
+
msgstr "Ok"
|
109 |
+
|
110 |
+
#: ../cookie-notice.php:161
|
111 |
+
msgid "Read more"
|
112 |
+
msgstr "Læs mere"
|
113 |
+
|
114 |
+
#: ../cookie-notice.php:188 ../cookie-notice.php:189 ../cookie-notice.php:201
|
115 |
+
#: ../cookie-notice.php:204
|
116 |
+
msgid "Cookie Notice"
|
117 |
+
msgstr "Cookie-meddelelse"
|
118 |
+
|
119 |
+
#: ../cookie-notice.php:206
|
120 |
+
msgid "Need support?"
|
121 |
+
msgstr "Har du brug for hjælp?"
|
122 |
+
|
123 |
+
#: ../cookie-notice.php:207
|
124 |
+
msgid ""
|
125 |
+
"If you are having problems with this plugin, please talk about them in the"
|
126 |
+
msgstr "Hvis du har problemer med dette plugin, kan du besøge vores"
|
127 |
+
|
128 |
+
#: ../cookie-notice.php:207
|
129 |
+
msgid "Support forum"
|
130 |
+
msgstr "Supportforum"
|
131 |
+
|
132 |
+
#: ../cookie-notice.php:209
|
133 |
+
msgid "Do you like this plugin?"
|
134 |
+
msgstr "Kan du lide denne plugin?"
|
135 |
+
|
136 |
+
#: ../cookie-notice.php:210
|
137 |
+
msgid "Rate it 5"
|
138 |
+
msgstr "Giv den 5:a"
|
139 |
+
|
140 |
+
#: ../cookie-notice.php:210
|
141 |
+
msgid "on WordPress.org"
|
142 |
+
msgstr "på WordPress.org"
|
143 |
+
|
144 |
+
#: ../cookie-notice.php:211
|
145 |
+
msgid "Blog about it & link to the"
|
146 |
+
msgstr "Blog om det og link til"
|
147 |
+
|
148 |
+
#: ../cookie-notice.php:211
|
149 |
+
msgid "plugin page"
|
150 |
+
msgstr "plugin-siden"
|
151 |
+
|
152 |
+
#: ../cookie-notice.php:212
|
153 |
+
msgid "Check out our other"
|
154 |
+
msgstr "Se vores andre"
|
155 |
+
|
156 |
+
#: ../cookie-notice.php:212
|
157 |
+
msgid "WordPress plugins"
|
158 |
+
msgstr "WordPress plugins"
|
159 |
+
|
160 |
+
#: ../cookie-notice.php:238
|
161 |
+
msgid "Configuration"
|
162 |
+
msgstr "Konfiguration"
|
163 |
+
|
164 |
+
#: ../cookie-notice.php:239
|
165 |
+
msgid "Message"
|
166 |
+
msgstr "Meddelelse"
|
167 |
+
|
168 |
+
#: ../cookie-notice.php:240 ../cookie-notice.php:316
|
169 |
+
msgid "Button text"
|
170 |
+
msgstr "Knaptekst"
|
171 |
+
|
172 |
+
#: ../cookie-notice.php:241
|
173 |
+
msgid "More info"
|
174 |
+
msgstr "Mere info"
|
175 |
+
|
176 |
+
#: ../cookie-notice.php:242
|
177 |
+
msgid "Cookie expiry"
|
178 |
+
msgstr "Udløb af cookie"
|
179 |
+
|
180 |
+
#: ../cookie-notice.php:243
|
181 |
+
msgid "Deactivation"
|
182 |
+
msgstr "Deaktivering"
|
183 |
+
|
184 |
+
#: ../cookie-notice.php:246
|
185 |
+
msgid "Design"
|
186 |
+
msgstr "Design"
|
187 |
+
|
188 |
+
#: ../cookie-notice.php:247
|
189 |
+
msgid "Position"
|
190 |
+
msgstr "Position"
|
191 |
+
|
192 |
+
#: ../cookie-notice.php:248
|
193 |
+
msgid "Animation"
|
194 |
+
msgstr "Animation"
|
195 |
+
|
196 |
+
#: ../cookie-notice.php:249
|
197 |
+
msgid "Button style"
|
198 |
+
msgstr "Knapstil"
|
199 |
+
|
200 |
+
#: ../cookie-notice.php:250
|
201 |
+
msgid "Colors"
|
202 |
+
msgstr "Farver"
|
203 |
+
|
204 |
+
#: ../cookie-notice.php:271
|
205 |
+
msgid "Enable if you want all plugin data to be deleted on deactivation."
|
206 |
+
msgstr "Aktivér hvis du ønsker at alle plugin-data slettes ved deaktivering."
|
207 |
+
|
208 |
+
#: ../cookie-notice.php:282
|
209 |
+
msgid "Enter the cookie notice message."
|
210 |
+
msgstr "Angiv cookie-meddelelsen."
|
211 |
+
|
212 |
+
#: ../cookie-notice.php:292
|
213 |
+
msgid "The text to show on the button when cookies have not been accepted"
|
214 |
+
msgstr "Teksten som vises på knappen når cookies ikke er blevet accepteret"
|
215 |
+
|
216 |
+
#: ../cookie-notice.php:312
|
217 |
+
msgid "Enable or Disable Read more button."
|
218 |
+
msgstr "Aktivér eller deaktivér læs mere-knappen"
|
219 |
+
|
220 |
+
#: ../cookie-notice.php:330
|
221 |
+
msgid "Select where to redirect user for more information about cookies."
|
222 |
+
msgstr ""
|
223 |
+
"Vælg hvor brugeren skal omdirigeres til for at få mere at vide om cookies."
|
224 |
+
|
225 |
+
#: ../cookie-notice.php:333
|
226 |
+
msgid "-- select page --"
|
227 |
+
msgstr "-- vælg side --"
|
228 |
+
|
229 |
+
#: ../cookie-notice.php:343
|
230 |
+
msgid "Select from one of your site's pages"
|
231 |
+
msgstr "Vælg mellem en af dine sider på sitet."
|
232 |
+
|
233 |
+
#: ../cookie-notice.php:347
|
234 |
+
msgid "Enter the full URL starting with http://"
|
235 |
+
msgstr "Angiv en fulde webadresse, som begynder med http://"
|
236 |
+
|
237 |
+
#: ../cookie-notice.php:368
|
238 |
+
msgid "The ammount of time that cookie should be stored for."
|
239 |
+
msgstr "Det tidsrum cookien skal gemmes i."
|
240 |
+
|
241 |
+
#: ../cookie-notice.php:388
|
242 |
+
msgid "Select location for your cookie notice."
|
243 |
+
msgstr "Vælg hvor din cookie-meddelelse skal placeres."
|
244 |
+
|
245 |
+
#: ../cookie-notice.php:408
|
246 |
+
msgid "Cookie notice acceptance animation."
|
247 |
+
msgstr "Animation ved godkendelse af cookie-meddelelsen."
|
248 |
+
|
249 |
+
#: ../cookie-notice.php:428
|
250 |
+
msgid "Choose buttons style."
|
251 |
+
msgstr "Vælg knappernes stil."
|
252 |
+
|
253 |
+
#: ../cookie-notice.php:555
|
254 |
+
msgid "Support"
|
255 |
+
msgstr "Support"
|
256 |
+
|
257 |
+
#: ../cookie-notice.php:586
|
258 |
+
msgid "Settings"
|
259 |
+
msgstr "Indstillinger"
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
=== Cookie Notice ===
|
2 |
Contributors: dfactory
|
3 |
Donate link: http://www.dfactory.eu/
|
4 |
Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
|
5 |
Requires at least: 3.3
|
6 |
-
Tested up to: 4.0
|
7 |
-
Stable tag: 1.2.
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
@@ -60,6 +60,10 @@ No questions yet.
|
|
60 |
|
61 |
== Changelog ==
|
62 |
|
|
|
|
|
|
|
|
|
63 |
= 1.2.14 =
|
64 |
* New: Hungarian translation, thanks to [Surbma](http://surbma.hu)
|
65 |
|
@@ -125,5 +129,6 @@ Initial release
|
|
125 |
|
126 |
== Upgrade Notice ==
|
127 |
|
128 |
-
= 1.2.
|
129 |
-
* New:
|
|
1 |
+
=== Cookie Notice by dFactory===
|
2 |
Contributors: dfactory
|
3 |
Donate link: http://www.dfactory.eu/
|
4 |
Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
|
5 |
Requires at least: 3.3
|
6 |
+
Tested up to: 4.0.1
|
7 |
+
Stable tag: 1.2.15
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
60 |
|
61 |
== Changelog ==
|
62 |
|
63 |
+
= 1.2.15 =
|
64 |
+
* New: Danish translation, thanks to Hans C. Jorgensen
|
65 |
+
* Fix: Notice bar not visible if no animation selected
|
66 |
+
|
67 |
= 1.2.14 =
|
68 |
* New: Hungarian translation, thanks to [Surbma](http://surbma.hu)
|
69 |
|
129 |
|
130 |
== Upgrade Notice ==
|
131 |
|
132 |
+
= 1.2.15 =
|
133 |
+
* New: Danish translation, thanks to Hans C. Jorgensen
|
134 |
+
* Fix: Notice bar not visible if no animation selected
|