Version Description
Release Date: November 6th, 2015
Dev time: 50h
- Improved UI for selecting block/allow script
- Added new check for bot Crawler
Download this release
Release Info
Developer | overclokk |
Plugin | Italy Cookie Choices (for EU Cookie Law) |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.0 to 2.4.1
- admin/class-italy-cookie-choices-admin.php +163 -49
- admin/css/admin.css +1 -1
- admin/css/src/sass/admin.scss +51 -31
- admin/js/src/script.js +69 -0
- admin/template/admin.php +4 -4
- admin/template/allow-script.php +24 -0
- admin/template/block-script.php +24 -0
- admin/template/code-example.php +0 -23
- classes/class-italy-cookie-choices-front-end.php +144 -7
- italy-cookie-choices.php +289 -218
- js/default/cookiechoices.js +31 -0
- lang/italy-cookie-choices-it_IT.mo +0 -0
- lang/italy-cookie-choices-it_IT.po +189 -114
- lang/italy-cookie-choices.pot +176 -112
- readme.txt +10 -2
admin/class-italy-cookie-choices-admin.php
CHANGED
@@ -48,11 +48,32 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
48 |
*/
|
49 |
private $post_and_page_array = array();
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
/**
|
52 |
* [__construct description]
|
53 |
*/
|
54 |
public function __construct(){
|
55 |
|
|
|
|
|
|
|
|
|
|
|
56 |
/**
|
57 |
* Get all posts and pages object and merge for jQuery autocomplete function
|
58 |
*/
|
@@ -123,21 +144,6 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
123 |
return call_user_func_array( 'json_encode', $args );
|
124 |
}
|
125 |
|
126 |
-
/**
|
127 |
-
* Get all posts and pages object and merge for jQuery autocomplete function
|
128 |
-
* @return array Return an array with all posts and pages
|
129 |
-
*/
|
130 |
-
// public function get_post_and_page_array(){
|
131 |
-
|
132 |
-
// $get_pages = ( is_array( get_pages('numberposts=-1') ) ) ? get_pages('numberposts=-1') : array();
|
133 |
-
|
134 |
-
// $get_posts = ( is_array( get_posts('numberposts=-1') ) ) ? get_posts('numberposts=-1') : array();
|
135 |
-
|
136 |
-
// $this->post_and_page_array = array_merge($get_pages, $get_posts);
|
137 |
-
|
138 |
-
// }
|
139 |
-
|
140 |
-
|
141 |
/**
|
142 |
* Add page for italy-cookie-choices admin page
|
143 |
*/
|
@@ -809,13 +815,13 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
809 |
?>
|
810 |
<select name='italy_cookie_choices[js_template]' id="italy_cookie_choices[js_template]">
|
811 |
|
812 |
-
<option value="default" <?php if ( $js_template === 'default' ) echo 'selected';?>><?php _e( 'Default cookiechoices template (centered with text links)', '
|
813 |
|
814 |
-
<option value="bigbutton" <?php if ( $js_template === 'bigbutton' ) echo 'selected';?>><?php _e( 'Centered container with left aligned text and big buttons', '
|
815 |
|
816 |
-
<option value="smallbutton" <?php if ( $js_template === 'smallbutton' ) echo 'selected';?>><?php _e( 'Centered container with left aligned text and small buttons', '
|
817 |
|
818 |
-
<option value="custom" <?php if ( $js_template === 'custom' ) echo 'selected';?>><?php _e( 'My custom CSS', '
|
819 |
|
820 |
</select>
|
821 |
<label for="italy_cookie_choices[js_template]">
|
@@ -1050,40 +1056,25 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1050 |
*/
|
1051 |
public function italy_cl_option_custom_script_block_body_exclude($args) {
|
1052 |
|
1053 |
-
$custom_script_block_body_exclude = ( isset( $this->options['custom_script_block_body_exclude'] ) ) ? $this->options['custom_script_block_body_exclude'] : '' ;
|
1054 |
-
|
1055 |
-
/**
|
1056 |
-
* Add thickbox for diplay code example
|
1057 |
-
* @link https://codex.wordpress.org/Javascript_Reference/ThickBox
|
1058 |
-
*/
|
1059 |
-
add_thickbox();
|
1060 |
-
|
1061 |
/**
|
1062 |
* Template with list of code example
|
1063 |
*/
|
1064 |
-
|
|
|
|
|
1065 |
|
1066 |
?>
|
1067 |
-
|
1068 |
-
/*#editor {
|
1069 |
-
font-size: 14px;
|
1070 |
-
height: 260px;
|
1071 |
-
position: relative;
|
1072 |
-
width: 520px;
|
1073 |
-
}
|
1074 |
-
.ace_gutter-cell.ace_error{
|
1075 |
-
background-image: none;
|
1076 |
-
}*/
|
1077 |
-
</style>
|
1078 |
-
<!-- <div id="editor"><?php echo esc_textarea( $custom_script_block_body_exclude ); ?></div> -->
|
1079 |
|
1080 |
-
<!-- <input type='checkbox' name='italy_cookie_choices[ppp]' <?php checked( $block, 1 ); ?> value='1' id="italy_cookie_choices[ppp]"> -->
|
1081 |
<!-- <br> -->
|
1082 |
<textarea rows="5" cols="70" name="italy_cookie_choices[custom_script_block_body_exclude]" id="italy_cookie_choices[custom_script_block_body_exclude]" placeholder="<?php _e( '<script src="http://domain.com/widget-example.js"></script>'."\n".'<---------SEP--------->'."\n".'<script src="http://otherdomain.com/script-example.js"></script>'."\n".'<---------SEP--------->'."\n".'<script src="http://lastdomain.com/gadget-example.js"></script>', 'italy-cookie-choices' ) ?>" class="textarea"><?php echo esc_textarea( $custom_script_block_body_exclude ); ?></textarea>
|
1083 |
<br>
|
1084 |
<a id="SEP" class="button button-secondary add-sep" data-value="<---------SEP--------->"><---------SEP---------></a>
|
1085 |
<a id="SOM" class="button button-secondary add-sep" data-value="<---------SOMETHING--------->"><---------SOMETHING---------></a>
|
1086 |
-
|
|
|
|
|
1087 |
<br>
|
1088 |
<label for="italy_cookie_choices[custom_script_block_body_exclude]">
|
1089 |
<?php echo __( 'Scripts to be excluded from the automatic block.<br />Split each script with <strong><em><---------SEP---------></em></strong><br>Use <strong><---------SOMETHING---------></strong> for custom regex', 'italy-cookie-choices' ); ?>
|
@@ -1102,6 +1093,11 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1102 |
*/
|
1103 |
public function italy_cl_option_custom_script_block($args) {
|
1104 |
|
|
|
|
|
|
|
|
|
|
|
1105 |
$custom_script_block = ( isset( $this->options['custom_script_block'] ) ) ? $this->options['custom_script_block'] : '' ;
|
1106 |
|
1107 |
?>
|
@@ -1328,11 +1324,37 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1328 |
if( isset( $input['all_block'] ) )
|
1329 |
$new_input['all_block'] = $input['all_block'];
|
1330 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1331 |
if( isset( $input['custom_script_block_body_exclude'] ) )
|
1332 |
$new_input['custom_script_block_body_exclude'] = $input['custom_script_block_body_exclude'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1333 |
|
1334 |
if( isset( $input['custom_script_block'] ) )
|
1335 |
$new_input['custom_script_block'] = $input['custom_script_block'];
|
|
|
1336 |
|
1337 |
if( isset( $input['content_message_text'] ) ){
|
1338 |
|
@@ -1378,6 +1400,12 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1378 |
wp_enqueue_style( 'jquery-ui-autocomplete' );
|
1379 |
wp_enqueue_script( 'jquery-ui-autocomplete' );
|
1380 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1381 |
/**
|
1382 |
* Load ACE from CDN
|
1383 |
* Functionality for custom script editor and CSS editor
|
@@ -1385,12 +1413,12 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1385 |
// wp_register_script('ace', '//cdn.jsdelivr.net/ace/1.1.9/min/ace.js', false, null, true);
|
1386 |
// wp_enqueue_script('ace');
|
1387 |
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
|
1395 |
wp_enqueue_script(
|
1396 |
'italy-cookie-choices-script',
|
@@ -1400,6 +1428,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1400 |
'wp-color-picker',
|
1401 |
'jquery-ui-widget',
|
1402 |
'jquery-ui-autocomplete',
|
|
|
1403 |
// 'ace'
|
1404 |
),
|
1405 |
null,
|
@@ -1416,13 +1445,98 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1416 |
*/
|
1417 |
public function plugin_action_links( $links ){
|
1418 |
|
1419 |
-
|
1420 |
|
1421 |
array_unshift($links, '<a href="https://github.com/ItalyCookieChoices/italy-cookie-choices/wiki" target="_blank">' . __('Documentation','italy-cookie-choices') . '</a>');
|
1422 |
|
1423 |
return $links;
|
1424 |
}// plugin_action_links()
|
1425 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1426 |
/**
|
1427 |
* Process a settings export from config
|
1428 |
* @since 1.0.0
|
48 |
*/
|
49 |
private $post_and_page_array = array();
|
50 |
|
51 |
+
/**
|
52 |
+
* Array with predefinited vendor iframe
|
53 |
+
* @var array
|
54 |
+
*/
|
55 |
+
private $iframe_array = array();
|
56 |
+
/**
|
57 |
+
* Array with predefinited vendor script
|
58 |
+
* @var array
|
59 |
+
*/
|
60 |
+
private $script_array = array();
|
61 |
+
/**
|
62 |
+
* Array with predefinited vendor embed
|
63 |
+
* @var array
|
64 |
+
*/
|
65 |
+
private $embed_array = array();
|
66 |
+
|
67 |
/**
|
68 |
* [__construct description]
|
69 |
*/
|
70 |
public function __construct(){
|
71 |
|
72 |
+
/**
|
73 |
+
* Init vendors array
|
74 |
+
*/
|
75 |
+
$this->create_third_party_array();
|
76 |
+
|
77 |
/**
|
78 |
* Get all posts and pages object and merge for jQuery autocomplete function
|
79 |
*/
|
144 |
return call_user_func_array( 'json_encode', $args );
|
145 |
}
|
146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
/**
|
148 |
* Add page for italy-cookie-choices admin page
|
149 |
*/
|
815 |
?>
|
816 |
<select name='italy_cookie_choices[js_template]' id="italy_cookie_choices[js_template]">
|
817 |
|
818 |
+
<option value="default" <?php if ( $js_template === 'default' ) echo 'selected';?>><?php _e( 'Default cookiechoices template (centered with text links)', 'italy-cookie-choices' ); ?></option>
|
819 |
|
820 |
+
<option value="bigbutton" <?php if ( $js_template === 'bigbutton' ) echo 'selected';?>><?php _e( 'Centered container with left aligned text and big buttons', 'italy-cookie-choices' ); ?></option>
|
821 |
|
822 |
+
<option value="smallbutton" <?php if ( $js_template === 'smallbutton' ) echo 'selected';?>><?php _e( 'Centered container with left aligned text and small buttons', 'italy-cookie-choices' ); ?></option>
|
823 |
|
824 |
+
<option value="custom" <?php if ( $js_template === 'custom' ) echo 'selected';?>><?php _e( 'My custom CSS', 'italy-cookie-choices' ); ?></option>
|
825 |
|
826 |
</select>
|
827 |
<label for="italy_cookie_choices[js_template]">
|
1056 |
*/
|
1057 |
public function italy_cl_option_custom_script_block_body_exclude($args) {
|
1058 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1059 |
/**
|
1060 |
* Template with list of code example
|
1061 |
*/
|
1062 |
+
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/template/allow-script.php');
|
1063 |
+
|
1064 |
+
$custom_script_block_body_exclude = ( isset( $this->options['custom_script_block_body_exclude'] ) ) ? $this->options['custom_script_block_body_exclude'] : '' ;
|
1065 |
|
1066 |
?>
|
1067 |
+
<!-- <div id="editor"><?php // echo esc_textarea( $custom_script_block_body_exclude ); ?></div> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1068 |
|
1069 |
+
<!-- <input type='checkbox' name='italy_cookie_choices[ppp]' <?php // checked( $block, 1 ); ?> value='1' id="italy_cookie_choices[ppp]"> -->
|
1070 |
<!-- <br> -->
|
1071 |
<textarea rows="5" cols="70" name="italy_cookie_choices[custom_script_block_body_exclude]" id="italy_cookie_choices[custom_script_block_body_exclude]" placeholder="<?php _e( '<script src="http://domain.com/widget-example.js"></script>'."\n".'<---------SEP--------->'."\n".'<script src="http://otherdomain.com/script-example.js"></script>'."\n".'<---------SEP--------->'."\n".'<script src="http://lastdomain.com/gadget-example.js"></script>', 'italy-cookie-choices' ) ?>" class="textarea"><?php echo esc_textarea( $custom_script_block_body_exclude ); ?></textarea>
|
1072 |
<br>
|
1073 |
<a id="SEP" class="button button-secondary add-sep" data-value="<---------SEP--------->"><---------SEP---------></a>
|
1074 |
<a id="SOM" class="button button-secondary add-sep" data-value="<---------SOMETHING--------->"><---------SOMETHING---------></a>
|
1075 |
+
|
1076 |
+
<!-- <a href="#TB_inline?width=600&height=550&inlineId=code-example" class="thickbox button button-secondary"><?php // _e( 'View example', 'italy-cookie-choices' ); ?></a> -->
|
1077 |
+
|
1078 |
<br>
|
1079 |
<label for="italy_cookie_choices[custom_script_block_body_exclude]">
|
1080 |
<?php echo __( 'Scripts to be excluded from the automatic block.<br />Split each script with <strong><em><---------SEP---------></em></strong><br>Use <strong><---------SOMETHING---------></strong> for custom regex', 'italy-cookie-choices' ); ?>
|
1093 |
*/
|
1094 |
public function italy_cl_option_custom_script_block($args) {
|
1095 |
|
1096 |
+
/**
|
1097 |
+
* Template with block script
|
1098 |
+
*/
|
1099 |
+
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/template/block-script.php');
|
1100 |
+
|
1101 |
$custom_script_block = ( isset( $this->options['custom_script_block'] ) ) ? $this->options['custom_script_block'] : '' ;
|
1102 |
|
1103 |
?>
|
1324 |
if( isset( $input['all_block'] ) )
|
1325 |
$new_input['all_block'] = $input['all_block'];
|
1326 |
|
1327 |
+
/**
|
1328 |
+
* Allow script
|
1329 |
+
*/
|
1330 |
+
if( isset( $input['allow_iframe'] ) )
|
1331 |
+
$new_input['allow_iframe'] = $input['allow_iframe'];
|
1332 |
+
|
1333 |
+
if( isset( $input['allow_script'] ) )
|
1334 |
+
$new_input['allow_script'] = $input['allow_script'];
|
1335 |
+
|
1336 |
+
if( isset( $input['allow_embed'] ) )
|
1337 |
+
$new_input['allow_embed'] = $input['allow_embed'];
|
1338 |
+
|
1339 |
if( isset( $input['custom_script_block_body_exclude'] ) )
|
1340 |
$new_input['custom_script_block_body_exclude'] = $input['custom_script_block_body_exclude'];
|
1341 |
+
/**********************************************************************/
|
1342 |
+
|
1343 |
+
/**
|
1344 |
+
* Block script
|
1345 |
+
*/
|
1346 |
+
if( isset( $input['block_iframe'] ) )
|
1347 |
+
$new_input['block_iframe'] = $input['block_iframe'];
|
1348 |
+
|
1349 |
+
if( isset( $input['block_script'] ) )
|
1350 |
+
$new_input['block_script'] = $input['block_script'];
|
1351 |
+
|
1352 |
+
if( isset( $input['block_embed'] ) )
|
1353 |
+
$new_input['block_embed'] = $input['block_embed'];
|
1354 |
|
1355 |
if( isset( $input['custom_script_block'] ) )
|
1356 |
$new_input['custom_script_block'] = $input['custom_script_block'];
|
1357 |
+
/**********************************************************************/
|
1358 |
|
1359 |
if( isset( $input['content_message_text'] ) ){
|
1360 |
|
1400 |
wp_enqueue_style( 'jquery-ui-autocomplete' );
|
1401 |
wp_enqueue_script( 'jquery-ui-autocomplete' );
|
1402 |
|
1403 |
+
/**
|
1404 |
+
* Add thickbox for diplay code example
|
1405 |
+
* @link https://codex.wordpress.org/Javascript_Reference/ThickBox
|
1406 |
+
*/
|
1407 |
+
// add_thickbox();
|
1408 |
+
|
1409 |
/**
|
1410 |
* Load ACE from CDN
|
1411 |
* Functionality for custom script editor and CSS editor
|
1413 |
// wp_register_script('ace', '//cdn.jsdelivr.net/ace/1.1.9/min/ace.js', false, null, true);
|
1414 |
// wp_enqueue_script('ace');
|
1415 |
|
1416 |
+
wp_enqueue_style(
|
1417 |
+
'italy-cookie-choices-css',
|
1418 |
+
plugins_url('admin/css/admin.css', ITALY_COOKIE_CHOICES_FILE ),
|
1419 |
+
array( 'dashicons' ),
|
1420 |
+
null
|
1421 |
+
);
|
1422 |
|
1423 |
wp_enqueue_script(
|
1424 |
'italy-cookie-choices-script',
|
1428 |
'wp-color-picker',
|
1429 |
'jquery-ui-widget',
|
1430 |
'jquery-ui-autocomplete',
|
1431 |
+
'jquery-effects-shake',
|
1432 |
// 'ace'
|
1433 |
),
|
1434 |
null,
|
1445 |
*/
|
1446 |
public function plugin_action_links( $links ){
|
1447 |
|
1448 |
+
array_unshift($links, '<a href="options-general.php?page=italy-cookie-choices">' . __('Settings','italy-cookie-choices') . '</a>');
|
1449 |
|
1450 |
array_unshift($links, '<a href="https://github.com/ItalyCookieChoices/italy-cookie-choices/wiki" target="_blank">' . __('Documentation','italy-cookie-choices') . '</a>');
|
1451 |
|
1452 |
return $links;
|
1453 |
}// plugin_action_links()
|
1454 |
|
1455 |
+
/**
|
1456 |
+
* Set the three array with predefinited third party script|iframe|embed
|
1457 |
+
* @see https://codex.wordpress.org/Embeds For more embed
|
1458 |
+
* @todo See above
|
1459 |
+
* @return void
|
1460 |
+
*/
|
1461 |
+
private function create_third_party_array(){
|
1462 |
+
|
1463 |
+
$this->iframe_array = array(
|
1464 |
+
'' => '',
|
1465 |
+
'google' => 'google',
|
1466 |
+
'google_maps' => 'maps',
|
1467 |
+
'youtube' => 'youtube',
|
1468 |
+
'disqus' => 'disqus',
|
1469 |
+
'twitter' => 'twitter',
|
1470 |
+
'vimeo' => 'vimeo',
|
1471 |
+
'facebook' => 'facebook',
|
1472 |
+
);
|
1473 |
+
|
1474 |
+
$this->script_array = array(
|
1475 |
+
'' => '',
|
1476 |
+
'google' => 'google',
|
1477 |
+
'google_maps' => 'maps',
|
1478 |
+
'googleapis' => 'googleapis',
|
1479 |
+
'AdSense' => 'googlesyndication',
|
1480 |
+
'doubleclick' => 'doubleclick',
|
1481 |
+
'plusone' => 'plusone',
|
1482 |
+
'platform' => 'platform',
|
1483 |
+
'analytics' => 'analytics',
|
1484 |
+
'facebook' => 'facebook',
|
1485 |
+
'addthis' => 'addthis',
|
1486 |
+
'twitter' => 'twitter',
|
1487 |
+
'linkedin' => 'linkedin',
|
1488 |
+
'pinterest' => 'pinterest',
|
1489 |
+
'disqus' => 'disqus',
|
1490 |
+
'vimeo' => 'vimeo',
|
1491 |
+
'youtube' => 'youtube',
|
1492 |
+
'youtube-nocookie' => 'youtube-nocookie',
|
1493 |
+
'_getTracker' => '_getTracker',
|
1494 |
+
'instagram' => 'instagram',
|
1495 |
+
'cdninstagram' => 'cdninstagram',
|
1496 |
+
'digg' => 'digg',
|
1497 |
+
'eventbrite' => 'eventbrite',
|
1498 |
+
'wordpress' => 'wp'
|
1499 |
+
);
|
1500 |
+
|
1501 |
+
$this->embed_array = array(
|
1502 |
+
'' => ''
|
1503 |
+
);
|
1504 |
+
|
1505 |
+
}
|
1506 |
+
|
1507 |
+
/**
|
1508 |
+
* This function add the HTML to display new functionality for UX allow and block script
|
1509 |
+
* @param array $array Pass the plugin option array[name]
|
1510 |
+
* @param string $arr_name A string name of the array
|
1511 |
+
* @param array $arr_key Array for predefinited script|emebd|iframe
|
1512 |
+
* This add a select box with script name
|
1513 |
+
* @return string Return the HTML for new input
|
1514 |
+
*/
|
1515 |
+
function foreach_script( $array, $arr_name, $arr_key ){
|
1516 |
+
|
1517 |
+
$select = '<select>';
|
1518 |
+
|
1519 |
+
foreach ($arr_key as $key => $value)
|
1520 |
+
$select .= '<option value="' . $value . '">' . $key . '</option>';
|
1521 |
+
|
1522 |
+
$select .= '</select>';
|
1523 |
+
|
1524 |
+
// <button class=" button" disabled>   </button>
|
1525 |
+
$input = '<div class="custom-script">';
|
1526 |
+
$i = 0;
|
1527 |
+
foreach ( $array as $key => $value ){
|
1528 |
+
|
1529 |
+
$input .= '<div class="italy-cookie-choices-clone-div"><input type="text" class="regular-text" data-type="' . $arr_name . '" value="' . esc_attr( $value ) .'" name="italy_cookie_choices[' . $arr_name . '][' . esc_attr( $value ) .']" id="italy_cookie_choices[' . $arr_name . '][' . esc_attr( $value ) .']"/> ' . $select . ' <span><a class="button add" style="font-size:22px"> + </a> ' . ( $i === 0 ? '<a class="button cancel" style="font-size:22px"> x </a>' : '<a class=" button remove" style="font-size:22px"> × </a>' ) . '</span></div>';
|
1530 |
+
|
1531 |
+
$i++;
|
1532 |
+
|
1533 |
+
}
|
1534 |
+
$input .= '</div>';
|
1535 |
+
|
1536 |
+
echo $input;
|
1537 |
+
|
1538 |
+
}
|
1539 |
+
|
1540 |
/**
|
1541 |
* Process a settings export from config
|
1542 |
* @since 1.0.0
|
admin/css/admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.
|
1 |
+
.wp-admin select{min-width:190px;vertical-align:unset}.custom-script-title{font-weight:bold;margin:10px 0 15px}
|
admin/css/src/sass/admin.scss
CHANGED
@@ -2,43 +2,63 @@
|
|
2 |
|
3 |
// Tabs
|
4 |
|
5 |
-
.ui-state-default {
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
}
|
13 |
|
14 |
-
.ui-tabs-nav {
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
}
|
19 |
|
20 |
-
.ui-tabs-anchor {
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
}
|
28 |
|
29 |
-
.ui-tabs-anchor:hover,.ui-state-active a {
|
30 |
-
|
31 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
36 |
}
|
|
|
|
|
|
|
37 |
|
38 |
-
.
|
39 |
-
|
|
|
40 |
}
|
41 |
|
42 |
-
|
43 |
-
|
|
|
44 |
}
|
2 |
|
3 |
// Tabs
|
4 |
|
5 |
+
// .ui-state-default {
|
6 |
+
// display: inline;
|
7 |
+
// border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(241, 241, 241);
|
8 |
+
// border-width: 1px;
|
9 |
+
// border-style:solid;
|
10 |
+
// padding: 10px;
|
11 |
+
// background: none repeat scroll 0% 0% rgb(228, 228, 228);
|
12 |
+
// }
|
13 |
|
14 |
+
// .ui-tabs-nav {
|
15 |
+
// padding-bottom: 7px;
|
16 |
+
// padding-left: 10px;
|
17 |
+
// border-bottom: 1px solid rgb(204, 204, 204);
|
18 |
+
// }
|
19 |
|
20 |
+
// .ui-tabs-anchor {
|
21 |
+
// text-decoration: none;
|
22 |
+
// color:black;
|
23 |
+
// font-weight: 700;
|
24 |
+
// font-size: 15px;
|
25 |
+
// line-height: 24px;
|
26 |
+
// color: rgb(127, 127, 127);
|
27 |
+
// }
|
28 |
|
29 |
+
// .ui-tabs-anchor:hover,.ui-state-active a {
|
30 |
+
// color:black;
|
31 |
+
// }
|
32 |
+
|
33 |
+
// .ui-tabs-active, .ui-tabs-active:hover, .ui-tabs-active:active {
|
34 |
+
// color: rgb(0, 0, 0);
|
35 |
+
// background: rgb(239, 239, 239) !important;
|
36 |
+
// }
|
37 |
+
|
38 |
+
// .postbox h3 {
|
39 |
+
// padding-left: 10px;
|
40 |
+
// }
|
41 |
+
|
42 |
+
// #dashboard_right_now a.demo-count:before {
|
43 |
+
// content: "\f115";
|
44 |
+
// }
|
45 |
|
46 |
+
/*#editor {
|
47 |
+
font-size: 14px;
|
48 |
+
height: 260px;
|
49 |
+
position: relative;
|
50 |
+
width: 520px;
|
51 |
}
|
52 |
+
.ace_gutter-cell.ace_error{
|
53 |
+
background-image: none;
|
54 |
+
}*/
|
55 |
|
56 |
+
.wp-admin select {
|
57 |
+
min-width: 190px;
|
58 |
+
vertical-align: unset;
|
59 |
}
|
60 |
|
61 |
+
.custom-script-title{
|
62 |
+
font-weight:bold;
|
63 |
+
margin:10px 0 15px;
|
64 |
}
|
admin/js/src/script.js
CHANGED
@@ -103,6 +103,75 @@
|
|
103 |
autocomplete(slugs, 'slug');
|
104 |
autocomplete(urls, 'url');
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
});
|
107 |
});
|
108 |
|
103 |
autocomplete(slugs, 'slug');
|
104 |
autocomplete(urls, 'url');
|
105 |
|
106 |
+
function callback( input ) {
|
107 |
+
setTimeout(function() {
|
108 |
+
input.removeAttr( "style" );
|
109 |
+
}, 1000 );
|
110 |
+
};
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Add element
|
114 |
+
*/
|
115 |
+
$(document).on('click' , '.add', function(){
|
116 |
+
|
117 |
+
var container = $(this).parent().parent();
|
118 |
+
|
119 |
+
var input = container.children('input');
|
120 |
+
|
121 |
+
var arr_name = input.data('type');
|
122 |
+
|
123 |
+
if ( !arr_name ) {
|
124 |
+
var options = {};
|
125 |
+
container.effect( 'shake', options, 500, callback(container) );
|
126 |
+
return;
|
127 |
+
}
|
128 |
+
|
129 |
+
var select = container.children('select').get(0).innerHTML;
|
130 |
+
|
131 |
+
$('<div class="italy-cookie-choices-clone-div"><input type="text" class="regular-text" data-type="' + arr_name + '" value="" name="italy_cookie_choices[' + arr_name + '][]"/> <select>' + select + '</select> <span><a class="button add" style="font-size:22px"> + </a> <a class=" button remove" style="font-size:22px"> × </a></span></div>').appendTo(container.parent());
|
132 |
+
|
133 |
+
});
|
134 |
+
|
135 |
+
/**
|
136 |
+
* Remove element
|
137 |
+
*/
|
138 |
+
$(document).on('click', '.remove', function(){
|
139 |
+
$(this).parent().parent().remove();
|
140 |
+
});
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Cancel value in first input
|
144 |
+
*/
|
145 |
+
$(document).on('click', '.cancel', function(){
|
146 |
+
$(this).parent().parent().children('input').val('');
|
147 |
+
});
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Update input value on keyup
|
151 |
+
*/
|
152 |
+
$(document).on('keyup', '.regular-text', function(){
|
153 |
+
|
154 |
+
var arr_name = $(this).data('type');
|
155 |
+
|
156 |
+
$(this).attr('name', 'italy_cookie_choices[' + arr_name + '][' + $(this).val() + ']');
|
157 |
+
|
158 |
+
});
|
159 |
+
|
160 |
+
/**
|
161 |
+
* Change input value on select change
|
162 |
+
*/
|
163 |
+
$(document).on('change', 'select', function(){
|
164 |
+
|
165 |
+
var input = $(this).parent().children('input');
|
166 |
+
|
167 |
+
input.val($(this).val());
|
168 |
+
|
169 |
+
var arr_name = input.data('type');
|
170 |
+
|
171 |
+
input.attr('name', 'italy_cookie_choices[' + arr_name + '][' + $(this).val() + ']');
|
172 |
+
|
173 |
+
});
|
174 |
+
|
175 |
});
|
176 |
});
|
177 |
|
admin/template/admin.php
CHANGED
@@ -27,9 +27,9 @@
|
|
27 |
|
28 |
<div id="tabs-3" class="metabox-holder">
|
29 |
<div class="postbox">
|
30 |
-
<h3 class="hndle"><span><?php _e( 'Export Settings'); ?></span></h3>
|
31 |
<div class="inside">
|
32 |
-
<p><?php _e( 'Export the plugin settings for this site as a .json file. This allows you to easily import the configuration into another site.' ); ?></p>
|
33 |
<form method="post">
|
34 |
<p>
|
35 |
<input type="hidden" name="icc_action" value="export_settings" />
|
@@ -43,9 +43,9 @@
|
|
43 |
</div>
|
44 |
|
45 |
<div class="postbox">
|
46 |
-
<h3 class="hndle"><span><?php _e( 'Import Settings' ); ?></span></h3>
|
47 |
<div class="inside">
|
48 |
-
<p><?php _e( 'Import the plugin settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.' ); ?></p>
|
49 |
<form method="post" enctype="multipart/form-data">
|
50 |
<p>
|
51 |
<input type="file" name="icc_import_file"/>
|
27 |
|
28 |
<div id="tabs-3" class="metabox-holder">
|
29 |
<div class="postbox">
|
30 |
+
<h3 class="hndle"><span><?php _e( 'Export Settings', 'italy-cookie-choices' ); ?></span></h3>
|
31 |
<div class="inside">
|
32 |
+
<p><?php _e( 'Export the plugin settings for this site as a .json file. This allows you to easily import the configuration into another site.', 'italy-cookie-choices' ); ?></p>
|
33 |
<form method="post">
|
34 |
<p>
|
35 |
<input type="hidden" name="icc_action" value="export_settings" />
|
43 |
</div>
|
44 |
|
45 |
<div class="postbox">
|
46 |
+
<h3 class="hndle"><span><?php _e( 'Import Settings', 'italy-cookie-choices' ); ?></span></h3>
|
47 |
<div class="inside">
|
48 |
+
<p><?php _e( 'Import the plugin settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'italy-cookie-choices' ); ?></p>
|
49 |
<form method="post" enctype="multipart/form-data">
|
50 |
<p>
|
51 |
<input type="file" name="icc_import_file"/>
|
admin/template/allow-script.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="custom-script" class="custom-script">
|
2 |
+
<?php
|
3 |
+
|
4 |
+
$allow_iframe = ( isset( $this->options['allow_iframe'] ) ) ? $this->options['allow_iframe'] : array('');
|
5 |
+
$allow_script = ( isset( $this->options['allow_script'] ) ) ? $this->options['allow_script'] : array('');
|
6 |
+
$allow_embed = ( isset( $this->options['allow_embed'] ) ) ? $this->options['allow_embed'] : array('');
|
7 |
+
|
8 |
+
echo '<div class="custom-script-title">' . __( 'iframe', 'italy-cookie-choices' ) . '</div>';
|
9 |
+
|
10 |
+
$this->foreach_script( $allow_iframe, 'allow_iframe', $this->iframe_array );
|
11 |
+
|
12 |
+
echo '<div class="custom-script-title">' . __( 'script', 'italy-cookie-choices' ) . '</div>';
|
13 |
+
|
14 |
+
$this->foreach_script( $allow_script, 'allow_script', $this->script_array );
|
15 |
+
|
16 |
+
echo '<div class="custom-script-title">' . __( 'embed', 'italy-cookie-choices' ) . '</div>';
|
17 |
+
|
18 |
+
$this->foreach_script( $allow_embed, 'allow_embed', $this->embed_array );
|
19 |
+
|
20 |
+
echo '<div class="custom-script-title">' . __( 'Custom', 'italy-cookie-choices' ) . '</div>';
|
21 |
+
|
22 |
+
?>
|
23 |
+
|
24 |
+
</div>
|
admin/template/block-script.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="custom-script" class="custom-script">
|
2 |
+
<?php
|
3 |
+
|
4 |
+
$block_iframe = ( isset( $this->options['block_iframe'] ) ) ? $this->options['block_iframe'] : array('');
|
5 |
+
$block_script = ( isset( $this->options['block_script'] ) ) ? $this->options['block_script'] : array('');
|
6 |
+
$block_embed = ( isset( $this->options['block_embed'] ) ) ? $this->options['block_embed'] : array('');
|
7 |
+
|
8 |
+
echo '<div class="custom-script-title">' . __( 'iframe', 'italy-cookie-choices' ) . '</div>';
|
9 |
+
|
10 |
+
$this->foreach_script( $block_iframe, 'block_iframe', $this->iframe_array );
|
11 |
+
|
12 |
+
echo '<div class="custom-script-title">' . __( 'script', 'italy-cookie-choices' ) . '</div>';
|
13 |
+
|
14 |
+
$this->foreach_script( $block_script, 'block_script', $this->script_array );
|
15 |
+
|
16 |
+
echo '<div class="custom-script-title">' . __( 'embed', 'italy-cookie-choices' ) . '</div>';
|
17 |
+
|
18 |
+
$this->foreach_script( $block_embed, 'block_embed', $this->embed_array );
|
19 |
+
|
20 |
+
echo '<div class="custom-script-title">' . __( 'Custom', 'italy-cookie-choices' ) . '</div>';
|
21 |
+
|
22 |
+
?>
|
23 |
+
|
24 |
+
</div>
|
admin/template/code-example.php
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
<!-- <a id="script" class="button button-secondary add-sep" data-value="<script>"><script></a> -->
|
2 |
-
<!-- <a id="scriptsrc" class="button button-secondary add-sep" data-value='<script src="">'><script src></a> -->
|
3 |
-
<!-- <br> -->
|
4 |
-
|
5 |
-
|
6 |
-
<div id="code-example">
|
7 |
-
<h1><?php _e( 'Script inline example', 'italy-cookie-choices' ); ?></h1>
|
8 |
-
<p>
|
9 |
-
<pre>
|
10 |
-
|
11 |
-
<code><script>(function(d, s, id) {
|
12 |
-
var js, fjs = d.getElementsByTagName(s)[0];
|
13 |
-
if (d.getElementById(id)) return;
|
14 |
-
js = d.createElement(s); js.id = id;
|
15 |
-
js.src = "//connect.facebook.net/it_IT/sdk.js#xfbml=1&version=v2.3&appId=150302815027430";
|
16 |
-
fjs.parentNode.insertBefore(js, fjs);
|
17 |
-
}(document, 'script', 'facebook-jssdk'));</script>
|
18 |
-
<---------SEP--------->
|
19 |
-
<script>(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;e=o.createElement(i);r=o.getElementsByTagName(i)[0];e.src='https://www.google-analytics.com/analytics.js';r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));ga('create','UA-12345-6','auto');ga('send','pageview');ga('set', 'anonymizeIp', true);</script></code>
|
20 |
-
</pre>
|
21 |
-
|
22 |
-
</p>
|
23 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/class-italy-cookie-choices-front-end.php
CHANGED
@@ -60,6 +60,18 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
60 |
*/
|
61 |
private $url = '';
|
62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
/**
|
64 |
* [__construct description]
|
65 |
*/
|
@@ -160,6 +172,9 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
160 |
*/
|
161 |
$custom_script_block_body_exclude = ( isset( $this->options['custom_script_block_body_exclude'] ) ) ? $this->options['custom_script_block_body_exclude'] : '' ;
|
162 |
|
|
|
|
|
|
|
163 |
/**
|
164 |
* Checkbox custom scripts block in HEAD and FOOTER
|
165 |
* @var string
|
@@ -196,7 +211,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
196 |
add_action('wp_head', array( $this, 'bufferBodyStart' ), 1000000);
|
197 |
add_action('wp_footer', array( $this, 'bufferBodyEnd' ), -1000000);
|
198 |
}
|
199 |
-
if( $custom_script_block
|
200 |
add_action('template_redirect', array( $this, 'bufferHeadStart' ), 2);
|
201 |
add_action('wp_head', array( $this, 'bufferHeadEnd' ), 99999);
|
202 |
add_action('wp_footer', array( $this, 'bufferFooterStart' ), -99998);
|
@@ -283,13 +298,43 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
283 |
return false;
|
284 |
}
|
285 |
|
286 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
$custom_script_block = ( isset( $this->options['custom_script_block'] ) ) ? $this->options['custom_script_block'] : '' ;
|
288 |
-
|
|
|
289 |
return $buffer;
|
290 |
-
|
|
|
|
|
|
|
|
|
|
|
291 |
$custom_script_block = preg_replace( "/([\r|\n]*)<---------SEP--------->([\r|\n]*)/is", "<---------SEP--------->", $custom_script_block );
|
|
|
|
|
|
|
|
|
|
|
292 |
$custom_script_block_array = explode("<---------SEP--------->", $custom_script_block);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
foreach($custom_script_block_array AS $single_script) {
|
294 |
preg_match_all('/'.str_replace(preg_quote("<---------SOMETHING--------->"), ".*", preg_quote(trim($single_script), '/')).'/is', $buffer, $matches);
|
295 |
if(!empty($matches[0])) {
|
@@ -311,13 +356,34 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
311 |
}
|
312 |
|
313 |
public function bufferBodyEnd() {
|
|
|
|
|
|
|
|
|
|
|
314 |
$custom_script_block_body_exclude = ( isset( $this->options['custom_script_block_body_exclude'] ) ) ? $this->options['custom_script_block_body_exclude'] : '' ;
|
|
|
|
|
|
|
|
|
|
|
315 |
$custom_script_block_body_exclude = preg_replace( "/([\r|\n]*)<---------SEP--------->([\r|\n]*)/is", "<---------SEP--------->", $custom_script_block_body_exclude );
|
|
|
|
|
|
|
|
|
|
|
316 |
$custom_script_block_body_exclude_array = explode("<---------SEP--------->", $custom_script_block_body_exclude);
|
317 |
|
318 |
-
if(!is_array($custom_script_block_body_exclude_array) || empty($custom_script_block_body_exclude_array[0]))
|
319 |
$custom_script_block_body_exclude_array = array();
|
320 |
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
$buffer = ob_get_contents();
|
322 |
if (ob_get_contents())
|
323 |
ob_end_clean();
|
@@ -325,14 +391,19 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
325 |
$head = $matches[1];
|
326 |
$body = $matches[2];
|
327 |
preg_match_all( $this->pattern, $body, $body_matches);
|
|
|
328 |
if ( !empty( $body_matches[0] ) ) {
|
329 |
foreach($body_matches[0] AS $k => $v) {
|
330 |
-
|
|
|
331 |
$body = preg_replace('/'.str_replace(preg_quote("<---------SOMETHING--------->"), ".*", preg_quote(trim($v), '/')).'/is', $this->valore, $body);
|
332 |
$this->js_array[] = trim($v);
|
333 |
}
|
|
|
334 |
}
|
|
|
335 |
}
|
|
|
336 |
$buffer_new = $head.$body;
|
337 |
echo '<!-- ICCStartBody -->'.$buffer_new.'<!-- ICCEndBody -->';
|
338 |
}
|
@@ -386,6 +457,71 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
386 |
echo '<!-- ICCStartHead -->'.$buffer_new.'<!-- ICCEndHead -->';
|
387 |
}
|
388 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
389 |
/**
|
390 |
* Function for matching embed
|
391 |
* @param string $pattern Pattern
|
@@ -398,7 +534,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
398 |
|
399 |
/**
|
400 |
* Memorizzo gli embed trovati e li appendo all'array $js_array
|
401 |
-
* @var
|
402 |
*/
|
403 |
if ( !empty( $matches[0] ) )
|
404 |
$this->js_array = array_merge( $this->js_array, $matches[0] );
|
@@ -696,6 +832,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
696 |
* var consText = Variabile per le classe dello span per il testo
|
697 |
* @var string
|
698 |
*/
|
|
|
699 |
$jsVariables = 'var coNA="' . $cookie_name . '",coVA="' . $cookie_value . '";scroll="' . $scroll . '",elPos="fixed",infoClass="' . $infoClass . '",closeClass="' . $closeClass . '",htmlM="' . $htmlM . '",rel="' . $reload . '",tar="' . $target . '",bgB="' . $banner_bg . '",btcB="' . $banner_text_color . '",bPos="' . $bPos . '",bannerStyle="' . $bannerStyle . '",contentStyle="' . $contStyle . '",consText="' . $consentText . '",jsArr = ' . $this->wp_json_encode( apply_filters( 'icc_js_array', $this->js_array ) ) . ';';
|
700 |
|
701 |
/**
|
60 |
*/
|
61 |
private $url = '';
|
62 |
|
63 |
+
/**
|
64 |
+
* Array with list of allowed script|iframe|embed
|
65 |
+
* @var array
|
66 |
+
*/
|
67 |
+
private $allow_script = array();
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Array with list of blocked script|iframe|embed
|
71 |
+
* @var array
|
72 |
+
*/
|
73 |
+
private $block_script = array();
|
74 |
+
|
75 |
/**
|
76 |
* [__construct description]
|
77 |
*/
|
172 |
*/
|
173 |
$custom_script_block_body_exclude = ( isset( $this->options['custom_script_block_body_exclude'] ) ) ? $this->options['custom_script_block_body_exclude'] : '' ;
|
174 |
|
175 |
+
$this->get_block_script();
|
176 |
+
$this->get_allow_script();
|
177 |
+
|
178 |
/**
|
179 |
* Checkbox custom scripts block in HEAD and FOOTER
|
180 |
* @var string
|
211 |
add_action('wp_head', array( $this, 'bufferBodyStart' ), 1000000);
|
212 |
add_action('wp_footer', array( $this, 'bufferBodyEnd' ), -1000000);
|
213 |
}
|
214 |
+
if( ( $custom_script_block || $this->block_script ) && $all_block ) {
|
215 |
add_action('template_redirect', array( $this, 'bufferHeadStart' ), 2);
|
216 |
add_action('wp_head', array( $this, 'bufferHeadEnd' ), 99999);
|
217 |
add_action('wp_footer', array( $this, 'bufferFooterStart' ), -99998);
|
298 |
return false;
|
299 |
}
|
300 |
|
301 |
+
/**
|
302 |
+
* Remove custom script in header and footer
|
303 |
+
* @param string $buffer Source of page
|
304 |
+
* @return string Return the new HTML
|
305 |
+
*/
|
306 |
+
public function removeCustomScript( $buffer ) {
|
307 |
+
/**
|
308 |
+
* Custom script to block
|
309 |
+
* @var string
|
310 |
+
*/
|
311 |
$custom_script_block = ( isset( $this->options['custom_script_block'] ) ) ? $this->options['custom_script_block'] : '' ;
|
312 |
+
|
313 |
+
if( !$custom_script_block && !$this->block_script )
|
314 |
return $buffer;
|
315 |
+
else {
|
316 |
+
|
317 |
+
/**
|
318 |
+
* Replace space with <---------SEP--------->
|
319 |
+
* @var string
|
320 |
+
*/
|
321 |
$custom_script_block = preg_replace( "/([\r|\n]*)<---------SEP--------->([\r|\n]*)/is", "<---------SEP--------->", $custom_script_block );
|
322 |
+
|
323 |
+
/**
|
324 |
+
* Convert $custom_script_block to an array
|
325 |
+
* @var array
|
326 |
+
*/
|
327 |
$custom_script_block_array = explode("<---------SEP--------->", $custom_script_block);
|
328 |
+
|
329 |
+
/**
|
330 |
+
* Merge the script array from new UX functionality
|
331 |
+
* @var array
|
332 |
+
*/
|
333 |
+
$custom_script_block_array = array_merge( $custom_script_block_array, $this->block_script );
|
334 |
+
|
335 |
+
/**
|
336 |
+
*
|
337 |
+
*/
|
338 |
foreach($custom_script_block_array AS $single_script) {
|
339 |
preg_match_all('/'.str_replace(preg_quote("<---------SOMETHING--------->"), ".*", preg_quote(trim($single_script), '/')).'/is', $buffer, $matches);
|
340 |
if(!empty($matches[0])) {
|
356 |
}
|
357 |
|
358 |
public function bufferBodyEnd() {
|
359 |
+
|
360 |
+
/**
|
361 |
+
* Check if $custom_script_block_body_exclude is set
|
362 |
+
* @var string
|
363 |
+
*/
|
364 |
$custom_script_block_body_exclude = ( isset( $this->options['custom_script_block_body_exclude'] ) ) ? $this->options['custom_script_block_body_exclude'] : '' ;
|
365 |
+
|
366 |
+
/**
|
367 |
+
* Replace space with <---------SEP--------->
|
368 |
+
* @var string
|
369 |
+
*/
|
370 |
$custom_script_block_body_exclude = preg_replace( "/([\r|\n]*)<---------SEP--------->([\r|\n]*)/is", "<---------SEP--------->", $custom_script_block_body_exclude );
|
371 |
+
|
372 |
+
/**
|
373 |
+
* Create array
|
374 |
+
* @var array
|
375 |
+
*/
|
376 |
$custom_script_block_body_exclude_array = explode("<---------SEP--------->", $custom_script_block_body_exclude);
|
377 |
|
378 |
+
if( !is_array($custom_script_block_body_exclude_array) || empty( $custom_script_block_body_exclude_array[0] ) )
|
379 |
$custom_script_block_body_exclude_array = array();
|
380 |
|
381 |
+
/**
|
382 |
+
* Merge the script array from new UX functionality
|
383 |
+
* @var array
|
384 |
+
*/
|
385 |
+
$custom_script_block_body_exclude_array = array_merge( $custom_script_block_body_exclude_array, $this->allow_script );
|
386 |
+
|
387 |
$buffer = ob_get_contents();
|
388 |
if (ob_get_contents())
|
389 |
ob_end_clean();
|
391 |
$head = $matches[1];
|
392 |
$body = $matches[2];
|
393 |
preg_match_all( $this->pattern, $body, $body_matches);
|
394 |
+
|
395 |
if ( !empty( $body_matches[0] ) ) {
|
396 |
foreach($body_matches[0] AS $k => $v) {
|
397 |
+
|
398 |
+
if( !$this->in_array_match(trim($v), $custom_script_block_body_exclude_array) ) {
|
399 |
$body = preg_replace('/'.str_replace(preg_quote("<---------SOMETHING--------->"), ".*", preg_quote(trim($v), '/')).'/is', $this->valore, $body);
|
400 |
$this->js_array[] = trim($v);
|
401 |
}
|
402 |
+
|
403 |
}
|
404 |
+
|
405 |
}
|
406 |
+
|
407 |
$buffer_new = $head.$body;
|
408 |
echo '<!-- ICCStartBody -->'.$buffer_new.'<!-- ICCEndBody -->';
|
409 |
}
|
457 |
echo '<!-- ICCStartHead -->'.$buffer_new.'<!-- ICCEndHead -->';
|
458 |
}
|
459 |
|
460 |
+
/**
|
461 |
+
* Script preimpostati da escludere dal blocco
|
462 |
+
* Preparare un array key valore a parte, unico per entrambi
|
463 |
+
* Questo array sarà utilizzato per generare anche le input dinamicamente
|
464 |
+
* array(
|
465 |
+
* 'facebook' => 'script'
|
466 |
+
* )
|
467 |
+
* @return array Array con gli script preimpostati
|
468 |
+
*/
|
469 |
+
private function get_allow_script(){
|
470 |
+
|
471 |
+
$allow_iframe = ( isset( $this->options['allow_iframe'] ) ) ? $this->options['allow_iframe'] : array('');
|
472 |
+
$allow_script = ( isset( $this->options['allow_script'] ) ) ? $this->options['allow_script'] : array('');
|
473 |
+
$allow_embed = ( isset( $this->options['allow_embed'] ) ) ? $this->options['allow_embed'] : array('');
|
474 |
+
|
475 |
+
$array = array();
|
476 |
+
|
477 |
+
foreach ( $allow_iframe as $key => $value )
|
478 |
+
if ( !empty( $value ) )
|
479 |
+
$this->allow_script[] = '<iframe<---------SOMETHING--------->' . $value . '<---------SOMETHING---------></iframe>';
|
480 |
+
|
481 |
+
// foreach ( $allow_script as $key => $value )
|
482 |
+
// if ( !empty( $value ) )
|
483 |
+
// $this->allow_script[] = '<script<---------SOMETHING--------->><---------SOMETHING--------->' . $value . '<---------SOMETHING---------></script>'; $this->allow_script[] = '<script<---------SOMETHING--------->' . $value . '<---------SOMETHING--------->></script>';
|
484 |
+
|
485 |
+
foreach ( $allow_script as $key => $value )
|
486 |
+
if ( !empty( $value ) )
|
487 |
+
$this->allow_script[] = '<script<---------SOMETHING--------->' . $value . '<---------SOMETHING---------></script>';
|
488 |
+
|
489 |
+
foreach ( $allow_embed as $key => $value )
|
490 |
+
if ( !empty($value) )
|
491 |
+
$this->allow_script[] = '<embed<---------SOMETHING--------->' . $value . '<---------SOMETHING--------->>';
|
492 |
+
|
493 |
+
// return $this->allow_script;
|
494 |
+
|
495 |
+
}
|
496 |
+
|
497 |
+
private function get_block_script( $val = array() ){
|
498 |
+
|
499 |
+
$block_iframe = ( isset( $this->options['block_iframe'] ) ) ? $this->options['block_iframe'] : array('');
|
500 |
+
$block_script = ( isset( $this->options['block_script'] ) ) ? $this->options['block_script'] : array('');
|
501 |
+
$block_embed = ( isset( $this->options['block_embed'] ) ) ? $this->options['block_embed'] : array('');
|
502 |
+
|
503 |
+
$array = array();
|
504 |
+
|
505 |
+
foreach ( $block_iframe as $value )
|
506 |
+
if ( !empty( $value ) )
|
507 |
+
$this->block_script[] = '<iframe<---------SOMETHING--------->' . $value . '<---------SOMETHING---------></iframe>';
|
508 |
+
|
509 |
+
// foreach ( $block_script as $value )
|
510 |
+
// if ( !empty( $value ) )
|
511 |
+
// $this->block_script[] = '<script<---------SOMETHING--------->><---------SOMETHING--------->' . $value . '<---------SOMETHING---------></script>';
|
512 |
+
|
513 |
+
foreach ( $block_script as $value )
|
514 |
+
if ( !empty( $value ) )
|
515 |
+
$this->block_script[] = '<script<---------SOMETHING--------->' . $value . '<---------SOMETHING---------></script>';
|
516 |
+
|
517 |
+
foreach ( $block_embed as $value )
|
518 |
+
if ( !empty( $value ) )
|
519 |
+
$this->block_script[] = '<embed<---------SOMETHING--------->' . $value . '<---------SOMETHING--------->>';
|
520 |
+
|
521 |
+
// return $this->block_script;
|
522 |
+
|
523 |
+
}
|
524 |
+
|
525 |
/**
|
526 |
* Function for matching embed
|
527 |
* @param string $pattern Pattern
|
534 |
|
535 |
/**
|
536 |
* Memorizzo gli embed trovati e li appendo all'array $js_array
|
537 |
+
* @var array
|
538 |
*/
|
539 |
if ( !empty( $matches[0] ) )
|
540 |
$this->js_array = array_merge( $this->js_array, $matches[0] );
|
832 |
* var consText = Variabile per le classe dello span per il testo
|
833 |
* @var string
|
834 |
*/
|
835 |
+
|
836 |
$jsVariables = 'var coNA="' . $cookie_name . '",coVA="' . $cookie_value . '";scroll="' . $scroll . '",elPos="fixed",infoClass="' . $infoClass . '",closeClass="' . $closeClass . '",htmlM="' . $htmlM . '",rel="' . $reload . '",tar="' . $target . '",bgB="' . $banner_bg . '",btcB="' . $banner_text_color . '",bPos="' . $bPos . '",bannerStyle="' . $bannerStyle . '",contentStyle="' . $contStyle . '",consText="' . $consentText . '",jsArr = ' . $this->wp_json_encode( apply_filters( 'icc_js_array', $this->js_array ) ) . ';';
|
837 |
|
838 |
/**
|
italy-cookie-choices.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Italy Cookie Choices (for EU Cookie Law)
|
4 |
* Plugin URI: https://plus.google.com/u/0/communities/109254048492234113886
|
5 |
* Description: Italy Cookie Choices allows you to easily comply with the european cookie law and block third part cookie in your page.
|
6 |
-
* Version: 2.4.
|
7 |
* Author: Enea Overclokk, Andrea Pernici, Andrea Cardinale
|
8 |
* Author URI: https://github.com/ItalyCookieChoices/italy-cookie-choices
|
9 |
* Text Domain: italy-cookie-choices
|
@@ -14,9 +14,9 @@
|
|
14 |
*
|
15 |
* @package Italy Cookie Choices
|
16 |
* @since 1.0.0
|
17 |
-
*
|
18 |
* This program is free software; you can redistribute it and/or modify
|
19 |
-
* it under the terms of the GNU General Public License, version 2, as
|
20 |
* published by the Free Software Foundation.
|
21 |
*
|
22 |
* This program is distributed in the hope that it will be useful,
|
@@ -29,50 +29,49 @@
|
|
29 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
30 |
*/
|
31 |
|
32 |
-
|
33 |
/**
|
34 |
* This will make shure the plugin files can't be accessed within the web browser directly.
|
35 |
*/
|
36 |
-
if ( !defined( 'WPINC' ) )
|
37 |
-
|
38 |
|
39 |
/**
|
40 |
* Define some costant for internal use
|
41 |
*/
|
42 |
-
if ( !defined( 'ITALY_COOKIE_CHOICES_PLUGIN' ) )
|
43 |
-
|
44 |
|
45 |
/**
|
46 |
* Example = F:\xampp\htdocs\italystrap\wp-content\plugins\italystrap-extended\italystrap.php
|
47 |
*/
|
48 |
-
if ( !defined( 'ITALY_COOKIE_CHOICES_FILE' ) )
|
49 |
-
|
50 |
|
51 |
/**
|
52 |
* Example = F:\xampp\htdocs\italystrap\wp-content\plugins\italystrap-extended/
|
53 |
*/
|
54 |
-
if ( !defined( 'ITALY_COOKIE_CHOICES_PLUGIN_PATH' ) )
|
55 |
-
|
56 |
/**
|
57 |
* Example = italystrap-extended/italystrap.php
|
58 |
*/
|
59 |
-
if ( !defined( 'ITALY_COOKIE_CHOICES_BASENAME' ) )
|
60 |
-
|
61 |
|
62 |
/**
|
63 |
* Example = F:\xampp\htdocs\italystrap\wp-content\plugins\italy-cookie-choices
|
64 |
*/
|
65 |
-
if ( !defined( 'ITALY_COOKIE_CHOICES_DIRNAME' ) )
|
66 |
-
|
67 |
|
68 |
/**
|
69 |
* Require PHP files
|
70 |
*/
|
71 |
-
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/class-italy-cookie-choices-admin.php');
|
72 |
|
73 |
// require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/class-italy-cookie-choices-admin-pointer-init.php');
|
74 |
|
75 |
-
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'classes/class-italy-cookie-choices-front-end.php');
|
76 |
/**
|
77 |
* Required multilingual functions
|
78 |
*/
|
@@ -85,228 +84,300 @@ require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'classes/class-italy-cookie-choices-f
|
|
85 |
|
86 |
if ( ! class_exists( 'Italy_Cookie_Choices' ) ) {
|
87 |
|
88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
*/
|
94 |
-
private $PHP_ver = '5.3';
|
95 |
|
96 |
-
|
97 |
-
* Minimum requirement WordPress
|
98 |
-
* @var string
|
99 |
-
*/
|
100 |
-
private $WP_ver = '3.5';
|
101 |
-
|
102 |
-
/**
|
103 |
-
* Make some magics
|
104 |
-
*/
|
105 |
-
public function __construct(){
|
106 |
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
|
117 |
-
|
118 |
-
// new Italy_Cookie_Choices_Pointer_Init;
|
119 |
-
|
120 |
-
}
|
121 |
-
else if (
|
122 |
-
|
123 |
-
// If is compatible
|
124 |
-
$this->is_compatible_version()
|
125 |
-
|
126 |
-
// Only if is not admin
|
127 |
-
&& !is_admin()
|
128 |
-
|
129 |
-
// If is not sitemaps.xml by Yoast
|
130 |
-
&& !$this->is_sitemaps_xml()
|
131 |
-
|
132 |
-
){
|
133 |
-
|
134 |
-
/**
|
135 |
-
* Required multilingual functions
|
136 |
-
*/
|
137 |
-
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'includes/functions-italy-cookie-choices-lang.php');
|
138 |
-
|
139 |
-
if ( function_exists('pll__') )// Compatibility with Polylang
|
140 |
-
add_action( 'plugins_loaded', array( $this, 'dependency_init' ), 11 );
|
141 |
-
else
|
142 |
-
new Italy_Cookie_Choices_Front_End;
|
143 |
-
|
144 |
-
}else
|
145 |
-
add_action( 'admin_notices', array( $this, 'load_plugin_admin_notices' ) );
|
146 |
-
|
147 |
-
/**
|
148 |
-
* Check compatibility on install
|
149 |
-
*/
|
150 |
-
register_activation_hook(__FILE__,array($this,'check_compatibility_on_install'));
|
151 |
-
|
152 |
-
/**
|
153 |
-
* adjust priority to make sure this runs
|
154 |
-
*/
|
155 |
-
add_action( 'init', array( $this, 'init'), 100 );
|
156 |
-
|
157 |
-
|
158 |
-
}
|
159 |
-
|
160 |
-
/**
|
161 |
-
* Check if plugin is compatible, if it is not then it wont activate
|
162 |
-
* @return string Return error message in case plugin is not compatible
|
163 |
-
*/
|
164 |
-
public function check_compatibility_on_install(){
|
165 |
-
|
166 |
-
if ( !$this->is_compatible_version() ) {
|
167 |
-
|
168 |
-
$HTML = '<div>' . __( 'Activation of Italy Cookie Choices in not possible', 'italy-cookie-choices' ) . ':</div><ul>';
|
169 |
-
|
170 |
-
if ( !$this->is_compatible_PHP() )
|
171 |
-
$HTML .= '<li>' . $this->get_admin_notices_PHP( false ) . '</li>';
|
172 |
-
|
173 |
-
if ( !$this->is_compatible_WORDPRESS() )
|
174 |
-
$HTML .= '<li>' . $this->get_admin_notices_WORDPRESS( false ) . '</li>';
|
175 |
-
|
176 |
-
$HTML .= '</ul>';
|
177 |
-
|
178 |
-
wp_die( $HTML, __( 'Activation of Italy Cookie Choices in not possible', 'italy-cookie-choices' ), array( 'back_link' => true ) );
|
179 |
-
};
|
180 |
-
}
|
181 |
-
|
182 |
-
/**
|
183 |
-
* Init functions
|
184 |
-
*/
|
185 |
-
public function init() {
|
186 |
-
|
187 |
-
/**
|
188 |
-
* Load Lang file
|
189 |
-
*/
|
190 |
-
load_plugin_textdomain( 'italy-cookie-choices', false, dirname( ITALY_COOKIE_CHOICES_BASENAME ) . '/lang' );
|
191 |
-
|
192 |
-
}
|
193 |
-
|
194 |
-
/**
|
195 |
-
* For Polylang compatibility
|
196 |
-
* @return void Istantiate Class
|
197 |
-
*/
|
198 |
-
public function dependency_init(){
|
199 |
-
|
200 |
-
new Italy_Cookie_Choices_Front_End;
|
201 |
-
|
202 |
-
}
|
203 |
-
|
204 |
-
/**
|
205 |
-
* Checking compatibility with installed versions of the plugin
|
206 |
-
* In case of incompatibility still fully loaded plugin (return)
|
207 |
-
* @return boolean Check if plugin is compatible
|
208 |
-
*/
|
209 |
-
public function is_compatible_version() {
|
210 |
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
|
217 |
-
|
218 |
-
* Checking the compatibility of the plugin with the version of PHP
|
219 |
-
* In case of incompatibility still fully loaded plugin (return)
|
220 |
-
* @return boolean Check PHP compatibility
|
221 |
-
*/
|
222 |
-
public function is_compatible_PHP() {
|
223 |
|
224 |
-
|
225 |
-
return false;
|
226 |
-
else
|
227 |
-
return true;
|
228 |
|
229 |
-
|
|
|
230 |
|
231 |
-
|
232 |
-
|
233 |
-
* In case of incompatibility still fully loaded plugin (return)
|
234 |
-
* @return boolean Check WordPress compatibility
|
235 |
-
*/
|
236 |
-
public function is_compatible_WORDPRESS() {
|
237 |
|
238 |
-
|
239 |
-
return false;
|
240 |
-
else
|
241 |
-
return true;
|
242 |
-
}
|
243 |
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
* @return string Print error message
|
248 |
-
*/
|
249 |
-
public function load_plugin_admin_notices() {
|
250 |
|
251 |
-
|
252 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
|
254 |
-
|
255 |
-
echo $this->get_admin_notices_WORDPRESS( true );
|
256 |
-
}
|
257 |
|
258 |
-
|
|
|
|
|
|
|
|
|
259 |
|
260 |
-
|
261 |
-
}
|
262 |
|
263 |
-
|
264 |
|
265 |
-
|
266 |
-
|
|
|
|
|
|
|
|
|
267 |
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
* @param bolean $wrap [description]
|
272 |
-
* @param string $s1 PHP or WordPress
|
273 |
-
* @param string $s2 Current version
|
274 |
-
* @param string $s3 Required version
|
275 |
-
* @return string Display errors
|
276 |
-
*/
|
277 |
-
public function get_admin_notices_TEXT( $wrap, $s1, $s2, $s3 ) {
|
278 |
-
|
279 |
-
$HTML = __( 'Your server is running %s version %s but this plugin requires at least %s', 'italy-cookie-choices' );
|
280 |
-
|
281 |
-
if ( $wrap === false )
|
282 |
-
$HTML = '<div>' . $HTML . '</div>';
|
283 |
-
|
284 |
-
else
|
285 |
-
$HTML = '<div class="error"><p><b>Italy Cookie Choices</b> - ' . $HTML . '</p></div>';
|
286 |
-
|
287 |
-
return sprintf( $HTML, $s1, $s2, $s3 );
|
288 |
-
}
|
289 |
|
|
|
290 |
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
if ( ! isset( $_SERVER['REQUEST_URI'] ) )
|
298 |
-
return;
|
299 |
-
|
300 |
-
$request_uri = $_SERVER['REQUEST_URI'];
|
301 |
-
$extension = substr( $request_uri, -4 );
|
302 |
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
}
|
307 |
|
|
|
308 |
|
309 |
-
|
|
|
|
|
|
|
|
|
|
|
310 |
|
311 |
-
|
312 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
* Plugin Name: Italy Cookie Choices (for EU Cookie Law)
|
4 |
* Plugin URI: https://plus.google.com/u/0/communities/109254048492234113886
|
5 |
* Description: Italy Cookie Choices allows you to easily comply with the european cookie law and block third part cookie in your page.
|
6 |
+
* Version: 2.4.1
|
7 |
* Author: Enea Overclokk, Andrea Pernici, Andrea Cardinale
|
8 |
* Author URI: https://github.com/ItalyCookieChoices/italy-cookie-choices
|
9 |
* Text Domain: italy-cookie-choices
|
14 |
*
|
15 |
* @package Italy Cookie Choices
|
16 |
* @since 1.0.0
|
17 |
+
*
|
18 |
* This program is free software; you can redistribute it and/or modify
|
19 |
+
* it under the terms of the GNU General Public License, version 2, as
|
20 |
* published by the Free Software Foundation.
|
21 |
*
|
22 |
* This program is distributed in the hope that it will be useful,
|
29 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
30 |
*/
|
31 |
|
|
|
32 |
/**
|
33 |
* This will make shure the plugin files can't be accessed within the web browser directly.
|
34 |
*/
|
35 |
+
if ( ! defined( 'WPINC' ) )
|
36 |
+
die;
|
37 |
|
38 |
/**
|
39 |
* Define some costant for internal use
|
40 |
*/
|
41 |
+
if ( ! defined( 'ITALY_COOKIE_CHOICES_PLUGIN' ) )
|
42 |
+
define( 'ITALY_COOKIE_CHOICES_PLUGIN', true );
|
43 |
|
44 |
/**
|
45 |
* Example = F:\xampp\htdocs\italystrap\wp-content\plugins\italystrap-extended\italystrap.php
|
46 |
*/
|
47 |
+
if ( ! defined( 'ITALY_COOKIE_CHOICES_FILE' ) )
|
48 |
+
define( 'ITALY_COOKIE_CHOICES_FILE', __FILE__ );
|
49 |
|
50 |
/**
|
51 |
* Example = F:\xampp\htdocs\italystrap\wp-content\plugins\italystrap-extended/
|
52 |
*/
|
53 |
+
if ( ! defined( 'ITALY_COOKIE_CHOICES_PLUGIN_PATH' ) )
|
54 |
+
define( 'ITALY_COOKIE_CHOICES_PLUGIN_PATH', plugin_dir_path( ITALY_COOKIE_CHOICES_FILE ) );
|
55 |
/**
|
56 |
* Example = italystrap-extended/italystrap.php
|
57 |
*/
|
58 |
+
if ( ! defined( 'ITALY_COOKIE_CHOICES_BASENAME' ) )
|
59 |
+
define( 'ITALY_COOKIE_CHOICES_BASENAME', plugin_basename( ITALY_COOKIE_CHOICES_FILE ) );
|
60 |
|
61 |
/**
|
62 |
* Example = F:\xampp\htdocs\italystrap\wp-content\plugins\italy-cookie-choices
|
63 |
*/
|
64 |
+
if ( ! defined( 'ITALY_COOKIE_CHOICES_DIRNAME' ) )
|
65 |
+
define( 'ITALY_COOKIE_CHOICES_DIRNAME', dirname( ITALY_COOKIE_CHOICES_FILE ) );
|
66 |
|
67 |
/**
|
68 |
* Require PHP files
|
69 |
*/
|
70 |
+
require( ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/class-italy-cookie-choices-admin.php' );
|
71 |
|
72 |
// require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/class-italy-cookie-choices-admin-pointer-init.php');
|
73 |
|
74 |
+
require( ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'classes/class-italy-cookie-choices-front-end.php' );
|
75 |
/**
|
76 |
* Required multilingual functions
|
77 |
*/
|
84 |
|
85 |
if ( ! class_exists( 'Italy_Cookie_Choices' ) ) {
|
86 |
|
87 |
+
/**
|
88 |
+
* Italy Cookie Choices Class for showing Cookie Banner and block thirdy party script
|
89 |
+
*/
|
90 |
+
class Italy_Cookie_Choices{
|
91 |
+
|
92 |
+
/**
|
93 |
+
* Minimum requirement PHP
|
94 |
+
* @var string
|
95 |
+
*/
|
96 |
+
private $PHP_ver = '5.3';
|
97 |
+
|
98 |
+
/**
|
99 |
+
* Minimum requirement WordPress
|
100 |
+
* @var string
|
101 |
+
*/
|
102 |
+
private $WP_ver = '3.5';
|
103 |
+
|
104 |
+
/**
|
105 |
+
* Make some magics
|
106 |
+
*/
|
107 |
+
public function __construct() {
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Check if is compatible and then instantiate it
|
111 |
+
*/
|
112 |
+
if ( $this->is_compatible_version() && is_admin() ) {
|
113 |
+
|
114 |
+
/**
|
115 |
+
* Required multilingual functions
|
116 |
+
*/
|
117 |
+
require( ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'includes/functions-italy-cookie-choices-lang.php' );
|
118 |
+
|
119 |
+
new Italy_Cookie_Choices_Admin;
|
120 |
+
// new Italy_Cookie_Choices_Pointer_Init;
|
121 |
+
|
122 |
+
} else if (
|
123 |
+
|
124 |
+
! $this->_is_bot()
|
125 |
+
|
126 |
+
// If is compatible.
|
127 |
+
&& $this->is_compatible_version()
|
128 |
+
|
129 |
+
// Only if is not admin.
|
130 |
+
&& ! is_admin()
|
131 |
+
|
132 |
+
// If is not sitemaps.xml by Yoast.
|
133 |
+
&& ! $this->is_sitemaps_xml()
|
134 |
+
|
135 |
+
) {
|
136 |
+
|
137 |
+
/**
|
138 |
+
* Required multilingual functions
|
139 |
+
*/
|
140 |
+
require( ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'includes/functions-italy-cookie-choices-lang.php' );
|
141 |
|
142 |
+
if ( function_exists( 'pll__' ) )// Compatibility with Polylang.
|
143 |
+
add_action( 'plugins_loaded', array( $this, 'dependency_init' ), 11 );
|
144 |
+
else new Italy_Cookie_Choices_Front_End;
|
|
|
|
|
145 |
|
146 |
+
} else add_action( 'admin_notices', array( $this, 'load_plugin_admin_notices' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
|
148 |
+
/**
|
149 |
+
* Check compatibility on install
|
150 |
+
*/
|
151 |
+
register_activation_hook( __FILE__, array( $this, 'check_compatibility_on_install' ) );
|
152 |
|
153 |
+
/**
|
154 |
+
* Adjust priority to make sure this runs
|
155 |
+
*/
|
156 |
+
add_action( 'init', array( $this, 'init' ), 100 );
|
157 |
|
158 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
|
160 |
+
/**
|
161 |
+
* Check if plugin is compatible, if it is not then it wont activate
|
162 |
+
* Show error message in case plugin is not compatible
|
163 |
+
*/
|
164 |
+
public function check_compatibility_on_install() {
|
165 |
|
166 |
+
if ( ! $this->is_compatible_version() ) {
|
|
|
|
|
|
|
|
|
|
|
167 |
|
168 |
+
$HTML = '<div>' . __( 'Activation of Italy Cookie Choices in not possible', 'italy-cookie-choices' ) . ':</div><ul>';
|
|
|
|
|
|
|
169 |
|
170 |
+
if ( ! $this->is_compatible_php() )
|
171 |
+
$HTML .= '<li>' . $this->get_admin_notices_php( false ) . '</li>';
|
172 |
|
173 |
+
if ( ! $this->is_compatible_wordpress() )
|
174 |
+
$HTML .= '<li>' . $this->get_admin_notices_wordpress( false ) . '</li>';
|
|
|
|
|
|
|
|
|
175 |
|
176 |
+
$HTML .= '</ul>';
|
|
|
|
|
|
|
|
|
177 |
|
178 |
+
wp_die( $HTML, __( 'Activation of Italy Cookie Choices in not possible', 'italy-cookie-choices' ), array( 'back_link' => true ) );
|
179 |
+
};
|
180 |
+
}
|
|
|
|
|
|
|
181 |
|
182 |
+
/**
|
183 |
+
* Init functions
|
184 |
+
*/
|
185 |
+
public function init() {
|
186 |
+
|
187 |
+
/**
|
188 |
+
* Load Lang file
|
189 |
+
*/
|
190 |
+
load_plugin_textdomain( 'italy-cookie-choices', false, dirname( ITALY_COOKIE_CHOICES_BASENAME ) . '/lang' );
|
191 |
|
192 |
+
}
|
|
|
|
|
193 |
|
194 |
+
/**
|
195 |
+
* For Polylang compatibility
|
196 |
+
* Istantiate Class
|
197 |
+
*/
|
198 |
+
public function dependency_init() {
|
199 |
|
200 |
+
new Italy_Cookie_Choices_Front_End;
|
|
|
201 |
|
202 |
+
}
|
203 |
|
204 |
+
/**
|
205 |
+
* Checking compatibility with installed versions of the plugin
|
206 |
+
* In case of incompatibility still fully loaded plugin (return)
|
207 |
+
* @return boolean Check if plugin is compatible
|
208 |
+
*/
|
209 |
+
public function is_compatible_version() {
|
210 |
|
211 |
+
if ( $this->is_compatible_php() && $this->is_compatible_wordpress() )
|
212 |
+
return true;
|
213 |
+
else return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
|
215 |
+
}
|
216 |
|
217 |
+
/**
|
218 |
+
* Checking the compatibility of the plugin with the version of PHP
|
219 |
+
* In case of incompatibility still fully loaded plugin (return)
|
220 |
+
* @return boolean Check PHP compatibility
|
221 |
+
*/
|
222 |
+
public function is_compatible_php() {
|
|
|
|
|
|
|
|
|
|
|
223 |
|
224 |
+
if ( version_compare( phpversion(), $this->PHP_ver, '<' ) )
|
225 |
+
return false;
|
226 |
+
else return true;
|
|
|
227 |
|
228 |
+
}
|
229 |
|
230 |
+
/**
|
231 |
+
* Checking the compatibility of the plugin with the version of Wordpress
|
232 |
+
* In case of incompatibility still fully loaded plugin (return)
|
233 |
+
* @return boolean Check WordPress compatibility
|
234 |
+
*/
|
235 |
+
public function is_compatible_wordpress() {
|
236 |
|
237 |
+
if ( version_compare( $GLOBALS['wp_version'], $this->WP_ver, '<' ) )
|
238 |
+
return false;
|
239 |
+
else return true;
|
240 |
+
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* If the plugin is active, but the minimum requirements are not met
|
245 |
+
* the function is called to add the details on the notice board error
|
246 |
+
* Print error message
|
247 |
+
*/
|
248 |
+
public function load_plugin_admin_notices() {
|
249 |
+
|
250 |
+
if ( ! $this->is_compatible_php() )
|
251 |
+
echo $this->get_admin_notices_php( true );
|
252 |
+
|
253 |
+
if ( ! $this->is_compatible_wordpress() )
|
254 |
+
echo $this->get_admin_notices_wordpress( true );
|
255 |
+
}
|
256 |
+
|
257 |
+
/**
|
258 |
+
* Get the admin notice PHP
|
259 |
+
* @param bolean $wrap
|
260 |
+
* @return string Return the admin notice for PHP
|
261 |
+
*/
|
262 |
+
public function get_admin_notices_php( $wrap ) {
|
263 |
+
|
264 |
+
return $this->get_admin_notices_text( $wrap, 'PHP', phpversion(), $this->PHP_ver );
|
265 |
+
}
|
266 |
+
|
267 |
+
/**
|
268 |
+
* Get the admin notice WordPress
|
269 |
+
* @param bolean $wrap
|
270 |
+
* @return string Return the admin notice for WordPress
|
271 |
+
*/
|
272 |
+
public function get_admin_notices_wordpress( $wrap ) {
|
273 |
+
|
274 |
+
return $this->get_admin_notices_text( $wrap, 'WordPress', $GLOBALS['wp_version'], $this->WP_ver );
|
275 |
+
}
|
276 |
+
|
277 |
+
/**
|
278 |
+
* A function that creates a generic error to be displayed during
|
279 |
+
* the activation function or on the bulletin board of directors.
|
280 |
+
* @param bolean $wrap
|
281 |
+
* @param string $s1 PHP or WordPress.
|
282 |
+
* @param string $s2 Current version.
|
283 |
+
* @param string $s3 Required version.
|
284 |
+
* @return string Display errors
|
285 |
+
*/
|
286 |
+
public function get_admin_notices_text( $wrap, $s1, $s2, $s3 ) {
|
287 |
+
|
288 |
+
$HTML = __( 'Your server is running %s version %s but this plugin requires at least %s', 'italy-cookie-choices' );
|
289 |
+
|
290 |
+
if ( false === $wrap )
|
291 |
+
$HTML = '<div>' . $HTML . '</div>';
|
292 |
+
|
293 |
+
else $HTML = '<div class="error"><p><b>Italy Cookie Choices</b> - ' . $HTML . '</p></div>';
|
294 |
+
|
295 |
+
return sprintf( $HTML, $s1, $s2, $s3 );
|
296 |
+
}
|
297 |
+
|
298 |
+
|
299 |
+
/**
|
300 |
+
* Check the current request URI, if we can determine it's probably an XML sitemap, kill loading the widgets
|
301 |
+
* @return boolean Return true if is in sitemap.xml (fix for WordPress SEO by Yoast)
|
302 |
+
*/
|
303 |
+
public function is_sitemaps_xml() {
|
304 |
+
|
305 |
+
if ( ! isset( $_SERVER['REQUEST_URI'] ) )
|
306 |
+
return;
|
307 |
+
|
308 |
+
$request_uri = $_SERVER['REQUEST_URI'];
|
309 |
+
$extension = substr( $request_uri, -4 );
|
310 |
+
|
311 |
+
if ( false !== stripos( $request_uri, 'sitemap' ) && ( in_array( $extension, array( '.xml', '.xsl' ) ) ) )
|
312 |
+
return true;
|
313 |
+
|
314 |
+
}
|
315 |
+
|
316 |
+
/**
|
317 |
+
* Check if User Agent is a Bot
|
318 |
+
*
|
319 |
+
* Some links with spiders list
|
320 |
+
* @link http://www.robotstxt.org/db.html
|
321 |
+
* @link http://www.searchenginedictionary.com/spider-names.shtml
|
322 |
+
* @link http://www.useragentstring.com/pages/Crawlerlist/
|
323 |
+
*
|
324 |
+
* @return boolean Return true if User Agent is a Bot
|
325 |
+
*/
|
326 |
+
private function _is_bot() {
|
327 |
+
|
328 |
+
if ( empty( $_SERVER['HTTP_USER_AGENT'] ) )
|
329 |
+
return false;
|
330 |
+
|
331 |
+
$http_user_agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
|
332 |
+
|
333 |
+
$bots = array(
|
334 |
+
'googlebot',
|
335 |
+
'facebookexternalhit',
|
336 |
+
'adsbot-google',
|
337 |
+
'google keyword suggestion',
|
338 |
+
'facebot',
|
339 |
+
'yandexbot',
|
340 |
+
'bingbot',
|
341 |
+
'ia_archiver',
|
342 |
+
'ahrefsbot',
|
343 |
+
'ezooms',
|
344 |
+
'gslfbot',
|
345 |
+
'wbsearchbot',
|
346 |
+
'twitterbot',
|
347 |
+
'tweetmemebot',
|
348 |
+
'twikle',
|
349 |
+
'paperlibot',
|
350 |
+
'wotbox',
|
351 |
+
'unwindfetchor',
|
352 |
+
'exabot',
|
353 |
+
'mj12bot',
|
354 |
+
'yandeximages',
|
355 |
+
'turnitinbot',
|
356 |
+
'pingdom',
|
357 |
+
'Slurp',
|
358 |
+
'search.msn.com',
|
359 |
+
'nutch',
|
360 |
+
'simpy',
|
361 |
+
'bot',
|
362 |
+
'aspseek',
|
363 |
+
'crawler',
|
364 |
+
'msnbot',
|
365 |
+
'libwww-perl',
|
366 |
+
'fast',
|
367 |
+
'baidu',
|
368 |
+
'googlebot-mobile',
|
369 |
+
'adsbot-google-mobile',
|
370 |
+
'yahooseeker',
|
371 |
+
);
|
372 |
+
|
373 |
+
$bots = strtolower( implode( '|', $bots ) );
|
374 |
+
|
375 |
+
if ( preg_match( '/(' . $bots . ')/i', $http_user_agent ) ) return true;
|
376 |
+
|
377 |
+
else return false;
|
378 |
+
|
379 |
+
}
|
380 |
+
} // End Italy_Cookie_Choices
|
381 |
+
|
382 |
+
new Italy_Cookie_Choices;
|
383 |
+
}
|
js/default/cookiechoices.js
CHANGED
@@ -100,6 +100,37 @@ function deleteCookie() {
|
|
100 |
document.location.reload();
|
101 |
}
|
102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
(function(window) {
|
104 |
|
105 |
if (!!window.cookieChoices) {
|
100 |
document.location.reload();
|
101 |
}
|
102 |
|
103 |
+
/**
|
104 |
+
* https://snippetlib.com/jquery/remove_cookies
|
105 |
+
*/
|
106 |
+
//function to delete cookie (change expiry date)
|
107 |
+
function delCookie(name)
|
108 |
+
{
|
109 |
+
document.cookie = name+'=; expires=Thu, 2 Aug 2001 20:47:11 UTC; path=/'
|
110 |
+
}
|
111 |
+
function getCookieKeys(){
|
112 |
+
|
113 |
+
// Separate key / value pairs
|
114 |
+
var cookies = document.cookie.split(";"),
|
115 |
+
index, keys = [];
|
116 |
+
for(i = 0; i < cookies.length; i++) {
|
117 |
+
cookieEntry = cookies[i].split("=");
|
118 |
+
// first part of the split string holds the key ...
|
119 |
+
keys.push(cookieEntry[0]);
|
120 |
+
}
|
121 |
+
return keys;
|
122 |
+
}
|
123 |
+
|
124 |
+
function deleteAllCookie(){
|
125 |
+
|
126 |
+
var cookieKeys = getCookieKeys();
|
127 |
+
|
128 |
+
//delete all cookies
|
129 |
+
for(i = 0; i < cookieKeys.length; i++)
|
130 |
+
delCookie(cookieKeys[i]);
|
131 |
+
|
132 |
+
}
|
133 |
+
|
134 |
(function(window) {
|
135 |
|
136 |
if (!!window.cookieChoices) {
|
lang/italy-cookie-choices-it_IT.mo
CHANGED
Binary file
|
lang/italy-cookie-choices-it_IT.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: italy-cookie-choices\n"
|
4 |
-
"POT-Creation-Date: 2015-
|
5 |
-
"PO-Revision-Date: 2015-
|
6 |
"Last-Translator: Enea Overclokk <info@overclokk.net>\n"
|
7 |
"Language-Team: info@overclokk.net\n"
|
8 |
"Language: it_IT\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.8.
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -19,243 +19,252 @@ msgstr ""
|
|
19 |
"X-Poedit-SearchPathExcluded-1: .git\n"
|
20 |
|
21 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:66
|
|
|
22 |
msgid "Radio 1"
|
23 |
msgstr ""
|
24 |
|
25 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:67
|
|
|
|
|
26 |
msgid "The plugin is active and ready to start working."
|
27 |
msgstr ""
|
28 |
|
29 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:70
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
msgid "Open Popup"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
34 |
msgid "Italy_Cookie_Choices_Pointer for Posts"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
38 |
msgid "One more pointer."
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
42 |
msgid "Italy_Cookie_Choices_Pointer Pages"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
46 |
msgid "A pointer for pages."
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
50 |
msgid "Italy_Cookie_Choices_Pointer Users"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
54 |
msgid "A pointer for users."
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
58 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
59 |
msgid "Italy_Cookie_Choices_Pointer Help"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
63 |
msgid "A pointer with action."
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
67 |
-
msgid "Next"
|
68 |
-
msgstr ""
|
69 |
-
|
70 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:116
|
71 |
msgid ""
|
72 |
"A pointer for help tab.<br>Go to Posts, Pages or Users for other pointers."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: admin/class-italy-cookie-choices-admin-pointer.php:
|
76 |
msgid "Italy_Cookie_Choices_Pointer Error: post_type is not an array!"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: admin/class-italy-cookie-choices-admin-pointer.php:
|
80 |
msgid "Italy_Cookie_Choices_Pointer Error: pages is not an array!"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
84 |
msgid "Italy Cookie Choices Dashboard"
|
85 |
msgstr "Pannello di Italy Cookie Choices"
|
86 |
|
87 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
88 |
msgid "You do not have sufficient permissions to access this page."
|
89 |
msgstr "Non hai abbastanza permessi per visualizzare questa pagina."
|
90 |
|
91 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
92 |
msgid "Italy Cookie Choices options page"
|
93 |
msgstr "Pagina opzioni per Italy Cookie Choices"
|
94 |
|
95 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
96 |
msgid "Activate"
|
97 |
msgstr "Attiva"
|
98 |
|
99 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
100 |
msgid "Where display the banner"
|
101 |
msgstr "Dove mostrare il banner"
|
102 |
|
103 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
104 |
msgid "Mouse scroll event"
|
105 |
msgstr "Evento scroll del mouse"
|
106 |
|
107 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
108 |
msgid "Accept on second view"
|
109 |
msgstr "Accettazione continuando la navigazione"
|
110 |
|
111 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
112 |
msgid "Refresh page"
|
113 |
msgstr "Aggiorna la pagina"
|
114 |
|
115 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
116 |
msgid "Text to display"
|
117 |
msgstr "Testo da mostrare"
|
118 |
|
119 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
120 |
msgid "URL for cookie policy"
|
121 |
msgstr "URL per la cookie policy"
|
122 |
|
123 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
124 |
msgid "Cookie policy page slug"
|
125 |
msgstr "Slug pagina Cookie policy"
|
126 |
|
127 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
128 |
msgid "Anchor text for URL"
|
129 |
msgstr "Anchor text per la URL"
|
130 |
|
131 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
132 |
msgid "Button text"
|
133 |
msgstr "Testo per il bottone"
|
134 |
|
135 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
136 |
msgid "Style settings"
|
137 |
msgstr "Impostazioni per lo stile"
|
138 |
|
139 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
140 |
msgid "CookieChoices Template"
|
141 |
msgstr "CookieChoices Template"
|
142 |
|
143 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
144 |
msgid "HTML top margin"
|
145 |
msgstr "Margine alto per HTML"
|
146 |
|
147 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
148 |
msgid "Banner Background color"
|
149 |
msgstr "Colore di sfondo per il banner"
|
150 |
|
151 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
152 |
msgid "Banner text color"
|
153 |
msgstr "Colore per il testo del banner"
|
154 |
|
155 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
156 |
msgid "Custom CSS"
|
157 |
msgstr "CSS personalizzato"
|
158 |
|
159 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
160 |
msgid "Custom CSS Class (Optional)"
|
161 |
msgstr "Classi CSS personalizzate (Opzionali)"
|
162 |
|
163 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
164 |
msgid "Advanced settings"
|
165 |
msgstr "Opzioni avanzate"
|
166 |
|
167 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
168 |
msgid "Cookie name"
|
169 |
msgstr "Nome del Cookie"
|
170 |
|
171 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
172 |
msgid "Cookie value"
|
173 |
msgstr "Valore del Cookie"
|
174 |
|
175 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
176 |
msgid "Open policy in new page"
|
177 |
msgstr "Apri in una nuova pagina"
|
178 |
|
179 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
180 |
msgid "Third part cookie block (beta)"
|
181 |
msgstr "Blocco dei cookie di terze parti (Beta)"
|
182 |
|
183 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
184 |
msgid "Scripts allowed in body"
|
185 |
msgstr "Script da non bloccare"
|
186 |
|
187 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
188 |
msgid "Scripts to be blocked"
|
189 |
msgstr "Script da bloccare"
|
190 |
|
191 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
192 |
msgid "Text message for locked embedded content"
|
193 |
msgstr "Testo per gli embed bloccati"
|
194 |
|
195 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
196 |
msgid "Button text to activate locked embedded content"
|
197 |
msgstr "Testo per il bottone di accettazione degli embed bloccati"
|
198 |
|
199 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
200 |
msgid "Customize your banner for cookie law"
|
201 |
msgstr "Personalizza il banner per la Cookie Law"
|
202 |
|
203 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
204 |
msgid "Display banner for Cookie Law in front-end"
|
205 |
msgstr ""
|
206 |
"Visualizza il banner sul tuo sito web, se non attivi non viene mostrato "
|
207 |
"nulla."
|
208 |
|
209 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
210 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
211 |
msgstr "Top Bar (Default, Visualizza una top bar con il tuo messaggio)"
|
212 |
|
213 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
214 |
msgid "Dialog (Display an overlay with your message)"
|
215 |
msgstr "Dialog (Visualizza un popup con il tuo messaggio)"
|
216 |
|
217 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
218 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
219 |
msgstr "Bottom Bar (Visualizza una barra nel footer con il tuo messaggio)"
|
220 |
|
221 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
222 |
msgid "Accepts disclosures on mouse scroll event"
|
223 |
msgstr "Accetta l'informativa sull'evento scroll del mouse"
|
224 |
|
225 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
226 |
msgid "Activate accept on second view"
|
227 |
msgstr "Attiva l'accettazione se l'utente continua la navigazione"
|
228 |
|
229 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
230 |
msgid "Refresh page after button click (DEPRECATED)"
|
231 |
msgstr "Aggiorna la pagina dopo l'accettazione (DEPRECATA)"
|
232 |
|
233 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
234 |
msgid "Your short cookie policy"
|
235 |
msgstr "La tua informativa breve"
|
236 |
|
237 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
238 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
239 |
msgid ""
|
240 |
"People will see this notice only the first time that they enter your site"
|
241 |
msgstr ""
|
242 |
"Le persone visualizzeranno il messaggio la prima volta che visiteranno il "
|
243 |
"tuo sito"
|
244 |
|
245 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
246 |
msgid "e.g. http://www.aboutcookies.org/"
|
247 |
msgstr "es: http://www.aboutcookies.org/"
|
248 |
|
249 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
250 |
msgid "Insert here the link to your policy page"
|
251 |
msgstr "Inserisci il link alla tua pagina con l'informativa estesa"
|
252 |
|
253 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
254 |
msgid "otherwise create a new one and then add URL to this input"
|
255 |
msgstr ""
|
|
|
256 |
|
257 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
258 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
259 |
msgid ""
|
260 |
"Start typing first two letters of the name of the policy page and then "
|
261 |
"select it from the menu below the input"
|
@@ -263,11 +272,11 @@ msgstr ""
|
|
263 |
"Comincia digitando le prime due lettere della pagina della tua informativa "
|
264 |
"estesa e quindi selezionala dal menù a tendina che appare sotto la input"
|
265 |
|
266 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
267 |
msgid "e.g. privacy-e-cookie"
|
268 |
msgstr "es: privacy-e-cookie"
|
269 |
|
270 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
271 |
msgid ""
|
272 |
"Insert your cookie policy page slug (e.g. for the page http://www.miodominio."
|
273 |
"it/privacy-e-cookie/ the slug is <strong>privacy-e-cookie</strong>).<br>In "
|
@@ -281,149 +290,149 @@ msgstr ""
|
|
281 |
"l'accettazione continuando la navigazione verranno disattivati in quella "
|
282 |
"pagina."
|
283 |
|
284 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
285 |
msgid "e.g. More Info"
|
286 |
msgstr "es: Maggiori informazioni"
|
287 |
|
288 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
289 |
msgid "Insert here anchor text for the link"
|
290 |
msgstr "Inserisci qui l'anchor text per il link"
|
291 |
|
292 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
293 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
294 |
msgid "e.g. Close"
|
295 |
msgstr "es: Chiudi"
|
296 |
|
297 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
298 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
299 |
msgid "Insert here name of button (e.g. \"Close\") "
|
300 |
msgstr "Inserisci il testo del link per chiudere il popup/banner (es: Chiudi)"
|
301 |
|
302 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
303 |
msgid "Customize your style settings"
|
304 |
msgstr "Personalizza le impostazioni per lo stile"
|
305 |
|
306 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
307 |
msgid "Add a page top margin for info top bar, only for default topbar stile"
|
308 |
msgstr "Aggiungi un margine in cima alla pagina, solo per la topbar di default"
|
309 |
|
310 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
311 |
msgid "Default cookiechoices template (centered with text links)"
|
312 |
msgstr "Template di default, testo centrato con link testuali."
|
313 |
|
314 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
315 |
msgid "Centered container with left aligned text and big buttons"
|
316 |
msgstr ""
|
317 |
"Template con contenitore centrato (980px), testo allineato a sinistra e "
|
318 |
"bottoni grandi"
|
319 |
|
320 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
321 |
msgid "Centered container with left aligned text and small buttons"
|
322 |
msgstr ""
|
323 |
"Template con contenitore centrato (980px), testo allineato a sinistra e "
|
324 |
"bottoni piccoli"
|
325 |
|
326 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
327 |
msgid "My custom CSS"
|
328 |
msgstr "Il mio css personalizzato"
|
329 |
|
330 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
331 |
msgid "Select the template to use"
|
332 |
msgstr "Seleziona il template che vuoi usare"
|
333 |
|
334 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
335 |
msgid "Custom Background color for banner"
|
336 |
msgstr "Colore di sfondo per il banner"
|
337 |
|
338 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
339 |
msgid "Custom text color for banner"
|
340 |
msgstr "Colore del testo per il banner"
|
341 |
|
342 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
343 |
msgid "Your custom css"
|
344 |
msgstr "Il tuo css personalizzato"
|
345 |
|
346 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
347 |
msgid "Inset here your custom CSS for banner"
|
348 |
msgstr "Inserisci qui il tuo CSS personalizzato per il banner"
|
349 |
|
350 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
351 |
msgid "Eg: bannerStyle"
|
352 |
msgstr "Es: bannerStyle"
|
353 |
|
354 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
355 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
356 |
msgstr ""
|
357 |
"Classe CSS per il tag div del contenitore (Default <code>bannerStyle</code>)"
|
358 |
|
359 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
360 |
msgid "Eg: contentStyle"
|
361 |
msgstr "Es: contentStyle"
|
362 |
|
363 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
364 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
365 |
msgstr ""
|
366 |
"Classe CSS per il tag div del contenuto (Default <code>contentStyle</code>)"
|
367 |
|
368 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
369 |
msgid "Eg: consentText"
|
370 |
msgstr "Es: consentText"
|
371 |
|
372 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
373 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
374 |
msgstr "Classe CSS per il tag span (Default <code>consentText</code>)"
|
375 |
|
376 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
377 |
msgid "Eg: infoClass"
|
378 |
msgstr "Es: infoClass"
|
379 |
|
380 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
381 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
382 |
msgstr "Classe CSS per il link info (Default <code>itaybtn</code>)"
|
383 |
|
384 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
385 |
msgid "Eg: closeClass"
|
386 |
msgstr "Es: closeClass"
|
387 |
|
388 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
389 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
390 |
msgstr "Classe CSS per il link di chiusura (Default <code>itaybtn</code>)"
|
391 |
|
392 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
393 |
msgid "Customize with your personal CSS class"
|
394 |
msgstr "Personalizza con le tue classi CSS"
|
395 |
|
396 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
397 |
msgid "Customize your advanced settings"
|
398 |
msgstr "Personalizza le impostazioni avanzate"
|
399 |
|
400 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
401 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
402 |
msgstr "Inserisci il nome del tuo Cookie (Default: displayCookieConsent)"
|
403 |
|
404 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
405 |
msgid "Insert your cookie value (Default: y)"
|
406 |
msgstr "Inserisci il valore del tuo Cookie (Default: y)"
|
407 |
|
408 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
409 |
msgid "Open your cookie policy page in new one"
|
410 |
msgstr "Apri la tua pagina per la Cookie policy in una nuova"
|
411 |
|
412 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
413 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
414 |
msgstr "Cookie da tutti gli embed nel tuo contenuto (Beta) (DEPRECATA)"
|
415 |
|
416 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
417 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
418 |
msgstr "Cookie da tutti gli embed nei tuoi widget (Beta) (DEPRECATA)"
|
419 |
|
420 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
421 |
msgid "Cookie from any embed in all body, except head and footer (Beta)"
|
422 |
msgstr ""
|
423 |
"Cookie da tutti gli embed nella tua pagina, eccetto head e footer (Beta)"
|
424 |
|
425 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
426 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
427 |
msgid ""
|
428 |
"<script src="http://domain.com/widget-example.js"></"
|
429 |
"script>\n"
|
@@ -443,11 +452,11 @@ msgstr ""
|
|
443 |
"<script src="http://lastdomain.com/gadget-example.js"></"
|
444 |
"script>"
|
445 |
|
446 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
447 |
msgid "View example"
|
448 |
-
msgstr ""
|
449 |
|
450 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
451 |
msgid ""
|
452 |
"Scripts to be excluded from the automatic block.<br />Split each script with "
|
453 |
"<strong><em><---------SEP---------></em></strong><br>Use "
|
@@ -457,12 +466,12 @@ msgstr ""
|
|
457 |
"script con <strong> <em><---------SEP---------></em></strong><br>Usa "
|
458 |
"<strong><---------SOMETHING---------></strong> per regex personalizzata"
|
459 |
|
460 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
461 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
462 |
msgid "For more information see the documentation"
|
463 |
msgstr "Per maggiorni informazioni guarda la documentazione"
|
464 |
|
465 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
466 |
msgid ""
|
467 |
"Scripts shown in the head and in the footer does not automatically blocked."
|
468 |
"<br />Split each script with <strong><em><---------SEP---------></em></"
|
@@ -473,35 +482,101 @@ msgstr ""
|
|
473 |
"script con <strong><em><---------SEP---------></em></strong><br>Usa "
|
474 |
"<strong><---------SOMETHING---------></strong> per una regex personalizzata."
|
475 |
|
476 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
477 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
478 |
msgstr ""
|
479 |
"Il tuo messaggio da visualizzare nel box per i contenuti bloccati "
|
480 |
"incorporati all'interno di pagine, articoli e widget"
|
481 |
|
482 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
483 |
#: admin/class-italy-cookie-choices-sanitize.php:77
|
484 |
msgid "Cookie name field it can't be empty. Restored default name."
|
485 |
msgstr ""
|
486 |
"Il campo del nome del Cookie non può essere vuoto. Ripristinato il nome di "
|
487 |
"default."
|
488 |
|
489 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
490 |
#: admin/class-italy-cookie-choices-sanitize.php:84
|
491 |
msgid "Cookie value field it can't be empty. Restored default value."
|
492 |
msgstr ""
|
493 |
"Il campo del valore del Cookie non può essere vuoto. Ripristinato il valore "
|
494 |
"di default."
|
495 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
496 |
#: admin/template/code-example.php:7
|
497 |
msgid "Script inline example"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: italy-cookie-choices.php:
|
501 |
msgid "Activation of Italy Cookie Choices in not possible"
|
502 |
msgstr "L'attivazione di Italy Cookie Choices non è possibile"
|
503 |
|
504 |
-
#: italy-cookie-choices.php:
|
505 |
#, php-format
|
506 |
msgid ""
|
507 |
"Your server is running %s version %s but this plugin requires at least %s"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: italy-cookie-choices\n"
|
4 |
+
"POT-Creation-Date: 2015-09-08 17:00+0200\n"
|
5 |
+
"PO-Revision-Date: 2015-09-08 17:25+0200\n"
|
6 |
"Last-Translator: Enea Overclokk <info@overclokk.net>\n"
|
7 |
"Language-Team: info@overclokk.net\n"
|
8 |
"Language: it_IT\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.8.4\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
"X-Poedit-SearchPathExcluded-1: .git\n"
|
20 |
|
21 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:66
|
22 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:80
|
23 |
msgid "Radio 1"
|
24 |
msgstr ""
|
25 |
|
26 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:67
|
27 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:81
|
28 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:96
|
29 |
msgid "The plugin is active and ready to start working."
|
30 |
msgstr ""
|
31 |
|
32 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:70
|
33 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:135
|
34 |
+
msgid "Next"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:95
|
38 |
+
msgid "Radio 2"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:99
|
42 |
msgid "Open Popup"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:108
|
46 |
msgid "Italy_Cookie_Choices_Pointer for Posts"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:109
|
50 |
msgid "One more pointer."
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:116
|
54 |
msgid "Italy_Cookie_Choices_Pointer Pages"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:117
|
58 |
msgid "A pointer for pages."
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:123
|
62 |
msgid "Italy_Cookie_Choices_Pointer Users"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:124
|
66 |
msgid "A pointer for users."
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:130
|
70 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:148
|
71 |
msgid "Italy_Cookie_Choices_Pointer Help"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:131
|
75 |
msgid "A pointer with action."
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:149
|
|
|
|
|
|
|
|
|
79 |
msgid ""
|
80 |
"A pointer for help tab.<br>Go to Posts, Pages or Users for other pointers."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: admin/class-italy-cookie-choices-admin-pointer.php:70
|
84 |
msgid "Italy_Cookie_Choices_Pointer Error: post_type is not an array!"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: admin/class-italy-cookie-choices-admin-pointer.php:93
|
88 |
msgid "Italy_Cookie_Choices_Pointer Error: pages is not an array!"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: admin/class-italy-cookie-choices-admin.php:147
|
92 |
msgid "Italy Cookie Choices Dashboard"
|
93 |
msgstr "Pannello di Italy Cookie Choices"
|
94 |
|
95 |
+
#: admin/class-italy-cookie-choices-admin.php:161
|
96 |
msgid "You do not have sufficient permissions to access this page."
|
97 |
msgstr "Non hai abbastanza permessi per visualizzare questa pagina."
|
98 |
|
99 |
+
#: admin/class-italy-cookie-choices-admin.php:207
|
100 |
msgid "Italy Cookie Choices options page"
|
101 |
msgstr "Pagina opzioni per Italy Cookie Choices"
|
102 |
|
103 |
+
#: admin/class-italy-cookie-choices-admin.php:217
|
104 |
msgid "Activate"
|
105 |
msgstr "Attiva"
|
106 |
|
107 |
+
#: admin/class-italy-cookie-choices-admin.php:229
|
108 |
msgid "Where display the banner"
|
109 |
msgstr "Dove mostrare il banner"
|
110 |
|
111 |
+
#: admin/class-italy-cookie-choices-admin.php:240
|
112 |
msgid "Mouse scroll event"
|
113 |
msgstr "Evento scroll del mouse"
|
114 |
|
115 |
+
#: admin/class-italy-cookie-choices-admin.php:251
|
116 |
msgid "Accept on second view"
|
117 |
msgstr "Accettazione continuando la navigazione"
|
118 |
|
119 |
+
#: admin/class-italy-cookie-choices-admin.php:262
|
120 |
msgid "Refresh page"
|
121 |
msgstr "Aggiorna la pagina"
|
122 |
|
123 |
+
#: admin/class-italy-cookie-choices-admin.php:273
|
124 |
msgid "Text to display"
|
125 |
msgstr "Testo da mostrare"
|
126 |
|
127 |
+
#: admin/class-italy-cookie-choices-admin.php:284
|
128 |
msgid "URL for cookie policy"
|
129 |
msgstr "URL per la cookie policy"
|
130 |
|
131 |
+
#: admin/class-italy-cookie-choices-admin.php:295
|
132 |
msgid "Cookie policy page slug"
|
133 |
msgstr "Slug pagina Cookie policy"
|
134 |
|
135 |
+
#: admin/class-italy-cookie-choices-admin.php:306
|
136 |
msgid "Anchor text for URL"
|
137 |
msgstr "Anchor text per la URL"
|
138 |
|
139 |
+
#: admin/class-italy-cookie-choices-admin.php:317
|
140 |
msgid "Button text"
|
141 |
msgstr "Testo per il bottone"
|
142 |
|
143 |
+
#: admin/class-italy-cookie-choices-admin.php:328
|
144 |
msgid "Style settings"
|
145 |
msgstr "Impostazioni per lo stile"
|
146 |
|
147 |
+
#: admin/class-italy-cookie-choices-admin.php:338
|
148 |
msgid "CookieChoices Template"
|
149 |
msgstr "CookieChoices Template"
|
150 |
|
151 |
+
#: admin/class-italy-cookie-choices-admin.php:349
|
152 |
msgid "HTML top margin"
|
153 |
msgstr "Margine alto per HTML"
|
154 |
|
155 |
+
#: admin/class-italy-cookie-choices-admin.php:360
|
156 |
msgid "Banner Background color"
|
157 |
msgstr "Colore di sfondo per il banner"
|
158 |
|
159 |
+
#: admin/class-italy-cookie-choices-admin.php:371
|
160 |
msgid "Banner text color"
|
161 |
msgstr "Colore per il testo del banner"
|
162 |
|
163 |
+
#: admin/class-italy-cookie-choices-admin.php:382
|
164 |
msgid "Custom CSS"
|
165 |
msgstr "CSS personalizzato"
|
166 |
|
167 |
+
#: admin/class-italy-cookie-choices-admin.php:393
|
168 |
msgid "Custom CSS Class (Optional)"
|
169 |
msgstr "Classi CSS personalizzate (Opzionali)"
|
170 |
|
171 |
+
#: admin/class-italy-cookie-choices-admin.php:404
|
172 |
msgid "Advanced settings"
|
173 |
msgstr "Opzioni avanzate"
|
174 |
|
175 |
+
#: admin/class-italy-cookie-choices-admin.php:414
|
176 |
msgid "Cookie name"
|
177 |
msgstr "Nome del Cookie"
|
178 |
|
179 |
+
#: admin/class-italy-cookie-choices-admin.php:425
|
180 |
msgid "Cookie value"
|
181 |
msgstr "Valore del Cookie"
|
182 |
|
183 |
+
#: admin/class-italy-cookie-choices-admin.php:436
|
184 |
msgid "Open policy in new page"
|
185 |
msgstr "Apri in una nuova pagina"
|
186 |
|
187 |
+
#: admin/class-italy-cookie-choices-admin.php:447
|
188 |
msgid "Third part cookie block (beta)"
|
189 |
msgstr "Blocco dei cookie di terze parti (Beta)"
|
190 |
|
191 |
+
#: admin/class-italy-cookie-choices-admin.php:458
|
192 |
msgid "Scripts allowed in body"
|
193 |
msgstr "Script da non bloccare"
|
194 |
|
195 |
+
#: admin/class-italy-cookie-choices-admin.php:469
|
196 |
msgid "Scripts to be blocked"
|
197 |
msgstr "Script da bloccare"
|
198 |
|
199 |
+
#: admin/class-italy-cookie-choices-admin.php:480
|
200 |
msgid "Text message for locked embedded content"
|
201 |
msgstr "Testo per gli embed bloccati"
|
202 |
|
203 |
+
#: admin/class-italy-cookie-choices-admin.php:491
|
204 |
msgid "Button text to activate locked embedded content"
|
205 |
msgstr "Testo per il bottone di accettazione degli embed bloccati"
|
206 |
|
207 |
+
#: admin/class-italy-cookie-choices-admin.php:516
|
208 |
msgid "Customize your banner for cookie law"
|
209 |
msgstr "Personalizza il banner per la Cookie Law"
|
210 |
|
211 |
+
#: admin/class-italy-cookie-choices-admin.php:531
|
212 |
msgid "Display banner for Cookie Law in front-end"
|
213 |
msgstr ""
|
214 |
"Visualizza il banner sul tuo sito web, se non attivi non viene mostrato "
|
215 |
"nulla."
|
216 |
|
217 |
+
#: admin/class-italy-cookie-choices-admin.php:551
|
218 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
219 |
msgstr "Top Bar (Default, Visualizza una top bar con il tuo messaggio)"
|
220 |
|
221 |
+
#: admin/class-italy-cookie-choices-admin.php:559
|
222 |
msgid "Dialog (Display an overlay with your message)"
|
223 |
msgstr "Dialog (Visualizza un popup con il tuo messaggio)"
|
224 |
|
225 |
+
#: admin/class-italy-cookie-choices-admin.php:567
|
226 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
227 |
msgstr "Bottom Bar (Visualizza una barra nel footer con il tuo messaggio)"
|
228 |
|
229 |
+
#: admin/class-italy-cookie-choices-admin.php:587
|
230 |
msgid "Accepts disclosures on mouse scroll event"
|
231 |
msgstr "Accetta l'informativa sull'evento scroll del mouse"
|
232 |
|
233 |
+
#: admin/class-italy-cookie-choices-admin.php:607
|
234 |
msgid "Activate accept on second view"
|
235 |
msgstr "Attiva l'accettazione se l'utente continua la navigazione"
|
236 |
|
237 |
+
#: admin/class-italy-cookie-choices-admin.php:625
|
238 |
msgid "Refresh page after button click (DEPRECATED)"
|
239 |
msgstr "Aggiorna la pagina dopo l'accettazione (DEPRECATA)"
|
240 |
|
241 |
+
#: admin/class-italy-cookie-choices-admin.php:658
|
242 |
msgid "Your short cookie policy"
|
243 |
msgstr "La tua informativa breve"
|
244 |
|
245 |
+
#: admin/class-italy-cookie-choices-admin.php:665
|
246 |
+
#: admin/class-italy-cookie-choices-admin.php:1156
|
247 |
msgid ""
|
248 |
"People will see this notice only the first time that they enter your site"
|
249 |
msgstr ""
|
250 |
"Le persone visualizzeranno il messaggio la prima volta che visiteranno il "
|
251 |
"tuo sito"
|
252 |
|
253 |
+
#: admin/class-italy-cookie-choices-admin.php:690
|
254 |
msgid "e.g. http://www.aboutcookies.org/"
|
255 |
msgstr "es: http://www.aboutcookies.org/"
|
256 |
|
257 |
+
#: admin/class-italy-cookie-choices-admin.php:693
|
258 |
msgid "Insert here the link to your policy page"
|
259 |
msgstr "Inserisci il link alla tua pagina con l'informativa estesa"
|
260 |
|
261 |
+
#: admin/class-italy-cookie-choices-admin.php:693
|
262 |
msgid "otherwise create a new one and then add URL to this input"
|
263 |
msgstr ""
|
264 |
+
"altrimenti puoi crearne una nuova e quindi aggiungere la URL in questa input"
|
265 |
|
266 |
+
#: admin/class-italy-cookie-choices-admin.php:695
|
267 |
+
#: admin/class-italy-cookie-choices-admin.php:727
|
268 |
msgid ""
|
269 |
"Start typing first two letters of the name of the policy page and then "
|
270 |
"select it from the menu below the input"
|
272 |
"Comincia digitando le prime due lettere della pagina della tua informativa "
|
273 |
"estesa e quindi selezionala dal menù a tendina che appare sotto la input"
|
274 |
|
275 |
+
#: admin/class-italy-cookie-choices-admin.php:722
|
276 |
msgid "e.g. privacy-e-cookie"
|
277 |
msgstr "es: privacy-e-cookie"
|
278 |
|
279 |
+
#: admin/class-italy-cookie-choices-admin.php:725
|
280 |
msgid ""
|
281 |
"Insert your cookie policy page slug (e.g. for the page http://www.miodominio."
|
282 |
"it/privacy-e-cookie/ the slug is <strong>privacy-e-cookie</strong>).<br>In "
|
290 |
"l'accettazione continuando la navigazione verranno disattivati in quella "
|
291 |
"pagina."
|
292 |
|
293 |
+
#: admin/class-italy-cookie-choices-admin.php:741
|
294 |
msgid "e.g. More Info"
|
295 |
msgstr "es: Maggiori informazioni"
|
296 |
|
297 |
+
#: admin/class-italy-cookie-choices-admin.php:744
|
298 |
msgid "Insert here anchor text for the link"
|
299 |
msgstr "Inserisci qui l'anchor text per il link"
|
300 |
|
301 |
+
#: admin/class-italy-cookie-choices-admin.php:758
|
302 |
+
#: admin/class-italy-cookie-choices-admin.php:1172
|
303 |
msgid "e.g. Close"
|
304 |
msgstr "es: Chiudi"
|
305 |
|
306 |
+
#: admin/class-italy-cookie-choices-admin.php:761
|
307 |
+
#: admin/class-italy-cookie-choices-admin.php:1175
|
308 |
msgid "Insert here name of button (e.g. \"Close\") "
|
309 |
msgstr "Inserisci il testo del link per chiudere il popup/banner (es: Chiudi)"
|
310 |
|
311 |
+
#: admin/class-italy-cookie-choices-admin.php:778
|
312 |
msgid "Customize your style settings"
|
313 |
msgstr "Personalizza le impostazioni per lo stile"
|
314 |
|
315 |
+
#: admin/class-italy-cookie-choices-admin.php:794
|
316 |
msgid "Add a page top margin for info top bar, only for default topbar stile"
|
317 |
msgstr "Aggiungi un margine in cima alla pagina, solo per la topbar di default"
|
318 |
|
319 |
+
#: admin/class-italy-cookie-choices-admin.php:812
|
320 |
msgid "Default cookiechoices template (centered with text links)"
|
321 |
msgstr "Template di default, testo centrato con link testuali."
|
322 |
|
323 |
+
#: admin/class-italy-cookie-choices-admin.php:814
|
324 |
msgid "Centered container with left aligned text and big buttons"
|
325 |
msgstr ""
|
326 |
"Template con contenitore centrato (980px), testo allineato a sinistra e "
|
327 |
"bottoni grandi"
|
328 |
|
329 |
+
#: admin/class-italy-cookie-choices-admin.php:816
|
330 |
msgid "Centered container with left aligned text and small buttons"
|
331 |
msgstr ""
|
332 |
"Template con contenitore centrato (980px), testo allineato a sinistra e "
|
333 |
"bottoni piccoli"
|
334 |
|
335 |
+
#: admin/class-italy-cookie-choices-admin.php:818
|
336 |
msgid "My custom CSS"
|
337 |
msgstr "Il mio css personalizzato"
|
338 |
|
339 |
+
#: admin/class-italy-cookie-choices-admin.php:822
|
340 |
msgid "Select the template to use"
|
341 |
msgstr "Seleziona il template che vuoi usare"
|
342 |
|
343 |
+
#: admin/class-italy-cookie-choices-admin.php:843
|
344 |
msgid "Custom Background color for banner"
|
345 |
msgstr "Colore di sfondo per il banner"
|
346 |
|
347 |
+
#: admin/class-italy-cookie-choices-admin.php:863
|
348 |
msgid "Custom text color for banner"
|
349 |
msgstr "Colore del testo per il banner"
|
350 |
|
351 |
+
#: admin/class-italy-cookie-choices-admin.php:880
|
352 |
msgid "Your custom css"
|
353 |
msgstr "Il tuo css personalizzato"
|
354 |
|
355 |
+
#: admin/class-italy-cookie-choices-admin.php:883
|
356 |
msgid "Inset here your custom CSS for banner"
|
357 |
msgstr "Inserisci qui il tuo CSS personalizzato per il banner"
|
358 |
|
359 |
+
#: admin/class-italy-cookie-choices-admin.php:908
|
360 |
msgid "Eg: bannerStyle"
|
361 |
msgstr "Es: bannerStyle"
|
362 |
|
363 |
+
#: admin/class-italy-cookie-choices-admin.php:910
|
364 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
365 |
msgstr ""
|
366 |
"Classe CSS per il tag div del contenitore (Default <code>bannerStyle</code>)"
|
367 |
|
368 |
+
#: admin/class-italy-cookie-choices-admin.php:913
|
369 |
msgid "Eg: contentStyle"
|
370 |
msgstr "Es: contentStyle"
|
371 |
|
372 |
+
#: admin/class-italy-cookie-choices-admin.php:915
|
373 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
374 |
msgstr ""
|
375 |
"Classe CSS per il tag div del contenuto (Default <code>contentStyle</code>)"
|
376 |
|
377 |
+
#: admin/class-italy-cookie-choices-admin.php:918
|
378 |
msgid "Eg: consentText"
|
379 |
msgstr "Es: consentText"
|
380 |
|
381 |
+
#: admin/class-italy-cookie-choices-admin.php:920
|
382 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
383 |
msgstr "Classe CSS per il tag span (Default <code>consentText</code>)"
|
384 |
|
385 |
+
#: admin/class-italy-cookie-choices-admin.php:923
|
386 |
msgid "Eg: infoClass"
|
387 |
msgstr "Es: infoClass"
|
388 |
|
389 |
+
#: admin/class-italy-cookie-choices-admin.php:925
|
390 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
391 |
msgstr "Classe CSS per il link info (Default <code>itaybtn</code>)"
|
392 |
|
393 |
+
#: admin/class-italy-cookie-choices-admin.php:928
|
394 |
msgid "Eg: closeClass"
|
395 |
msgstr "Es: closeClass"
|
396 |
|
397 |
+
#: admin/class-italy-cookie-choices-admin.php:930
|
398 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
399 |
msgstr "Classe CSS per il link di chiusura (Default <code>itaybtn</code>)"
|
400 |
|
401 |
+
#: admin/class-italy-cookie-choices-admin.php:933
|
402 |
msgid "Customize with your personal CSS class"
|
403 |
msgstr "Personalizza con le tue classi CSS"
|
404 |
|
405 |
+
#: admin/class-italy-cookie-choices-admin.php:949
|
406 |
msgid "Customize your advanced settings"
|
407 |
msgstr "Personalizza le impostazioni avanzate"
|
408 |
|
409 |
+
#: admin/class-italy-cookie-choices-admin.php:965
|
410 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
411 |
msgstr "Inserisci il nome del tuo Cookie (Default: displayCookieConsent)"
|
412 |
|
413 |
+
#: admin/class-italy-cookie-choices-admin.php:984
|
414 |
msgid "Insert your cookie value (Default: y)"
|
415 |
msgstr "Inserisci il valore del tuo Cookie (Default: y)"
|
416 |
|
417 |
+
#: admin/class-italy-cookie-choices-admin.php:1004
|
418 |
msgid "Open your cookie policy page in new one"
|
419 |
msgstr "Apri la tua pagina per la Cookie policy in una nuova"
|
420 |
|
421 |
+
#: admin/class-italy-cookie-choices-admin.php:1028
|
422 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
423 |
msgstr "Cookie da tutti gli embed nel tuo contenuto (Beta) (DEPRECATA)"
|
424 |
|
425 |
+
#: admin/class-italy-cookie-choices-admin.php:1033
|
426 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
427 |
msgstr "Cookie da tutti gli embed nei tuoi widget (Beta) (DEPRECATA)"
|
428 |
|
429 |
+
#: admin/class-italy-cookie-choices-admin.php:1039
|
430 |
msgid "Cookie from any embed in all body, except head and footer (Beta)"
|
431 |
msgstr ""
|
432 |
"Cookie da tutti gli embed nella tua pagina, eccetto head e footer (Beta)"
|
433 |
|
434 |
+
#: admin/class-italy-cookie-choices-admin.php:1082
|
435 |
+
#: admin/class-italy-cookie-choices-admin.php:1108
|
436 |
msgid ""
|
437 |
"<script src="http://domain.com/widget-example.js"></"
|
438 |
"script>\n"
|
452 |
"<script src="http://lastdomain.com/gadget-example.js"></"
|
453 |
"script>"
|
454 |
|
455 |
+
#: admin/class-italy-cookie-choices-admin.php:1086
|
456 |
msgid "View example"
|
457 |
+
msgstr "Vedi esempio"
|
458 |
|
459 |
+
#: admin/class-italy-cookie-choices-admin.php:1089
|
460 |
msgid ""
|
461 |
"Scripts to be excluded from the automatic block.<br />Split each script with "
|
462 |
"<strong><em><---------SEP---------></em></strong><br>Use "
|
466 |
"script con <strong> <em><---------SEP---------></em></strong><br>Usa "
|
467 |
"<strong><---------SOMETHING---------></strong> per regex personalizzata"
|
468 |
|
469 |
+
#: admin/class-italy-cookie-choices-admin.php:1092
|
470 |
+
#: admin/class-italy-cookie-choices-admin.php:1117
|
471 |
msgid "For more information see the documentation"
|
472 |
msgstr "Per maggiorni informazioni guarda la documentazione"
|
473 |
|
474 |
+
#: admin/class-italy-cookie-choices-admin.php:1114
|
475 |
msgid ""
|
476 |
"Scripts shown in the head and in the footer does not automatically blocked."
|
477 |
"<br />Split each script with <strong><em><---------SEP---------></em></"
|
482 |
"script con <strong><em><---------SEP---------></em></strong><br>Usa "
|
483 |
"<strong><---------SOMETHING---------></strong> per una regex personalizzata."
|
484 |
|
485 |
+
#: admin/class-italy-cookie-choices-admin.php:1152
|
486 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
487 |
msgstr ""
|
488 |
"Il tuo messaggio da visualizzare nel box per i contenuti bloccati "
|
489 |
"incorporati all'interno di pagine, articoli e widget"
|
490 |
|
491 |
+
#: admin/class-italy-cookie-choices-admin.php:1306
|
492 |
#: admin/class-italy-cookie-choices-sanitize.php:77
|
493 |
msgid "Cookie name field it can't be empty. Restored default name."
|
494 |
msgstr ""
|
495 |
"Il campo del nome del Cookie non può essere vuoto. Ripristinato il nome di "
|
496 |
"default."
|
497 |
|
498 |
+
#: admin/class-italy-cookie-choices-admin.php:1313
|
499 |
#: admin/class-italy-cookie-choices-sanitize.php:84
|
500 |
msgid "Cookie value field it can't be empty. Restored default value."
|
501 |
msgstr ""
|
502 |
"Il campo del valore del Cookie non può essere vuoto. Ripristinato il valore "
|
503 |
"di default."
|
504 |
|
505 |
+
#: admin/class-italy-cookie-choices-admin.php:1419
|
506 |
+
msgid "Settings"
|
507 |
+
msgstr "Impostazioni"
|
508 |
+
|
509 |
+
#: admin/class-italy-cookie-choices-admin.php:1421
|
510 |
+
msgid "Documentation"
|
511 |
+
msgstr "Documantazione"
|
512 |
+
|
513 |
+
#: admin/class-italy-cookie-choices-admin.php:1485
|
514 |
+
msgid "Please upload a valid .json file"
|
515 |
+
msgstr "Carica un file .json valido"
|
516 |
+
|
517 |
+
#: admin/class-italy-cookie-choices-admin.php:1485
|
518 |
+
msgid "No valid json file"
|
519 |
+
msgstr "File json non valido"
|
520 |
+
|
521 |
+
#: admin/class-italy-cookie-choices-admin.php:1491
|
522 |
+
msgid "The json file can't be empty"
|
523 |
+
msgstr "Il file .json non può essere vuoto"
|
524 |
+
|
525 |
+
#: admin/class-italy-cookie-choices-admin.php:1491
|
526 |
+
msgid "Empty file"
|
527 |
+
msgstr "File vuoto"
|
528 |
+
|
529 |
+
#: admin/class-italy-cookie-choices-admin.php:1499
|
530 |
+
msgid "Please upload a file to import"
|
531 |
+
msgstr "Aggiungi un file da importare"
|
532 |
+
|
533 |
+
#: admin/class-italy-cookie-choices-admin.php:1499
|
534 |
+
msgid "No file import"
|
535 |
+
msgstr "Nessun file da importare"
|
536 |
+
|
537 |
+
#: admin/template/admin.php:30
|
538 |
+
msgid "Export Settings"
|
539 |
+
msgstr "Esporta la configurazione"
|
540 |
+
|
541 |
+
#: admin/template/admin.php:32
|
542 |
+
msgid ""
|
543 |
+
"Export the plugin settings for this site as a .json file. This allows you to "
|
544 |
+
"easily import the configuration into another site."
|
545 |
+
msgstr ""
|
546 |
+
"Esporta la configurazione del plugin per questo sito in un file .json. "
|
547 |
+
"Questo ti permette di importare facilmente la configurazione su un altro "
|
548 |
+
"sito."
|
549 |
+
|
550 |
+
#: admin/template/admin.php:39
|
551 |
+
msgid "Export"
|
552 |
+
msgstr ""
|
553 |
+
|
554 |
+
#: admin/template/admin.php:46
|
555 |
+
msgid "Import Settings"
|
556 |
+
msgstr "Importa la configurazione"
|
557 |
+
|
558 |
+
#: admin/template/admin.php:48
|
559 |
+
msgid ""
|
560 |
+
"Import the plugin settings from a .json file. This file can be obtained by "
|
561 |
+
"exporting the settings on another site using the form above."
|
562 |
+
msgstr ""
|
563 |
+
"Importa la configurazione del plugin da un file .json creato "
|
564 |
+
"precedentemente. Questo file lo puoi ottenere esportando le impostazioni da "
|
565 |
+
"un altro sito usando il form sopra."
|
566 |
+
|
567 |
+
#: admin/template/admin.php:56
|
568 |
+
msgid "Import"
|
569 |
+
msgstr ""
|
570 |
+
|
571 |
#: admin/template/code-example.php:7
|
572 |
msgid "Script inline example"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: italy-cookie-choices.php:168 italy-cookie-choices.php:178
|
576 |
msgid "Activation of Italy Cookie Choices in not possible"
|
577 |
msgstr "L'attivazione di Italy Cookie Choices non è possibile"
|
578 |
|
579 |
+
#: italy-cookie-choices.php:279
|
580 |
#, php-format
|
581 |
msgid ""
|
582 |
"Your server is running %s version %s but this plugin requires at least %s"
|
lang/italy-cookie-choices.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Italy Cookie Choices\n"
|
5 |
-
"POT-Creation-Date: 2015-
|
6 |
"PO-Revision-Date: 2015-05-21 20:22+0100\n"
|
7 |
"Last-Translator: Enea Overclokk <info@overclokk.net>\n"
|
8 |
"Language-Team: info@overclokk.net\n"
|
@@ -10,7 +10,7 @@ msgstr ""
|
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.8.
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -20,384 +20,392 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPathExcluded-1: .git\n"
|
21 |
|
22 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:66
|
|
|
23 |
msgid "Radio 1"
|
24 |
msgstr ""
|
25 |
|
26 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:67
|
|
|
|
|
27 |
msgid "The plugin is active and ready to start working."
|
28 |
msgstr ""
|
29 |
|
30 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:70
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
msgid "Open Popup"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
35 |
msgid "Italy_Cookie_Choices_Pointer for Posts"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
39 |
msgid "One more pointer."
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
43 |
msgid "Italy_Cookie_Choices_Pointer Pages"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
47 |
msgid "A pointer for pages."
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
51 |
msgid "Italy_Cookie_Choices_Pointer Users"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
55 |
msgid "A pointer for users."
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
59 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
60 |
msgid "Italy_Cookie_Choices_Pointer Help"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
64 |
msgid "A pointer with action."
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:
|
68 |
-
msgid "Next"
|
69 |
-
msgstr ""
|
70 |
-
|
71 |
-
#: admin/class-italy-cookie-choices-admin-pointer-init.php:116
|
72 |
msgid "A pointer for help tab.<br>Go to Posts, Pages or Users for other pointers."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: admin/class-italy-cookie-choices-admin-pointer.php:
|
76 |
msgid "Italy_Cookie_Choices_Pointer Error: post_type is not an array!"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: admin/class-italy-cookie-choices-admin-pointer.php:
|
80 |
msgid "Italy_Cookie_Choices_Pointer Error: pages is not an array!"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
84 |
msgid "Italy Cookie Choices Dashboard"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
88 |
msgid "You do not have sufficient permissions to access this page."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
92 |
msgid "Italy Cookie Choices options page"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
96 |
msgid "Activate"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
100 |
msgid "Where display the banner"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
104 |
msgid "Mouse scroll event"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
108 |
msgid "Accept on second view"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
112 |
msgid "Refresh page"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
116 |
msgid "Text to display"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
120 |
msgid "URL for cookie policy"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
124 |
msgid "Cookie policy page slug"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
128 |
msgid "Anchor text for URL"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
132 |
msgid "Button text"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
136 |
msgid "Style settings"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
140 |
msgid "CookieChoices Template"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
144 |
msgid "HTML top margin"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
148 |
msgid "Banner Background color"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
152 |
msgid "Banner text color"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
156 |
msgid "Custom CSS"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
160 |
msgid "Custom CSS Class (Optional)"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
164 |
msgid "Advanced settings"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
168 |
msgid "Cookie name"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
172 |
msgid "Cookie value"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
176 |
msgid "Open policy in new page"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
180 |
msgid "Third part cookie block (beta)"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
184 |
msgid "Scripts allowed in body"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
188 |
msgid "Scripts to be blocked"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
192 |
msgid "Text message for locked embedded content"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
196 |
msgid "Button text to activate locked embedded content"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
200 |
msgid "Customize your banner for cookie law"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
204 |
msgid "Display banner for Cookie Law in front-end"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
208 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
212 |
msgid "Dialog (Display an overlay with your message)"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
216 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
220 |
msgid "Accepts disclosures on mouse scroll event"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
224 |
msgid "Activate accept on second view"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
228 |
msgid "Refresh page after button click (DEPRECATED)"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
232 |
msgid "Your short cookie policy"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
236 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
237 |
msgid "People will see this notice only the first time that they enter your site"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
241 |
msgid "e.g. http://www.aboutcookies.org/"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
245 |
msgid "Insert here the link to your policy page"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
249 |
msgid "otherwise create a new one and then add URL to this input"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
253 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
254 |
msgid "Start typing first two letters of the name of the policy page and then select it from the menu below the input"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
258 |
msgid "e.g. privacy-e-cookie"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
262 |
msgid "Insert your cookie policy page slug (e.g. for the page http://www.miodominio.it/privacy-e-cookie/ the slug is <strong>privacy-e-cookie</strong>).<br>In this way it will display only the topbar in your cookie policy page, the scroll and the second view will be deactivated in that page too."
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
266 |
msgid "e.g. More Info"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
270 |
msgid "Insert here anchor text for the link"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
274 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
275 |
msgid "e.g. Close"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
279 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
280 |
msgid "Insert here name of button (e.g. \"Close\") "
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
284 |
msgid "Customize your style settings"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
288 |
msgid "Add a page top margin for info top bar, only for default topbar stile"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
292 |
msgid "Default cookiechoices template (centered with text links)"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
296 |
msgid "Centered container with left aligned text and big buttons"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
300 |
msgid "Centered container with left aligned text and small buttons"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
304 |
msgid "My custom CSS"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
308 |
msgid "Select the template to use"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
312 |
msgid "Custom Background color for banner"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
316 |
msgid "Custom text color for banner"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
320 |
msgid "Your custom css"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
324 |
msgid "Inset here your custom CSS for banner"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
328 |
msgid "Eg: bannerStyle"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
332 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
336 |
msgid "Eg: contentStyle"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
340 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
344 |
msgid "Eg: consentText"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
348 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
352 |
msgid "Eg: infoClass"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
356 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
360 |
msgid "Eg: closeClass"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
364 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
368 |
msgid "Customize with your personal CSS class"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
372 |
msgid "Customize your advanced settings"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
376 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
380 |
msgid "Insert your cookie value (Default: y)"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
384 |
msgid "Open your cookie policy page in new one"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
388 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
392 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
396 |
msgid "Cookie from any embed in all body, except head and footer (Beta)"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
400 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
401 |
msgid ""
|
402 |
"<script src="http://domain.com/widget-example.js"></script>\n"
|
403 |
"<---------SEP--------->\n"
|
@@ -406,46 +414,102 @@ msgid ""
|
|
406 |
"<script src="http://lastdomain.com/gadget-example.js"></script>"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
410 |
msgid "View example"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
414 |
msgid "Scripts to be excluded from the automatic block.<br />Split each script with <strong><em><---------SEP---------></em></strong><br>Use <strong><---------SOMETHING---------></strong> for custom regex"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
418 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
419 |
msgid "For more information see the documentation"
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
423 |
msgid "Scripts shown in the head and in the footer does not automatically blocked.<br />Split each script with <strong><em><---------SEP---------></em></strong><br>Use <strong><---------SOMETHING---------></strong> for custom regex"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
427 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
431 |
#: admin/class-italy-cookie-choices-sanitize.php:77
|
432 |
msgid "Cookie name field it can't be empty. Restored default name."
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
436 |
#: admin/class-italy-cookie-choices-sanitize.php:84
|
437 |
msgid "Cookie value field it can't be empty. Restored default value."
|
438 |
msgstr ""
|
439 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
440 |
#: admin/template/code-example.php:7
|
441 |
msgid "Script inline example"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: italy-cookie-choices.php:
|
445 |
msgid "Activation of Italy Cookie Choices in not possible"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: italy-cookie-choices.php:
|
449 |
#, php-format
|
450 |
msgid "Your server is running %s version %s but this plugin requires at least %s"
|
451 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Italy Cookie Choices\n"
|
5 |
+
"POT-Creation-Date: 2015-09-08 16:59+0200\n"
|
6 |
"PO-Revision-Date: 2015-05-21 20:22+0100\n"
|
7 |
"Last-Translator: Enea Overclokk <info@overclokk.net>\n"
|
8 |
"Language-Team: info@overclokk.net\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.8.4\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
20 |
"X-Poedit-SearchPathExcluded-1: .git\n"
|
21 |
|
22 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:66
|
23 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:80
|
24 |
msgid "Radio 1"
|
25 |
msgstr ""
|
26 |
|
27 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:67
|
28 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:81
|
29 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:96
|
30 |
msgid "The plugin is active and ready to start working."
|
31 |
msgstr ""
|
32 |
|
33 |
#: admin/class-italy-cookie-choices-admin-pointer-init.php:70
|
34 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:135
|
35 |
+
msgid "Next"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:95
|
39 |
+
msgid "Radio 2"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:99
|
43 |
msgid "Open Popup"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:108
|
47 |
msgid "Italy_Cookie_Choices_Pointer for Posts"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:109
|
51 |
msgid "One more pointer."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:116
|
55 |
msgid "Italy_Cookie_Choices_Pointer Pages"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:117
|
59 |
msgid "A pointer for pages."
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:123
|
63 |
msgid "Italy_Cookie_Choices_Pointer Users"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:124
|
67 |
msgid "A pointer for users."
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:130
|
71 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:148
|
72 |
msgid "Italy_Cookie_Choices_Pointer Help"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:131
|
76 |
msgid "A pointer with action."
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:149
|
|
|
|
|
|
|
|
|
80 |
msgid "A pointer for help tab.<br>Go to Posts, Pages or Users for other pointers."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: admin/class-italy-cookie-choices-admin-pointer.php:70
|
84 |
msgid "Italy_Cookie_Choices_Pointer Error: post_type is not an array!"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: admin/class-italy-cookie-choices-admin-pointer.php:93
|
88 |
msgid "Italy_Cookie_Choices_Pointer Error: pages is not an array!"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: admin/class-italy-cookie-choices-admin.php:147
|
92 |
msgid "Italy Cookie Choices Dashboard"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: admin/class-italy-cookie-choices-admin.php:161
|
96 |
msgid "You do not have sufficient permissions to access this page."
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: admin/class-italy-cookie-choices-admin.php:207
|
100 |
msgid "Italy Cookie Choices options page"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: admin/class-italy-cookie-choices-admin.php:217
|
104 |
msgid "Activate"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: admin/class-italy-cookie-choices-admin.php:229
|
108 |
msgid "Where display the banner"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: admin/class-italy-cookie-choices-admin.php:240
|
112 |
msgid "Mouse scroll event"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: admin/class-italy-cookie-choices-admin.php:251
|
116 |
msgid "Accept on second view"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: admin/class-italy-cookie-choices-admin.php:262
|
120 |
msgid "Refresh page"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: admin/class-italy-cookie-choices-admin.php:273
|
124 |
msgid "Text to display"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: admin/class-italy-cookie-choices-admin.php:284
|
128 |
msgid "URL for cookie policy"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: admin/class-italy-cookie-choices-admin.php:295
|
132 |
msgid "Cookie policy page slug"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: admin/class-italy-cookie-choices-admin.php:306
|
136 |
msgid "Anchor text for URL"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: admin/class-italy-cookie-choices-admin.php:317
|
140 |
msgid "Button text"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: admin/class-italy-cookie-choices-admin.php:328
|
144 |
msgid "Style settings"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: admin/class-italy-cookie-choices-admin.php:338
|
148 |
msgid "CookieChoices Template"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: admin/class-italy-cookie-choices-admin.php:349
|
152 |
msgid "HTML top margin"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: admin/class-italy-cookie-choices-admin.php:360
|
156 |
msgid "Banner Background color"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: admin/class-italy-cookie-choices-admin.php:371
|
160 |
msgid "Banner text color"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: admin/class-italy-cookie-choices-admin.php:382
|
164 |
msgid "Custom CSS"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: admin/class-italy-cookie-choices-admin.php:393
|
168 |
msgid "Custom CSS Class (Optional)"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: admin/class-italy-cookie-choices-admin.php:404
|
172 |
msgid "Advanced settings"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: admin/class-italy-cookie-choices-admin.php:414
|
176 |
msgid "Cookie name"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: admin/class-italy-cookie-choices-admin.php:425
|
180 |
msgid "Cookie value"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: admin/class-italy-cookie-choices-admin.php:436
|
184 |
msgid "Open policy in new page"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: admin/class-italy-cookie-choices-admin.php:447
|
188 |
msgid "Third part cookie block (beta)"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: admin/class-italy-cookie-choices-admin.php:458
|
192 |
msgid "Scripts allowed in body"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: admin/class-italy-cookie-choices-admin.php:469
|
196 |
msgid "Scripts to be blocked"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: admin/class-italy-cookie-choices-admin.php:480
|
200 |
msgid "Text message for locked embedded content"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: admin/class-italy-cookie-choices-admin.php:491
|
204 |
msgid "Button text to activate locked embedded content"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: admin/class-italy-cookie-choices-admin.php:516
|
208 |
msgid "Customize your banner for cookie law"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: admin/class-italy-cookie-choices-admin.php:531
|
212 |
msgid "Display banner for Cookie Law in front-end"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: admin/class-italy-cookie-choices-admin.php:551
|
216 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: admin/class-italy-cookie-choices-admin.php:559
|
220 |
msgid "Dialog (Display an overlay with your message)"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: admin/class-italy-cookie-choices-admin.php:567
|
224 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: admin/class-italy-cookie-choices-admin.php:587
|
228 |
msgid "Accepts disclosures on mouse scroll event"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: admin/class-italy-cookie-choices-admin.php:607
|
232 |
msgid "Activate accept on second view"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: admin/class-italy-cookie-choices-admin.php:625
|
236 |
msgid "Refresh page after button click (DEPRECATED)"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: admin/class-italy-cookie-choices-admin.php:658
|
240 |
msgid "Your short cookie policy"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: admin/class-italy-cookie-choices-admin.php:665
|
244 |
+
#: admin/class-italy-cookie-choices-admin.php:1156
|
245 |
msgid "People will see this notice only the first time that they enter your site"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: admin/class-italy-cookie-choices-admin.php:690
|
249 |
msgid "e.g. http://www.aboutcookies.org/"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: admin/class-italy-cookie-choices-admin.php:693
|
253 |
msgid "Insert here the link to your policy page"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: admin/class-italy-cookie-choices-admin.php:693
|
257 |
msgid "otherwise create a new one and then add URL to this input"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: admin/class-italy-cookie-choices-admin.php:695
|
261 |
+
#: admin/class-italy-cookie-choices-admin.php:727
|
262 |
msgid "Start typing first two letters of the name of the policy page and then select it from the menu below the input"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: admin/class-italy-cookie-choices-admin.php:722
|
266 |
msgid "e.g. privacy-e-cookie"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: admin/class-italy-cookie-choices-admin.php:725
|
270 |
msgid "Insert your cookie policy page slug (e.g. for the page http://www.miodominio.it/privacy-e-cookie/ the slug is <strong>privacy-e-cookie</strong>).<br>In this way it will display only the topbar in your cookie policy page, the scroll and the second view will be deactivated in that page too."
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: admin/class-italy-cookie-choices-admin.php:741
|
274 |
msgid "e.g. More Info"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: admin/class-italy-cookie-choices-admin.php:744
|
278 |
msgid "Insert here anchor text for the link"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: admin/class-italy-cookie-choices-admin.php:758
|
282 |
+
#: admin/class-italy-cookie-choices-admin.php:1172
|
283 |
msgid "e.g. Close"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: admin/class-italy-cookie-choices-admin.php:761
|
287 |
+
#: admin/class-italy-cookie-choices-admin.php:1175
|
288 |
msgid "Insert here name of button (e.g. \"Close\") "
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: admin/class-italy-cookie-choices-admin.php:778
|
292 |
msgid "Customize your style settings"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: admin/class-italy-cookie-choices-admin.php:794
|
296 |
msgid "Add a page top margin for info top bar, only for default topbar stile"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: admin/class-italy-cookie-choices-admin.php:812
|
300 |
msgid "Default cookiechoices template (centered with text links)"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: admin/class-italy-cookie-choices-admin.php:814
|
304 |
msgid "Centered container with left aligned text and big buttons"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: admin/class-italy-cookie-choices-admin.php:816
|
308 |
msgid "Centered container with left aligned text and small buttons"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: admin/class-italy-cookie-choices-admin.php:818
|
312 |
msgid "My custom CSS"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: admin/class-italy-cookie-choices-admin.php:822
|
316 |
msgid "Select the template to use"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: admin/class-italy-cookie-choices-admin.php:843
|
320 |
msgid "Custom Background color for banner"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: admin/class-italy-cookie-choices-admin.php:863
|
324 |
msgid "Custom text color for banner"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: admin/class-italy-cookie-choices-admin.php:880
|
328 |
msgid "Your custom css"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: admin/class-italy-cookie-choices-admin.php:883
|
332 |
msgid "Inset here your custom CSS for banner"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: admin/class-italy-cookie-choices-admin.php:908
|
336 |
msgid "Eg: bannerStyle"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: admin/class-italy-cookie-choices-admin.php:910
|
340 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: admin/class-italy-cookie-choices-admin.php:913
|
344 |
msgid "Eg: contentStyle"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: admin/class-italy-cookie-choices-admin.php:915
|
348 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: admin/class-italy-cookie-choices-admin.php:918
|
352 |
msgid "Eg: consentText"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: admin/class-italy-cookie-choices-admin.php:920
|
356 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: admin/class-italy-cookie-choices-admin.php:923
|
360 |
msgid "Eg: infoClass"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: admin/class-italy-cookie-choices-admin.php:925
|
364 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: admin/class-italy-cookie-choices-admin.php:928
|
368 |
msgid "Eg: closeClass"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: admin/class-italy-cookie-choices-admin.php:930
|
372 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: admin/class-italy-cookie-choices-admin.php:933
|
376 |
msgid "Customize with your personal CSS class"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: admin/class-italy-cookie-choices-admin.php:949
|
380 |
msgid "Customize your advanced settings"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: admin/class-italy-cookie-choices-admin.php:965
|
384 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: admin/class-italy-cookie-choices-admin.php:984
|
388 |
msgid "Insert your cookie value (Default: y)"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: admin/class-italy-cookie-choices-admin.php:1004
|
392 |
msgid "Open your cookie policy page in new one"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: admin/class-italy-cookie-choices-admin.php:1028
|
396 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: admin/class-italy-cookie-choices-admin.php:1033
|
400 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: admin/class-italy-cookie-choices-admin.php:1039
|
404 |
msgid "Cookie from any embed in all body, except head and footer (Beta)"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: admin/class-italy-cookie-choices-admin.php:1082
|
408 |
+
#: admin/class-italy-cookie-choices-admin.php:1108
|
409 |
msgid ""
|
410 |
"<script src="http://domain.com/widget-example.js"></script>\n"
|
411 |
"<---------SEP--------->\n"
|
414 |
"<script src="http://lastdomain.com/gadget-example.js"></script>"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: admin/class-italy-cookie-choices-admin.php:1086
|
418 |
msgid "View example"
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: admin/class-italy-cookie-choices-admin.php:1089
|
422 |
msgid "Scripts to be excluded from the automatic block.<br />Split each script with <strong><em><---------SEP---------></em></strong><br>Use <strong><---------SOMETHING---------></strong> for custom regex"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: admin/class-italy-cookie-choices-admin.php:1092
|
426 |
+
#: admin/class-italy-cookie-choices-admin.php:1117
|
427 |
msgid "For more information see the documentation"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: admin/class-italy-cookie-choices-admin.php:1114
|
431 |
msgid "Scripts shown in the head and in the footer does not automatically blocked.<br />Split each script with <strong><em><---------SEP---------></em></strong><br>Use <strong><---------SOMETHING---------></strong> for custom regex"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: admin/class-italy-cookie-choices-admin.php:1152
|
435 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: admin/class-italy-cookie-choices-admin.php:1306
|
439 |
#: admin/class-italy-cookie-choices-sanitize.php:77
|
440 |
msgid "Cookie name field it can't be empty. Restored default name."
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: admin/class-italy-cookie-choices-admin.php:1313
|
444 |
#: admin/class-italy-cookie-choices-sanitize.php:84
|
445 |
msgid "Cookie value field it can't be empty. Restored default value."
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: admin/class-italy-cookie-choices-admin.php:1419
|
449 |
+
msgid "Settings"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: admin/class-italy-cookie-choices-admin.php:1421
|
453 |
+
msgid "Documentation"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#: admin/class-italy-cookie-choices-admin.php:1485
|
457 |
+
msgid "Please upload a valid .json file"
|
458 |
+
msgstr ""
|
459 |
+
|
460 |
+
#: admin/class-italy-cookie-choices-admin.php:1485
|
461 |
+
msgid "No valid json file"
|
462 |
+
msgstr ""
|
463 |
+
|
464 |
+
#: admin/class-italy-cookie-choices-admin.php:1491
|
465 |
+
msgid "The json file can't be empty"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: admin/class-italy-cookie-choices-admin.php:1491
|
469 |
+
msgid "Empty file"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
+
#: admin/class-italy-cookie-choices-admin.php:1499
|
473 |
+
msgid "Please upload a file to import"
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#: admin/class-italy-cookie-choices-admin.php:1499
|
477 |
+
msgid "No file import"
|
478 |
+
msgstr ""
|
479 |
+
|
480 |
+
#: admin/template/admin.php:30
|
481 |
+
msgid "Export Settings"
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#: admin/template/admin.php:32
|
485 |
+
msgid "Export the plugin settings for this site as a .json file. This allows you to easily import the configuration into another site."
|
486 |
+
msgstr ""
|
487 |
+
|
488 |
+
#: admin/template/admin.php:39
|
489 |
+
msgid "Export"
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: admin/template/admin.php:46
|
493 |
+
msgid "Import Settings"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: admin/template/admin.php:48
|
497 |
+
msgid "Import the plugin settings from a .json file. This file can be obtained by exporting the settings on another site using the form above."
|
498 |
+
msgstr ""
|
499 |
+
|
500 |
+
#: admin/template/admin.php:56
|
501 |
+
msgid "Import"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
#: admin/template/code-example.php:7
|
505 |
msgid "Script inline example"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: italy-cookie-choices.php:168 italy-cookie-choices.php:178
|
509 |
msgid "Activation of Italy Cookie Choices in not possible"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: italy-cookie-choices.php:279
|
513 |
#, php-format
|
514 |
msgid "Your server is running %s version %s but this plugin requires at least %s"
|
515 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: overclokk, andreapernici, cardinaleandrea
|
|
3 |
Donate link:
|
4 |
Tags: compliance, cookie law, cookies, eu cookie law, eu law, eu privacy directive, privacy, privacy directive, notification, privacy law, cookie law banner, implied consent, third party script, third party cookie
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -115,6 +115,14 @@ if it doesn't work activate standard theme and try
|
|
115 |
|
116 |
== Changelog ==
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
= 2.4.0 =
|
119 |
Release Date: August 31th, 2015
|
120 |
|
3 |
Donate link:
|
4 |
Tags: compliance, cookie law, cookies, eu cookie law, eu law, eu privacy directive, privacy, privacy directive, notification, privacy law, cookie law banner, implied consent, third party script, third party cookie
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 4.5.0
|
7 |
+
Stable tag: 2.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
115 |
|
116 |
== Changelog ==
|
117 |
|
118 |
+
= 2.4.1 =
|
119 |
+
Release Date: November 6th, 2015
|
120 |
+
|
121 |
+
Dev time: 50h
|
122 |
+
|
123 |
+
* Improved UI for selecting block/allow script
|
124 |
+
* [Added new check for bot Crawler](https://wordpress.org/support/topic/non-trattare-i-bot-come-umani?replies=2)
|
125 |
+
|
126 |
= 2.4.0 =
|
127 |
Release Date: August 31th, 2015
|
128 |
|