Version Description
Release Date: July 11th, 2015
Dev time: 50h
- Added jQuery autocomplete in slug and url input
- Added text editor and allowed HTML tags for short policy text area input and the blocked embed text
- Fixed the insertion of the SOMETHING button in textarea
- Added delete selected text for SOMETHING button in textarea
- Fixed !match with 'REQUEST_URI' here and here
- Fixed #119
- Added multilanguage also to the blocked embed text and button
- Added multilang for slug
- Improved sanitization for multilang string
Download this release
Release Info
Developer | overclokk |
Plugin | Italy Cookie Choices (for EU Cookie Law) |
Version | 2.3.0 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.3.0
- admin/class-italy-cookie-choices-admin-pointer-init.php +147 -0
- admin/class-italy-cookie-choices-admin-pointer.php +170 -0
- admin/class-italy-cookie-choices-admin.php +199 -68
- admin/js/script.min.js +1 -1
- admin/js/src/script.js +109 -16
- admin/pointerplus.css +45 -0
- admin/pointerplus.js +79 -0
- admin/template/code-example.php +23 -0
- admin/template/index.php +1 -0
- classes/class-italy-cookie-choices-front-end.php +76 -25
- debug/debug.php +41 -0
- italy-cookie-choices.php +11 -4
- js/default/cookiechoices.js +7 -5
- js/default/cookiechoices.php +1 -1
- lang/italy-cookie-choices-it_IT.mo +0 -0
- lang/italy-cookie-choices-it_IT.po +200 -111
- lang/italy-cookie-choices-ro_RO.mo +0 -0
- lang/italy-cookie-choices-ro_RO.po +219 -106
- lang/italy-cookie-choices.pot +178 -100
- readme.txt +45 -10
- uninstall.php +6 -3
admin/class-italy-cookie-choices-admin-pointer-init.php
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Load and initialize class. If you're loading the Italy_Cookie_Choices_Pointer class in another plugin or theme, this is all you need.
|
4 |
+
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/class-italy-cookie-choices-admin-pointer.php');
|
5 |
+
|
6 |
+
if ( is_admin() )
|
7 |
+
$pointerplus = new Italy_Cookie_Choices_Pointer( array( 'prefix' => 'italy-cookie-choices' ) );
|
8 |
+
|
9 |
+
// With this you can reset all the pointer with your prefix
|
10 |
+
// $pointerplus->reset_pointer();
|
11 |
+
|
12 |
+
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
//////////////////// Everything after this point is only for pointerplus configuration ////////////////////
|
14 |
+
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Some useful link
|
18 |
+
* @link http://wordimpress.com/create-wordpress-theme-activation-popup-message/
|
19 |
+
* @link http://www.wpexplorer.com/making-themes-plugins-more-usable/
|
20 |
+
* @link http://code.tutsplus.com/articles/integrating-with-wordpress-ui-admin-pointers--wp-26853
|
21 |
+
* @link http://premium.wpmudev.org/blog/using-wordpress-pointers-in-your-own-plugins/?utm_expid=3606929-40.lszTaIEzTbifDhvhVdd39A.0&utm_referrer=https%3A%2F%2Fwww.google.it%2F
|
22 |
+
*/
|
23 |
+
|
24 |
+
if ( !class_exists( 'Italy_Cookie_Choices_Pointer_Init' ) ) {
|
25 |
+
|
26 |
+
/**
|
27 |
+
*
|
28 |
+
*/
|
29 |
+
class Italy_Cookie_Choices_Pointer_Init{
|
30 |
+
|
31 |
+
function __construct(){
|
32 |
+
|
33 |
+
// Your prefix
|
34 |
+
add_filter( 'italy-cookie-choices' . '-pointerplus_list', array( $this, 'custom_initial_pointers'), 10, 2);
|
35 |
+
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Add pointers.
|
41 |
+
*
|
42 |
+
* @param $pointers
|
43 |
+
* @param $prefix for your pointers
|
44 |
+
*
|
45 |
+
* @return mixed
|
46 |
+
*/
|
47 |
+
function custom_initial_pointers( $pointers, $prefix ) {
|
48 |
+
|
49 |
+
// * Default parameters:
|
50 |
+
// $defaults = array(
|
51 |
+
// 'class' => 'pointerplus',
|
52 |
+
// 'width' => 300, //fixed value
|
53 |
+
// 'align' => 'middle',
|
54 |
+
// 'edge' => 'left',
|
55 |
+
// 'post_type' => array(),
|
56 |
+
// 'pages' => array(),
|
57 |
+
// 'jsnext' => '', //empty [t = pointer instance, $ = jQuery]
|
58 |
+
// 'phpcode' => function(){}, //executed on admin_notices action
|
59 |
+
// 'show' => 'open' //default
|
60 |
+
// );
|
61 |
+
|
62 |
+
|
63 |
+
return array_merge( $pointers, array(
|
64 |
+
$prefix . '_settings' => array(
|
65 |
+
'selector' => '#active',
|
66 |
+
'title' => __( 'Radio 1', 'italy-cookie-choices' ),
|
67 |
+
'text' => __( 'The plugin is active and ready to start working.', 'italy-cookie-choices' ),
|
68 |
+
'width' => 260,
|
69 |
+
'icon_class' => 'dashicons-admin-settings',
|
70 |
+
'jsnext' => "button = jQuery('<a id=\"pointer-close\" class=\"button action thickbox\" href=\"#TB_inline?width=700&height=500&inlineId=menu-popup\">" . __( 'Open Popup' ) . "</a>');
|
71 |
+
button.bind('click.pointer', function () {
|
72 |
+
t.element.pointer('close');
|
73 |
+
});
|
74 |
+
return button;",
|
75 |
+
'phpcode' => $this->custom_phpcode_thickbox()
|
76 |
+
),
|
77 |
+
$prefix . '_posts' => array(
|
78 |
+
'selector' => '#menu-posts',
|
79 |
+
'title' => __( 'Italy_Cookie_Choices_Pointer for Posts', 'italy-cookie-choices' ),
|
80 |
+
'text' => __( 'One more pointer.', 'italy-cookie-choices' ),
|
81 |
+
'post_type' => array( 'post' ),
|
82 |
+
'icon_class' => 'dashicons-admin-post',
|
83 |
+
'width' => 350,
|
84 |
+
),
|
85 |
+
$prefix . '_pages' => array(
|
86 |
+
'selector' => '#menu-pages',
|
87 |
+
'title' => __( 'Italy_Cookie_Choices_Pointer Pages', 'italy-cookie-choices' ),
|
88 |
+
'text' => __( 'A pointer for pages.', 'italy-cookie-choices' ),
|
89 |
+
'post_type' => array( 'page' ),
|
90 |
+
'icon_class' => 'dashicons-admin-post'
|
91 |
+
),
|
92 |
+
$prefix . '_users' => array(
|
93 |
+
'selector' => '#menu-users',
|
94 |
+
'title' => __( 'Italy_Cookie_Choices_Pointer Users', 'italy-cookie-choices' ),
|
95 |
+
'text' => __( 'A pointer for users.', 'italy-cookie-choices' ),
|
96 |
+
'pages' => array( 'users.php' ),
|
97 |
+
'icon_class' => 'dashicons-admin-users'
|
98 |
+
),
|
99 |
+
$prefix . '_settings_tab' => array(
|
100 |
+
'selector' => '#show-settings-link',
|
101 |
+
'title' => __( 'Italy_Cookie_Choices_Pointer Help', 'italy-cookie-choices' ),
|
102 |
+
'text' => __( 'A pointer with action.', 'italy-cookie-choices' ),
|
103 |
+
'edge' => 'top',
|
104 |
+
'align' => 'right',
|
105 |
+
'icon_class' => 'dashicons-welcome-learn-more',
|
106 |
+
'jsnext' => "button = jQuery('<a id=\"pointer-close\" class=\"button action\">" . __( 'Next' ) . "</a>');
|
107 |
+
button.bind('click.pointer', function () {
|
108 |
+
t.element.pointer('close');
|
109 |
+
jQuery('#contextual-help-link').pointer('open');
|
110 |
+
});
|
111 |
+
return button;"
|
112 |
+
),
|
113 |
+
$prefix . '_contextual_tab' => array(
|
114 |
+
'selector' => '#contextual-help-link',
|
115 |
+
'title' => __( 'Italy_Cookie_Choices_Pointer Help', 'italy-cookie-choices' ),
|
116 |
+
'text' => __( 'A pointer for help tab.<br>Go to Posts, Pages or Users for other pointers.', 'italy-cookie-choices' ),
|
117 |
+
'edge' => 'top',
|
118 |
+
'align' => 'right',
|
119 |
+
'icon_class' => 'dashicons-welcome-learn-more',
|
120 |
+
'show' => 'close'
|
121 |
+
)
|
122 |
+
) );
|
123 |
+
}
|
124 |
+
|
125 |
+
|
126 |
+
//Function created for support PHP =>5.2
|
127 |
+
//You can use the anonymous function that are not supported by PHP 5.2
|
128 |
+
/**
|
129 |
+
*
|
130 |
+
* @link https://codex.wordpress.org/Javascript_Reference/ThickBox
|
131 |
+
* @return string Return modal fro thickbox
|
132 |
+
*/
|
133 |
+
function custom_phpcode_thickbox() {
|
134 |
+
add_thickbox();
|
135 |
+
echo '<div id="menu-popup" style="display:none;">
|
136 |
+
<p style="text-align: center;">
|
137 |
+
This is my hidden content! It will appear in ThickBox when the link is clicked.
|
138 |
+
<iframe width="560" height="315" src="https://www.youtube.com/embed/EaWfDuXQfo0" frameborder="0" allowfullscreen></iframe>
|
139 |
+
</p>
|
140 |
+
</div>';
|
141 |
+
}
|
142 |
+
|
143 |
+
|
144 |
+
|
145 |
+
|
146 |
+
}
|
147 |
+
}
|
admin/class-italy-cookie-choices-admin-pointer.php
ADDED
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class Italy_Cookie_Choices_Pointer based on QL_Pointer to facilitate creation of WP Pointers
|
5 |
+
* @author QueryLoop
|
6 |
+
*/
|
7 |
+
// Exit if accessed directly
|
8 |
+
if ( !defined( 'ABSPATH' ) ) {
|
9 |
+
exit;
|
10 |
+
}
|
11 |
+
|
12 |
+
class Italy_Cookie_Choices_Pointer {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Prefix strings like styles, scripts and pointers IDs
|
16 |
+
* @var string
|
17 |
+
*/
|
18 |
+
protected $prefix = 'pointerplus';
|
19 |
+
protected $pointers = array();
|
20 |
+
|
21 |
+
function __construct( $args = array() ) {
|
22 |
+
|
23 |
+
if ( isset( $args[ 'prefix' ] ) ) {
|
24 |
+
$this->prefix = $args[ 'prefix' ];
|
25 |
+
}
|
26 |
+
add_action( 'current_screen', array( $this, 'maybe_add_pointers' ) );
|
27 |
+
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Set pointers and its options
|
32 |
+
*
|
33 |
+
* @since 1.0.0
|
34 |
+
*/
|
35 |
+
function initial_pointers() {
|
36 |
+
global $pagenow;
|
37 |
+
$defaults = array(
|
38 |
+
'class' => '',
|
39 |
+
'width' => 300, //only fixed value
|
40 |
+
'align' => 'middle',
|
41 |
+
'edge' => 'left',
|
42 |
+
'post_type' => array(),
|
43 |
+
'pages' => array(),
|
44 |
+
'icon_class' => ''
|
45 |
+
);
|
46 |
+
$screen = get_current_screen();
|
47 |
+
$current_post_type = isset( $screen->post_type ) ? $screen->post_type : false;
|
48 |
+
$search_pt = false;
|
49 |
+
|
50 |
+
$pointers = apply_filters( $this->prefix . '-pointerplus_list', array(
|
51 |
+
// Pointers are added through the 'initial_pointerplus' filter
|
52 |
+
), $this->prefix );
|
53 |
+
|
54 |
+
foreach ( $pointers as $key => $pointer ) {
|
55 |
+
$pointers[ $key ] = wp_parse_args( $pointer, $defaults );
|
56 |
+
$search_pt = false;
|
57 |
+
// Clean from null ecc
|
58 |
+
$pointers[ $key ][ 'post_type' ] = array_filter( $pointers[ $key ][ 'post_type' ] );
|
59 |
+
if ( !empty( $pointers[ $key ][ 'post_type' ] ) ) {
|
60 |
+
if ( !empty( $current_post_type ) ) {
|
61 |
+
if ( is_array( $pointers[ $key ][ 'post_type' ] ) ) {
|
62 |
+
// Search the post_type
|
63 |
+
foreach ( $pointers[ $key ][ 'post_type' ] as $value ) {
|
64 |
+
if ( $value === $current_post_type ) {
|
65 |
+
$search_pt = true;
|
66 |
+
}
|
67 |
+
}
|
68 |
+
if ( $search_pt === false ) {
|
69 |
+
unset( $pointers[ $key ] );
|
70 |
+
}
|
71 |
+
} else {
|
72 |
+
new WP_Error( 'broke', __( 'Italy_Cookie_Choices_Pointer Error: post_type is not an array!' ) );
|
73 |
+
}
|
74 |
+
//If not in CPT view remove all the pointers with post_type
|
75 |
+
} else {
|
76 |
+
unset( $pointers[ $key ] );
|
77 |
+
}
|
78 |
+
}
|
79 |
+
// Clean from null ecc
|
80 |
+
if ( !empty( $pointers[ $key ][ 'pages' ] ) && is_array( $pointers[ $key ][ 'pages' ] ) )
|
81 |
+
$pointers[ $key ][ 'pages' ] = array_filter( $pointers[ $key ][ 'pages' ] );
|
82 |
+
|
83 |
+
if ( !empty( $pointers[ $key ][ 'pages' ] ) ) {
|
84 |
+
if ( is_array( $pointers[ $key ][ 'pages' ] ) ) {
|
85 |
+
// Search the page
|
86 |
+
foreach ( $pointers[ $key ][ 'pages' ] as $value ) {
|
87 |
+
if ( $pagenow === $value ) {
|
88 |
+
$search_pt = true;
|
89 |
+
}
|
90 |
+
}
|
91 |
+
if ( $search_pt === false ) {
|
92 |
+
unset( $pointers[ $key ] );
|
93 |
+
}
|
94 |
+
} else {
|
95 |
+
new WP_Error( 'broke', __( 'Italy_Cookie_Choices_Pointer Error: pages is not an array!' ) );
|
96 |
+
}
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
return $pointers;
|
101 |
+
}
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Check that pointers haven't been dismissed already. If there are pointers to show, enqueue assets.
|
105 |
+
*/
|
106 |
+
function maybe_add_pointers() {
|
107 |
+
// Get default pointers that we want to create
|
108 |
+
$default_keys = $this->initial_pointers();
|
109 |
+
|
110 |
+
// Get pointers dismissed by user
|
111 |
+
$dismissed = explode( ',', get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
|
112 |
+
|
113 |
+
// Check that our pointers haven't been dismissed already
|
114 |
+
$diff = array_diff_key( $default_keys, array_combine( $dismissed, $dismissed ) );
|
115 |
+
|
116 |
+
// If we have some pointers to show, save them and start enqueuing assets to display them
|
117 |
+
if ( !empty( $diff ) ) {
|
118 |
+
$this->pointers = $diff;
|
119 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_assets' ) );
|
120 |
+
|
121 |
+
foreach ( $diff as $pointer ) {
|
122 |
+
if ( isset( $pointer[ 'phpcode' ] ) ) {
|
123 |
+
add_action( 'admin_notices', $pointer[ 'phpcode' ] );
|
124 |
+
}
|
125 |
+
}
|
126 |
+
}
|
127 |
+
}
|
128 |
+
|
129 |
+
/**
|
130 |
+
* Enqueue pointer styles and scripts to display them.
|
131 |
+
*
|
132 |
+
* @since 1.0.0
|
133 |
+
*/
|
134 |
+
function admin_enqueue_assets() {
|
135 |
+
$base_url = plugins_url( '', __FILE__ );
|
136 |
+
wp_enqueue_style( $this->prefix, $base_url . '/pointerplus.css', array( 'wp-pointer' ) );
|
137 |
+
wp_enqueue_script( $this->prefix, $base_url . '/pointerplus.js?var=' . str_replace( '-', '_', $this->prefix ) . '_pointerplus', array( 'wp-pointer' ) );
|
138 |
+
wp_localize_script( $this->prefix, str_replace( '-', '_', $this->prefix ) . '_pointerplus', apply_filters( $this->prefix . '_pointerplus_js_vars', $this->pointers ) );
|
139 |
+
}
|
140 |
+
|
141 |
+
/**
|
142 |
+
* Reset pointer
|
143 |
+
*
|
144 |
+
* @since 1.0.0
|
145 |
+
*/
|
146 |
+
function reset_pointer() {
|
147 |
+
add_action( 'current_screen', array( $this, '_reset_pointer' ), 0 );
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Reset pointer in hook
|
152 |
+
*
|
153 |
+
* @since 1.0.0
|
154 |
+
*/
|
155 |
+
function _reset_pointer( $id = 'me' ) {
|
156 |
+
if ( $id === 'me' ) {
|
157 |
+
$id = get_current_user_id();
|
158 |
+
}
|
159 |
+
$pointers = explode( ',', get_user_meta( $id, 'dismissed_wp_pointers', true ) );
|
160 |
+
foreach ( $pointers as $key => $pointer ) {
|
161 |
+
if ( strpos( $pointer, $this->prefix ) === 0 ) {
|
162 |
+
unset( $pointers[ $key ] );
|
163 |
+
}
|
164 |
+
}
|
165 |
+
$meta = implode( ',', $pointers );
|
166 |
+
|
167 |
+
update_user_meta( get_current_user_id(), 'dismissed_wp_pointers', $meta );
|
168 |
+
}
|
169 |
+
|
170 |
+
}
|
admin/class-italy-cookie-choices-admin.php
CHANGED
@@ -42,11 +42,23 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
42 |
*/
|
43 |
private $js_template = 'default';
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
/**
|
46 |
* [__construct description]
|
47 |
*/
|
48 |
public function __construct(){
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
/**
|
51 |
* Add Admin menù page
|
52 |
*/
|
@@ -58,9 +70,10 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
58 |
add_action( 'admin_init', array( $this, 'italy_cl_settings_init') );
|
59 |
|
60 |
/**
|
61 |
-
*
|
62 |
*/
|
63 |
-
|
|
|
64 |
|
65 |
}
|
66 |
|
@@ -90,9 +103,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
90 |
?>
|
91 |
<div class="wrap">
|
92 |
|
93 |
-
|
94 |
-
|
95 |
-
<form action='options.php' method='post'>
|
96 |
|
97 |
<?php
|
98 |
settings_fields( 'italy_cl_options_group' );
|
@@ -229,6 +240,17 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
229 |
'setting_section'
|
230 |
);
|
231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
/**
|
233 |
* Input for anchor text
|
234 |
*/
|
@@ -359,17 +381,6 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
359 |
'advanced_setting_section'
|
360 |
);
|
361 |
|
362 |
-
/**
|
363 |
-
* Cookie policy page slug
|
364 |
-
*/
|
365 |
-
add_settings_field(
|
366 |
-
'slug',
|
367 |
-
__( 'Cookie policy page slug', 'italy-cookie-choices' ),
|
368 |
-
array( $this, 'italy_cl_option_slug'),
|
369 |
-
'italy_cl_options_group',
|
370 |
-
'advanced_setting_section'
|
371 |
-
);
|
372 |
-
|
373 |
/**
|
374 |
* Checkbox for open in new page
|
375 |
*/
|
@@ -468,8 +479,8 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
468 |
$active = ( isset( $this->options['active'] ) ) ? $this->options['active'] : '' ;
|
469 |
?>
|
470 |
|
471 |
-
<input type='checkbox' name='italy_cookie_choices[active]' <?php checked( $active, 1 ); ?> value='1'>
|
472 |
-
<label for="italy_cookie_choices[active]">
|
473 |
<?php _e( 'Display banner for Cookie Law in front-end', 'italy-cookie-choices' ); ?>
|
474 |
</label>
|
475 |
|
@@ -501,9 +512,9 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
501 |
<?php _e( 'Dialog (Display an overlay with your message)', 'italy-cookie-choices' ); ?>
|
502 |
</label>
|
503 |
|
504 |
-
|
505 |
|
506 |
-
|
507 |
|
508 |
<label for="radio_3">
|
509 |
<?php _e( 'Bottom Bar (Display a bar in the footer with your message)', 'italy-cookie-choices' ); ?>
|
@@ -524,7 +535,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
524 |
$scroll = ( isset( $this->options['scroll'] ) ) ? $this->options['scroll'] : '' ;
|
525 |
?>
|
526 |
|
527 |
-
<input type='checkbox' name='italy_cookie_choices[scroll]' <?php checked( $scroll, 1 ); ?> value='1'>
|
528 |
<label for="italy_cookie_choices[scroll]">
|
529 |
<?php _e( 'Accepts disclosures on mouse scroll event', 'italy-cookie-choices' ); ?>
|
530 |
</label>
|
@@ -544,7 +555,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
544 |
|
545 |
?>
|
546 |
|
547 |
-
<input type='checkbox' name='italy_cookie_choices[secondView]' <?php checked( $secondView, 1 ); ?> value='1'>
|
548 |
<label for="italy_cookie_choices[secondView]">
|
549 |
<?php _e( 'Activate accept on second view', 'italy-cookie-choices' ); ?>
|
550 |
</label>
|
@@ -562,7 +573,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
562 |
$reload = ( isset( $this->options['reload'] ) ) ? $this->options['reload'] : '' ;
|
563 |
?>
|
564 |
|
565 |
-
<input type='checkbox' name='italy_cookie_choices[reload]' <?php checked( $reload, 1 ); ?> value='1'>
|
566 |
<label for="italy_cookie_choices[reload]">
|
567 |
<?php _e( 'Refresh page after button click (DEPRECATED)', 'italy-cookie-choices' ); ?>
|
568 |
</label>
|
@@ -577,10 +588,32 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
577 |
*/
|
578 |
public function italy_cl_option_text($args) {
|
579 |
|
580 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
581 |
|
582 |
-
<textarea rows="5" cols="70" name="italy_cookie_choices[text]" id="italy_cookie_choices[text]" placeholder="<?php _e( 'Your short cookie policy', 'italy-cookie-choices' ) ?>" ><?php echo esc_textarea( $this->options['text'] ); ?></textarea>
|
583 |
<br>
|
|
|
584 |
<label for="italy_cookie_choices[text]">
|
585 |
<?php echo __( 'People will see this notice only the first time that they enter your site', 'italy-cookie-choices' ); ?>
|
586 |
</label>
|
@@ -595,11 +628,56 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
595 |
*/
|
596 |
public function italy_cl_option_url($args) {
|
597 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
598 |
?>
|
|
|
|
|
|
|
599 |
<input type="text" id="italy_cookie_choices[url]" name="italy_cookie_choices[url]" value="<?php echo esc_url( $this->options['url'] ); ?>" placeholder="<?php _e( 'e.g. http://www.aboutcookies.org/', 'italy-cookie-choices' ) ?>" size="70" />
|
600 |
<br>
|
601 |
<label for="italy_cookie_choices[url]">
|
602 |
-
<?php echo __( 'Insert here the link to your policy page', 'italy-cookie-choices' ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
603 |
</label>
|
604 |
|
605 |
<?php
|
@@ -664,7 +742,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
664 |
|
665 |
?>
|
666 |
|
667 |
-
<input type='checkbox' name='italy_cookie_choices[html_margin]' <?php checked( $html_margin, 1 ); ?> value='1'>
|
668 |
<label for="italy_cookie_choices[html_margin]">
|
669 |
<?php _e( 'Add a page top margin for info top bar, only for default topbar stile', 'italy-cookie-choices' ); ?>
|
670 |
</label>
|
@@ -682,7 +760,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
682 |
$js_template = ( isset( $this->options['js_template'] ) ) ? $this->options['js_template'] : $this->js_template ;
|
683 |
|
684 |
?>
|
685 |
-
<select name='italy_cookie_choices[js_template]'>
|
686 |
|
687 |
<option value="default" <?php if ( $js_template === 'default' ) echo 'selected';?>><?php _e( 'Default cookiechoices template (centered with text links)', 'italy_cookie_choices' ); ?></option>
|
688 |
|
@@ -796,7 +874,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
796 |
</label>
|
797 |
<br>
|
798 |
<input type="text" id="italy_cookie_choices[infoClass]" name="italy_cookie_choices[infoClass]" value="<?php echo esc_attr( $infoClass ); ?>" placeholder="<?php _e( 'Eg: infoClass', 'italy-cookie-choices' ); ?>" />
|
799 |
-
<label for="italy_cookie_choices[
|
800 |
<?php echo __( 'CSS class for Info link (Default <code>itaybtn</code>)', 'italy-cookie-choices' ); ?>
|
801 |
</label>
|
802 |
<br>
|
@@ -863,25 +941,6 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
863 |
|
864 |
}
|
865 |
|
866 |
-
/**
|
867 |
-
* Slug for cookie policy page
|
868 |
-
* @return strimg Slug for cookie policy page Default null
|
869 |
-
*/
|
870 |
-
public function italy_cl_option_slug($args) {
|
871 |
-
|
872 |
-
$slug = ( isset( $this->options['slug'] ) ) ? $this->options['slug'] : '' ;
|
873 |
-
|
874 |
-
?>
|
875 |
-
<input type="text" id="italy_cookie_choices[slug]" name="italy_cookie_choices[slug]" value="<?php echo esc_attr( $slug ); ?>" placeholder="<?php _e( 'e.g. your-policy-url.html', 'italy-cookie-choices' ); ?>" size="70" />
|
876 |
-
<br>
|
877 |
-
<label for="italy_cookie_choices[slug]">
|
878 |
-
<?php _e( '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.', 'italy-cookie-choices' ); ?>
|
879 |
-
</label>
|
880 |
-
|
881 |
-
<?php
|
882 |
-
|
883 |
-
}
|
884 |
-
|
885 |
/**
|
886 |
* Snippet for target checkbox
|
887 |
* @return strimg Activate for open policy page in new tab
|
@@ -893,7 +952,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
893 |
|
894 |
?>
|
895 |
|
896 |
-
<input type='checkbox' name='italy_cookie_choices[target]' <?php checked( $target, 1 ); ?> value='1'>
|
897 |
<label for="italy_cookie_choices[target]">
|
898 |
<?php _e( 'Open your cookie policy page in new one', 'italy-cookie-choices' ); ?>
|
899 |
</label>
|
@@ -917,17 +976,17 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
917 |
|
918 |
?>
|
919 |
|
920 |
-
<input type='checkbox' name='italy_cookie_choices[block]' <?php checked( $block, 1 ); ?> value='1'>
|
921 |
<label for="italy_cookie_choices[block]">
|
922 |
<?php _e( 'Cookie from any embed in your content (Beta) (DEPRECATED)', 'italy-cookie-choices' ); ?>
|
923 |
</label>
|
924 |
<br>
|
925 |
-
<input type='checkbox' name='italy_cookie_choices[widget_block]' <?php checked( $widget_block, 1 ); ?> value='1'>
|
926 |
<label for="italy_cookie_choices[widget_block]">
|
927 |
<?php _e( 'Cookie from any embed in your widget area (Beta) (DEPRECATED)', 'italy-cookie-choices' ); ?>
|
928 |
</label>
|
929 |
<br>
|
930 |
-
<input type='checkbox' name='italy_cookie_choices[all_block]' <?php checked( $all_block, 1 ); ?> value='1'>
|
931 |
<label for="italy_cookie_choices[all_block]">
|
932 |
<?php _e( 'Cookie from any embed in all body, except head and footer (Beta)', 'italy-cookie-choices' ); ?>
|
933 |
</label>
|
@@ -945,11 +1004,36 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
945 |
|
946 |
$custom_script_block_body_exclude = ( isset( $this->options['custom_script_block_body_exclude'] ) ) ? $this->options['custom_script_block_body_exclude'] : '' ;
|
947 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
948 |
?>
|
949 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
950 |
<br>
|
951 |
<a id="SEP" class="button button-secondary add-sep" data-value="<---------SEP--------->"><---------SEP---------></a>
|
952 |
<a id="SOM" class="button button-secondary add-sep" data-value="<---------SOMETHING--------->"><---------SOMETHING---------></a>
|
|
|
953 |
<br>
|
954 |
<label for="italy_cookie_choices[custom_script_block_body_exclude]">
|
955 |
<?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' ); ?>
|
@@ -995,8 +1079,28 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
995 |
|
996 |
$content_message_text = ( isset( $this->options['content_message_text'] ) ) ? $this->options['content_message_text'] : '' ;
|
997 |
|
998 |
-
|
999 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1000 |
<br>
|
1001 |
<label for="italy_cookie_choices[content_message_text]">
|
1002 |
<?php echo __( 'People will see this notice only the first time that they enter your site', 'italy-cookie-choices' ); ?>
|
@@ -1057,24 +1161,30 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1057 |
* Multilingual for text, url, anchor_text & button_text
|
1058 |
*/
|
1059 |
if( isset( $input['text'] ) )
|
1060 |
-
$new_input['text'] =
|
|
|
1061 |
|
1062 |
-
register_string( 'Italy Cookie Choices', 'Banner text', $
|
1063 |
|
1064 |
if( isset( $input['url'] ) )
|
1065 |
$new_input['url'] = sanitize_text_field( $input['url'] );
|
1066 |
|
1067 |
-
register_string( 'Italy Cookie Choices', 'Banner url', $
|
|
|
|
|
|
|
|
|
|
|
1068 |
|
1069 |
if( isset( $input['anchor_text'] ) )
|
1070 |
$new_input['anchor_text'] = sanitize_text_field( $input['anchor_text'] );
|
1071 |
|
1072 |
-
register_string( 'Italy Cookie Choices', 'Banner anchor text', $
|
1073 |
|
1074 |
if( isset( $input['button_text'] ) )
|
1075 |
$new_input['button_text'] = sanitize_text_field( $input['button_text'] );
|
1076 |
|
1077 |
-
register_string( 'Italy Cookie Choices', 'Banner button text', $
|
1078 |
|
1079 |
/**
|
1080 |
* Sezione per lo stile
|
@@ -1143,9 +1253,6 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1143 |
else
|
1144 |
$new_input['cookie_value'] = sanitize_text_field( $input['cookie_value'] );
|
1145 |
|
1146 |
-
if( isset( $input['slug'] ) )
|
1147 |
-
$new_input['slug'] = sanitize_text_field( $input['slug'] );
|
1148 |
-
|
1149 |
if( isset( $input['target'] ) )
|
1150 |
$new_input['target'] = $input['target'];
|
1151 |
|
@@ -1165,11 +1272,15 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1165 |
$new_input['custom_script_block'] = $input['custom_script_block'];
|
1166 |
|
1167 |
if( isset( $input['content_message_text'] ) )
|
1168 |
-
$new_input['content_message_text'] =
|
|
|
|
|
1169 |
|
1170 |
if( isset( $input['content_message_button_text'] ) )
|
1171 |
$new_input['content_message_button_text'] = sanitize_text_field( $input['content_message_button_text'] );
|
1172 |
|
|
|
|
|
1173 |
return $new_input;
|
1174 |
|
1175 |
}
|
@@ -1181,23 +1292,43 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
1181 |
* @link https://make.wordpress.org/core/2012/11/30/new-color-picker-in-wp-3-5/
|
1182 |
* @link http://code.tutsplus.com/articles/how-to-use-wordpress-color-picker-api--wp-33067
|
1183 |
*/
|
1184 |
-
public function
|
1185 |
|
1186 |
// first check that $hook_suffix is appropriate for your admin page
|
|
|
|
|
|
|
|
|
|
|
|
|
1187 |
wp_enqueue_style( 'wp-color-picker' );
|
1188 |
|
1189 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1190 |
|
1191 |
wp_enqueue_script(
|
1192 |
'italy-cookie-choices-script',
|
1193 |
plugins_url('admin/js/src/script.js', ITALY_COOKIE_CHOICES_FILE ),
|
1194 |
array(
|
1195 |
// 'jquery',
|
1196 |
-
'wp-color-picker'
|
|
|
|
|
|
|
1197 |
),
|
1198 |
null,
|
1199 |
true
|
1200 |
-
|
1201 |
|
1202 |
}
|
1203 |
|
42 |
*/
|
43 |
private $js_template = 'default';
|
44 |
|
45 |
+
/**
|
46 |
+
* Array of all posts and pages object
|
47 |
+
* @var array
|
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 |
+
* @var array
|
59 |
+
*/
|
60 |
+
$this->post_and_page_array = array_merge(get_pages('numberposts=-1'), get_posts('numberposts=-1'));
|
61 |
+
|
62 |
/**
|
63 |
* Add Admin menù page
|
64 |
*/
|
70 |
add_action( 'admin_init', array( $this, 'italy_cl_settings_init') );
|
71 |
|
72 |
/**
|
73 |
+
* Load script only if is Italy Cookie Choices admin panel
|
74 |
*/
|
75 |
+
if ( isset($_GET['page']) && ($_GET['page'] === 'italy-cookie-choices' ) )
|
76 |
+
add_action('admin_enqueue_scripts', array( $this, 'add_script_and_style' ));
|
77 |
|
78 |
}
|
79 |
|
103 |
?>
|
104 |
<div class="wrap">
|
105 |
|
106 |
+
<form action='options.php' method='post' id='italy-cookie-choices-ID'>
|
|
|
|
|
107 |
|
108 |
<?php
|
109 |
settings_fields( 'italy_cl_options_group' );
|
240 |
'setting_section'
|
241 |
);
|
242 |
|
243 |
+
/**
|
244 |
+
* Cookie policy page slug
|
245 |
+
*/
|
246 |
+
add_settings_field(
|
247 |
+
'slug',
|
248 |
+
__( 'Cookie policy page slug', 'italy-cookie-choices' ),
|
249 |
+
array( $this, 'italy_cl_option_slug'),
|
250 |
+
'italy_cl_options_group',
|
251 |
+
'setting_section'
|
252 |
+
);
|
253 |
+
|
254 |
/**
|
255 |
* Input for anchor text
|
256 |
*/
|
381 |
'advanced_setting_section'
|
382 |
);
|
383 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
/**
|
385 |
* Checkbox for open in new page
|
386 |
*/
|
479 |
$active = ( isset( $this->options['active'] ) ) ? $this->options['active'] : '' ;
|
480 |
?>
|
481 |
|
482 |
+
<input type='checkbox' name='italy_cookie_choices[active]' <?php checked( $active, 1 ); ?> value='1' id="italy_cookie_choices[active]">
|
483 |
+
<label for="italy_cookie_choices[active]" id="active">
|
484 |
<?php _e( 'Display banner for Cookie Law in front-end', 'italy-cookie-choices' ); ?>
|
485 |
</label>
|
486 |
|
512 |
<?php _e( 'Dialog (Display an overlay with your message)', 'italy-cookie-choices' ); ?>
|
513 |
</label>
|
514 |
|
515 |
+
<br>
|
516 |
|
517 |
+
<input name="italy_cookie_choices[banner]" type="radio" value="3" id="radio_3" <?php checked( '3', $banner ); ?> />
|
518 |
|
519 |
<label for="radio_3">
|
520 |
<?php _e( 'Bottom Bar (Display a bar in the footer with your message)', 'italy-cookie-choices' ); ?>
|
535 |
$scroll = ( isset( $this->options['scroll'] ) ) ? $this->options['scroll'] : '' ;
|
536 |
?>
|
537 |
|
538 |
+
<input type='checkbox' name='italy_cookie_choices[scroll]' <?php checked( $scroll, 1 ); ?> value='1' id="italy_cookie_choices[scroll]">
|
539 |
<label for="italy_cookie_choices[scroll]">
|
540 |
<?php _e( 'Accepts disclosures on mouse scroll event', 'italy-cookie-choices' ); ?>
|
541 |
</label>
|
555 |
|
556 |
?>
|
557 |
|
558 |
+
<input type='checkbox' name='italy_cookie_choices[secondView]' <?php checked( $secondView, 1 ); ?> value='1' id="italy_cookie_choices[secondView]">
|
559 |
<label for="italy_cookie_choices[secondView]">
|
560 |
<?php _e( 'Activate accept on second view', 'italy-cookie-choices' ); ?>
|
561 |
</label>
|
573 |
$reload = ( isset( $this->options['reload'] ) ) ? $this->options['reload'] : '' ;
|
574 |
?>
|
575 |
|
576 |
+
<input type='checkbox' name='italy_cookie_choices[reload]' <?php checked( $reload, 1 ); ?> value='1' id="italy_cookie_choices[reload]">
|
577 |
<label for="italy_cookie_choices[reload]">
|
578 |
<?php _e( 'Refresh page after button click (DEPRECATED)', 'italy-cookie-choices' ); ?>
|
579 |
</label>
|
588 |
*/
|
589 |
public function italy_cl_option_text($args) {
|
590 |
|
591 |
+
/**
|
592 |
+
* Allow HTML tags in text area
|
593 |
+
* changed esc_textarea( $this->options['text'] ); with wp_kses_post( $this->options['text'] );
|
594 |
+
* @todo Add padding to text editor
|
595 |
+
*/
|
596 |
+
|
597 |
+
if ( function_exists("wp_editor") ):
|
598 |
+
wp_editor(
|
599 |
+
wp_kses_post( $this->options['text'] ),
|
600 |
+
'italy_cookie_choices_text',
|
601 |
+
array(
|
602 |
+
'textarea_name' => 'italy_cookie_choices[text]',
|
603 |
+
'media_buttons' => false,
|
604 |
+
'textarea_rows' => 5,
|
605 |
+
'editor_css' => '<style>#wp-italy_cookie_choices_text-wrap{max-width:520px}</style>',
|
606 |
+
'teeny' => true
|
607 |
+
)
|
608 |
+
);
|
609 |
+
else:
|
610 |
+
?>
|
611 |
+
<textarea rows="5" cols="70" name="italy_cookie_choices[text]" id="italy_cookie_choices[text]" placeholder="<?php _e( 'Your short cookie policy', 'italy-cookie-choices' ) ?>" ><?php echo wp_kses_post( $this->options['text'] ); ?></textarea>
|
612 |
+
|
613 |
+
<?php endif; ?>
|
614 |
|
|
|
615 |
<br>
|
616 |
+
|
617 |
<label for="italy_cookie_choices[text]">
|
618 |
<?php echo __( 'People will see this notice only the first time that they enter your site', 'italy-cookie-choices' ); ?>
|
619 |
</label>
|
628 |
*/
|
629 |
public function italy_cl_option_url($args) {
|
630 |
|
631 |
+
/**
|
632 |
+
* Get the $post_ID for autocomplete function and put it in javascript var
|
633 |
+
* @var array
|
634 |
+
*/
|
635 |
+
$urls = array();
|
636 |
+
foreach( $this->post_and_page_array as $post )
|
637 |
+
$urls[] = get_permalink( $post->ID );
|
638 |
+
|
639 |
?>
|
640 |
+
<script>
|
641 |
+
var urls = '<?php echo wp_json_encode( $urls ); ?>';
|
642 |
+
</script>
|
643 |
<input type="text" id="italy_cookie_choices[url]" name="italy_cookie_choices[url]" value="<?php echo esc_url( $this->options['url'] ); ?>" placeholder="<?php _e( 'e.g. http://www.aboutcookies.org/', 'italy-cookie-choices' ) ?>" size="70" />
|
644 |
<br>
|
645 |
<label for="italy_cookie_choices[url]">
|
646 |
+
<?php echo __( 'Insert here the link to your policy page', 'italy-cookie-choices' ); ?> <a href="post-new.php?post_type=page"><?php _e( 'otherwise create a new one and then add URL to this input', 'italy-cookie-choices' ); ?></a>
|
647 |
+
<br>
|
648 |
+
<?php echo __( 'Start typing first two letters of the name of the policy page and then select it from the menu below the input', 'italy-cookie-choices' ); ?>
|
649 |
+
</label>
|
650 |
+
|
651 |
+
<?php
|
652 |
+
|
653 |
+
}
|
654 |
+
|
655 |
+
/**
|
656 |
+
* Slug for cookie policy page
|
657 |
+
* @return strimg Slug for cookie policy page Default null
|
658 |
+
*/
|
659 |
+
public function italy_cl_option_slug($args) {
|
660 |
+
|
661 |
+
$slug = ( isset( $this->options['slug'] ) ) ? $this->options['slug'] : '' ;
|
662 |
+
|
663 |
+
/**
|
664 |
+
* Get the $post_name for autocomplete function and put it in javascript var
|
665 |
+
* @var array
|
666 |
+
*/
|
667 |
+
$slugs = array();
|
668 |
+
foreach( $this->post_and_page_array as $post )
|
669 |
+
$slugs[] = $post->post_name;
|
670 |
+
|
671 |
+
?>
|
672 |
+
<script>
|
673 |
+
var slugs = '<?php echo wp_json_encode( $slugs ); ?>';
|
674 |
+
</script>
|
675 |
+
<input type="text" id="italy_cookie_choices[slug]" name="italy_cookie_choices[slug]" value="<?php echo esc_attr( $slug ); ?>" placeholder="<?php _e( 'e.g. privacy-e-cookie', 'italy-cookie-choices' ); ?>" size="70" class="slug_autocomplete"/>
|
676 |
+
<br>
|
677 |
+
<label for="italy_cookie_choices[slug]">
|
678 |
+
<?php _e( '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.', 'italy-cookie-choices' ); ?>
|
679 |
+
<br>
|
680 |
+
<?php echo __( 'Start typing first two letters of the name of the policy page and then select it from the menu below the input', 'italy-cookie-choices' ); ?>
|
681 |
</label>
|
682 |
|
683 |
<?php
|
742 |
|
743 |
?>
|
744 |
|
745 |
+
<input type='checkbox' name='italy_cookie_choices[html_margin]' <?php checked( $html_margin, 1 ); ?> value='1' id="italy_cookie_choices[html_margin]">
|
746 |
<label for="italy_cookie_choices[html_margin]">
|
747 |
<?php _e( 'Add a page top margin for info top bar, only for default topbar stile', 'italy-cookie-choices' ); ?>
|
748 |
</label>
|
760 |
$js_template = ( isset( $this->options['js_template'] ) ) ? $this->options['js_template'] : $this->js_template ;
|
761 |
|
762 |
?>
|
763 |
+
<select name='italy_cookie_choices[js_template]' id="italy_cookie_choices[js_template]">
|
764 |
|
765 |
<option value="default" <?php if ( $js_template === 'default' ) echo 'selected';?>><?php _e( 'Default cookiechoices template (centered with text links)', 'italy_cookie_choices' ); ?></option>
|
766 |
|
874 |
</label>
|
875 |
<br>
|
876 |
<input type="text" id="italy_cookie_choices[infoClass]" name="italy_cookie_choices[infoClass]" value="<?php echo esc_attr( $infoClass ); ?>" placeholder="<?php _e( 'Eg: infoClass', 'italy-cookie-choices' ); ?>" />
|
877 |
+
<label for="italy_cookie_choices[infoClass]">
|
878 |
<?php echo __( 'CSS class for Info link (Default <code>itaybtn</code>)', 'italy-cookie-choices' ); ?>
|
879 |
</label>
|
880 |
<br>
|
941 |
|
942 |
}
|
943 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
944 |
/**
|
945 |
* Snippet for target checkbox
|
946 |
* @return strimg Activate for open policy page in new tab
|
952 |
|
953 |
?>
|
954 |
|
955 |
+
<input type='checkbox' name='italy_cookie_choices[target]' <?php checked( $target, 1 ); ?> value='1' id="italy_cookie_choices[target]">
|
956 |
<label for="italy_cookie_choices[target]">
|
957 |
<?php _e( 'Open your cookie policy page in new one', 'italy-cookie-choices' ); ?>
|
958 |
</label>
|
976 |
|
977 |
?>
|
978 |
|
979 |
+
<input type='checkbox' name='italy_cookie_choices[block]' <?php checked( $block, 1 ); ?> value='1' id="italy_cookie_choices[block]">
|
980 |
<label for="italy_cookie_choices[block]">
|
981 |
<?php _e( 'Cookie from any embed in your content (Beta) (DEPRECATED)', 'italy-cookie-choices' ); ?>
|
982 |
</label>
|
983 |
<br>
|
984 |
+
<input type='checkbox' name='italy_cookie_choices[widget_block]' <?php checked( $widget_block, 1 ); ?> value='1' id="italy_cookie_choices[widget_block]">
|
985 |
<label for="italy_cookie_choices[widget_block]">
|
986 |
<?php _e( 'Cookie from any embed in your widget area (Beta) (DEPRECATED)', 'italy-cookie-choices' ); ?>
|
987 |
</label>
|
988 |
<br>
|
989 |
+
<input type='checkbox' name='italy_cookie_choices[all_block]' <?php checked( $all_block, 1 ); ?> value='1' id="italy_cookie_choices[all_block]">
|
990 |
<label for="italy_cookie_choices[all_block]">
|
991 |
<?php _e( 'Cookie from any embed in all body, except head and footer (Beta)', 'italy-cookie-choices' ); ?>
|
992 |
</label>
|
1004 |
|
1005 |
$custom_script_block_body_exclude = ( isset( $this->options['custom_script_block_body_exclude'] ) ) ? $this->options['custom_script_block_body_exclude'] : '' ;
|
1006 |
|
1007 |
+
/**
|
1008 |
+
* Add thickbox for diplay code example
|
1009 |
+
* @link https://codex.wordpress.org/Javascript_Reference/ThickBox
|
1010 |
+
*/
|
1011 |
+
add_thickbox();
|
1012 |
+
|
1013 |
+
/**
|
1014 |
+
* Template with list of code example
|
1015 |
+
*/
|
1016 |
+
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/template/code-example.php');
|
1017 |
+
|
1018 |
?>
|
1019 |
+
<style type="text/css" media="screen">
|
1020 |
+
/*#editor {
|
1021 |
+
font-size: 14px;
|
1022 |
+
height: 260px;
|
1023 |
+
position: relative;
|
1024 |
+
width: 520px;
|
1025 |
+
}
|
1026 |
+
.ace_gutter-cell.ace_error{
|
1027 |
+
background-image: none;
|
1028 |
+
}*/
|
1029 |
+
</style>
|
1030 |
+
<!-- <div id="editor"><?php echo esc_textarea( $custom_script_block_body_exclude ); ?></div> -->
|
1031 |
+
|
1032 |
+
<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>
|
1033 |
<br>
|
1034 |
<a id="SEP" class="button button-secondary add-sep" data-value="<---------SEP--------->"><---------SEP---------></a>
|
1035 |
<a id="SOM" class="button button-secondary add-sep" data-value="<---------SOMETHING--------->"><---------SOMETHING---------></a>
|
1036 |
+
<!-- <a href="#TB_inline?width=600&height=550&inlineId=code-example" class="thickbox button button-secondary"><?php _e( 'View example', 'italy-cookie-choices' ); ?></a> -->
|
1037 |
<br>
|
1038 |
<label for="italy_cookie_choices[custom_script_block_body_exclude]">
|
1039 |
<?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' ); ?>
|
1079 |
|
1080 |
$content_message_text = ( isset( $this->options['content_message_text'] ) ) ? $this->options['content_message_text'] : '' ;
|
1081 |
|
1082 |
+
/**
|
1083 |
+
* Allow HTML tags in message text area
|
1084 |
+
* changed esc_textarea( $this->options['text'] ); with wp_kses_post( $this->options['text'] );
|
1085 |
+
* @todo Add padding to text editor
|
1086 |
+
*/
|
1087 |
+
|
1088 |
+
if ( function_exists("wp_editor") ):
|
1089 |
+
wp_editor(
|
1090 |
+
wp_kses_post( $content_message_text ),
|
1091 |
+
'italy_cookie_choices_content_message_text',
|
1092 |
+
array(
|
1093 |
+
'textarea_name' => 'italy_cookie_choices[content_message_text]',
|
1094 |
+
'media_buttons' => false,
|
1095 |
+
'textarea_rows' => 5,
|
1096 |
+
'editor_css' => '<style>#wp-italy_cookie_choices_content_message_text-wrap{max-width:520px}</style>',
|
1097 |
+
'teeny' => true
|
1098 |
+
)
|
1099 |
+
);
|
1100 |
+
else:
|
1101 |
+
?>
|
1102 |
+
<textarea rows="5" cols="70" name="italy_cookie_choices[content_message_text]" id="italy_cookie_choices[content_message_text]" placeholder="<?php _e( 'Your lock message for embedded contents inside posts, pages and widgets', 'italy-cookie-choices' ) ?>" ><?php echo wp_kses_post( $content_message_text ); ?></textarea>
|
1103 |
+
<?php endif; ?>
|
1104 |
<br>
|
1105 |
<label for="italy_cookie_choices[content_message_text]">
|
1106 |
<?php echo __( 'People will see this notice only the first time that they enter your site', 'italy-cookie-choices' ); ?>
|
1161 |
* Multilingual for text, url, anchor_text & button_text
|
1162 |
*/
|
1163 |
if( isset( $input['text'] ) )
|
1164 |
+
$new_input['text'] = wp_kses_post( $input['text'] );
|
1165 |
+
// $new_input['text'] = sanitize_text_field( $input['text'] );
|
1166 |
|
1167 |
+
register_string( 'Italy Cookie Choices', 'Banner text', wp_kses_post( $input['text'] ) );
|
1168 |
|
1169 |
if( isset( $input['url'] ) )
|
1170 |
$new_input['url'] = sanitize_text_field( $input['url'] );
|
1171 |
|
1172 |
+
register_string( 'Italy Cookie Choices', 'Banner url', sanitize_text_field( $input['url'] ) );
|
1173 |
+
|
1174 |
+
if( isset( $input['slug'] ) )
|
1175 |
+
$new_input['slug'] = sanitize_text_field( $input['slug'] );
|
1176 |
+
|
1177 |
+
register_string( 'Italy Cookie Choices', 'Banner slug', sanitize_text_field( $input['slug'] ) );
|
1178 |
|
1179 |
if( isset( $input['anchor_text'] ) )
|
1180 |
$new_input['anchor_text'] = sanitize_text_field( $input['anchor_text'] );
|
1181 |
|
1182 |
+
register_string( 'Italy Cookie Choices', 'Banner anchor text', sanitize_text_field( $input['anchor_text'] ) );
|
1183 |
|
1184 |
if( isset( $input['button_text'] ) )
|
1185 |
$new_input['button_text'] = sanitize_text_field( $input['button_text'] );
|
1186 |
|
1187 |
+
register_string( 'Italy Cookie Choices', 'Banner button text', sanitize_text_field( $input['button_text'] ) );
|
1188 |
|
1189 |
/**
|
1190 |
* Sezione per lo stile
|
1253 |
else
|
1254 |
$new_input['cookie_value'] = sanitize_text_field( $input['cookie_value'] );
|
1255 |
|
|
|
|
|
|
|
1256 |
if( isset( $input['target'] ) )
|
1257 |
$new_input['target'] = $input['target'];
|
1258 |
|
1272 |
$new_input['custom_script_block'] = $input['custom_script_block'];
|
1273 |
|
1274 |
if( isset( $input['content_message_text'] ) )
|
1275 |
+
$new_input['content_message_text'] = wp_kses_post( $input['content_message_text'] );
|
1276 |
+
|
1277 |
+
register_string( 'Italy Cookie Choices', 'Content message text', wp_kses_post( $input['content_message_text'] ) );
|
1278 |
|
1279 |
if( isset( $input['content_message_button_text'] ) )
|
1280 |
$new_input['content_message_button_text'] = sanitize_text_field( $input['content_message_button_text'] );
|
1281 |
|
1282 |
+
register_string( 'Italy Cookie Choices', 'Content message button text', sanitize_text_field( $input['content_message_button_text'] ) );
|
1283 |
+
|
1284 |
return $new_input;
|
1285 |
|
1286 |
}
|
1292 |
* @link https://make.wordpress.org/core/2012/11/30/new-color-picker-in-wp-3-5/
|
1293 |
* @link http://code.tutsplus.com/articles/how-to-use-wordpress-color-picker-api--wp-33067
|
1294 |
*/
|
1295 |
+
public function add_script_and_style( $hook_suffix ) {
|
1296 |
|
1297 |
// first check that $hook_suffix is appropriate for your admin page
|
1298 |
+
if ( 'settings_page_italy-cookie-choices' !== $hook_suffix )
|
1299 |
+
continue;
|
1300 |
+
|
1301 |
+
/**
|
1302 |
+
* Add color picker in admin menù
|
1303 |
+
*/
|
1304 |
wp_enqueue_style( 'wp-color-picker' );
|
1305 |
|
1306 |
+
/**
|
1307 |
+
* Load jQuery autocomplete for slug and url input
|
1308 |
+
*/
|
1309 |
+
wp_enqueue_style( 'jquery-ui-autocomplete' );
|
1310 |
+
wp_enqueue_script( 'jquery-ui-autocomplete' );
|
1311 |
+
|
1312 |
+
/**
|
1313 |
+
* Load ACE from CDN
|
1314 |
+
* Functionality for custom script editor and CSS editor
|
1315 |
+
*/
|
1316 |
+
// wp_register_script('ace', '//cdn.jsdelivr.net/ace/1.1.9/min/ace.js', false, null, true);
|
1317 |
+
// wp_enqueue_script('ace');
|
1318 |
|
1319 |
wp_enqueue_script(
|
1320 |
'italy-cookie-choices-script',
|
1321 |
plugins_url('admin/js/src/script.js', ITALY_COOKIE_CHOICES_FILE ),
|
1322 |
array(
|
1323 |
// 'jquery',
|
1324 |
+
'wp-color-picker',
|
1325 |
+
'jquery-ui-widget',
|
1326 |
+
'jquery-ui-autocomplete',
|
1327 |
+
// 'ace'
|
1328 |
),
|
1329 |
null,
|
1330 |
true
|
1331 |
+
);
|
1332 |
|
1333 |
}
|
1334 |
|
admin/js/script.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery.noConflict()(function(a){"use strict";a(document).ready(function(){a(function(){var b={defaultColor:"#fff"};a(".color-field").wpColorPicker(b)})})});
|
1 |
+
jQuery.noConflict()(function(a){"use strict";a(document).ready(function(){function b(b,c){b=JSON.parse(b).sort(),a("input[id=italy_cookie_choices\\["+c+"\\]]").autocomplete({source:b,minLength:2})}a(function(){var b={defaultColor:"#fff"};a(".color-field").wpColorPicker(b)}),a(".add-sep").click(function(){var b=a(this).siblings("textarea"),c=b.val(),d=a(this).data("value");if("<---------SEP--------->"===d)var e=c+"\n"+d+"\n";else var e=c+d;b.val(e)}),b(slugs,"slug"),b(urls,"url")})});
|
admin/js/src/script.js
CHANGED
@@ -1,6 +1,28 @@
|
|
1 |
// if( typeof jQuery != "undefined" )
|
2 |
jQuery.noConflict()(function($){
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
$(document).ready(function() {
|
5 |
/**
|
6 |
* Snippet per il color picker di WordPress
|
@@ -20,24 +42,95 @@
|
|
20 |
// or, supply an array of colors to customize further
|
21 |
// palettes: true
|
22 |
};
|
23 |
-
|
24 |
-
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
var newValue = curValue + dataValue;
|
38 |
};
|
39 |
-
|
40 |
textarea.val(newValue);
|
|
|
41 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
});
|
43 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
// if( typeof jQuery != "undefined" )
|
2 |
jQuery.noConflict()(function($){
|
3 |
+
"use strict";
|
4 |
+
|
5 |
+
/**
|
6 |
+
* [getCursorPosition description]
|
7 |
+
* @return {[type]} [description]
|
8 |
+
* @link http://stackoverflow.com/questions/5203428/inserting-text-after-cursor-position-in-text-are%D0%B0
|
9 |
+
* @link https://richonrails.com/articles/text-area-manipulation-with-jquery
|
10 |
+
*/
|
11 |
+
$.fn.getCursorPosition = function () {
|
12 |
+
var el = $(this).get(0);
|
13 |
+
var pos = 0;
|
14 |
+
if ('selectionStart' in el) {
|
15 |
+
pos = el.selectionStart;
|
16 |
+
} else if ('selection' in document) {
|
17 |
+
el.focus();
|
18 |
+
var Sel = document.selection.createRange();
|
19 |
+
var SelLength = document.selection.createRange().text.length;
|
20 |
+
Sel.moveStart('character', -el.value.length);
|
21 |
+
pos = Sel.text.length - SelLength;
|
22 |
+
}
|
23 |
+
return pos;
|
24 |
+
}
|
25 |
+
|
26 |
$(document).ready(function() {
|
27 |
/**
|
28 |
* Snippet per il color picker di WordPress
|
42 |
// or, supply an array of colors to customize further
|
43 |
// palettes: true
|
44 |
};
|
45 |
+
$('.color-field').wpColorPicker(options);
|
46 |
+
});
|
47 |
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Add separator on click in textarea
|
51 |
+
*/
|
52 |
+
$('.add-sep').click(function(){
|
53 |
+
|
54 |
+
var thisButton = $(this);
|
55 |
+
var textarea = thisButton.siblings('textarea');
|
56 |
+
// var prova = thisButton.parent().children('textarea');
|
57 |
+
var curValue = textarea.val();
|
58 |
+
|
59 |
+
var dataValue = thisButton.data('value');
|
60 |
+
|
61 |
+
if ( dataValue === '<---------SEP--------->' ) {
|
62 |
+
|
63 |
+
var newValue = curValue + '\n' + dataValue + '\n';
|
64 |
+
|
65 |
+
}else if( dataValue === '<---------SOMETHING--------->' ){
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Snippet for remove selected text from textarea
|
69 |
+
* link http://stackoverflow.com/questions/18133776/how-do-i-remove-selected-text-from-an-input-control
|
70 |
+
* link http://jsfiddle.net/z36Px/2/
|
71 |
+
*/
|
72 |
+
var ele = textarea.get(0); // or textarea[0]
|
73 |
+
curValue = curValue.slice(0, ele.selectionStart) + curValue.slice(ele.selectionEnd);
|
74 |
+
|
75 |
+
var position = textarea.getCursorPosition();
|
76 |
+
var newValue = curValue.substr(0, position) + "<---------SOMETHING--------->" + curValue.substr(position);
|
77 |
+
}else{
|
78 |
var newValue = curValue + dataValue;
|
79 |
};
|
|
|
80 |
textarea.val(newValue);
|
81 |
+
|
82 |
});
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Autocomplete function for slug input
|
86 |
+
*/
|
87 |
+
function autocomplete (source, id) {
|
88 |
+
|
89 |
+
source = JSON.parse(source).sort();
|
90 |
+
$( 'input[id=italy_cookie_choices\\[' + id + '\\]]' ).autocomplete({
|
91 |
+
source: source,
|
92 |
+
// delay: 500,
|
93 |
+
minLength: 2,
|
94 |
+
});
|
95 |
+
|
96 |
+
}
|
97 |
+
autocomplete(slugs, 'slug');
|
98 |
+
autocomplete(urls, 'url');
|
99 |
+
|
100 |
});
|
101 |
+
});
|
102 |
+
|
103 |
+
/**
|
104 |
+
* {@link http://code.tutsplus.com/tutorials/adding-a-custom-css-editor-to-your-theme-using-ace--wp-29451}
|
105 |
+
* {@link http://ace.c9.io/#nav=about}
|
106 |
+
*/
|
107 |
+
// ( function( global, $ ) {
|
108 |
+
|
109 |
+
// var scriptArea = $( '#italy_cookie_choices\\[custom_script_block_body_exclude\\]' );
|
110 |
+
// var editor = ace.edit( 'editor' );
|
111 |
+
// editor.$blockScrolling = Infinity;
|
112 |
+
// var
|
113 |
+
// syncCSS = function() {
|
114 |
+
// scriptArea.val( editor.getSession().getValue() );
|
115 |
+
// },
|
116 |
+
// loadAce = function() {
|
117 |
+
// // editor = ace.edit( 'editor' );
|
118 |
+
// global.safecss_editor = editor;
|
119 |
+
// editor.getSession().setUseWrapMode( true );
|
120 |
+
// editor.setShowPrintMargin( false );
|
121 |
+
// editor.getSession().setValue( scriptArea.val() );
|
122 |
+
// editor.getSession().setMode( "ace/mode/javascript" );
|
123 |
+
// jQuery.fn.spin&&$( '#editor' ).spin( false );
|
124 |
+
// $( '#italy-cookie-choices-ID' ).submit( syncCSS );
|
125 |
+
// };
|
126 |
+
// if ( $.browser.msie&&parseInt( $.browser.version, 10 ) <= 7 ) {
|
127 |
+
// $( '#editor' ).hide();
|
128 |
+
// scriptArea.show();
|
129 |
+
// return false;
|
130 |
+
// } else {
|
131 |
+
// scriptArea.hide();
|
132 |
+
// $( global ).load( loadAce );
|
133 |
+
// }
|
134 |
+
// global.aceSyncCSS = syncCSS;
|
135 |
+
|
136 |
+
// } )( this, jQuery );
|
admin/pointerplus.css
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* PointerPlus Based on QueryLoop Pointer */
|
2 |
+
|
3 |
+
.pointerplus .pp-pointer-content {
|
4 |
+
padding: 0px 0px 10px;
|
5 |
+
position: relative;
|
6 |
+
font-size: 13px;
|
7 |
+
background: none repeat scroll 0% 0% #FFF;
|
8 |
+
border: 1px solid #DFDFDF;
|
9 |
+
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.075);
|
10 |
+
}
|
11 |
+
|
12 |
+
.pointerplus .pp-pointer-content h3 {
|
13 |
+
position: relative;
|
14 |
+
margin: -1px -1px 5px;
|
15 |
+
padding: 15px 18px 14px 60px;
|
16 |
+
border-width: 1px 1px medium;
|
17 |
+
border-style: solid solid none;
|
18 |
+
border-color: #3592B6 #3592B6 -moz-use-text-color;
|
19 |
+
-moz-border-top-colors: none;
|
20 |
+
-moz-border-right-colors: none;
|
21 |
+
-moz-border-bottom-colors: none;
|
22 |
+
-moz-border-left-colors: none;
|
23 |
+
border-image: none;
|
24 |
+
line-height: 1.4em;
|
25 |
+
font-size: 14px;
|
26 |
+
color: #FFF;
|
27 |
+
background: none repeat scroll 0% 0% #2EA2CC;
|
28 |
+
}
|
29 |
+
|
30 |
+
.pp-pointer-content p {
|
31 |
+
padding: 0px 15px;
|
32 |
+
}
|
33 |
+
|
34 |
+
.pp-pointer-content h3:before {
|
35 |
+
background: none repeat scroll 0% 0% #FFF;
|
36 |
+
border-radius: 50%;
|
37 |
+
color: #2EA2CC;
|
38 |
+
font: 20px/1.6 "dashicons";
|
39 |
+
position: absolute;
|
40 |
+
top: 8px;
|
41 |
+
left: 15px;
|
42 |
+
text-align: center;
|
43 |
+
width: 32px;
|
44 |
+
height: 32px;
|
45 |
+
}
|
admin/pointerplus.js
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* PointerPlus Based on QueryLoop Pointer */
|
2 |
+
|
3 |
+
//Read the var with data
|
4 |
+
var pp_scripts = document.getElementsByTagName("script");
|
5 |
+
pp_scripts = pp_scripts[pp_scripts.length - 1];
|
6 |
+
|
7 |
+
jQuery(function ($) {
|
8 |
+
'use strict';
|
9 |
+
|
10 |
+
$.fn.onAvailable = function (fn) {
|
11 |
+
var sel = this.selector;
|
12 |
+
var timer;
|
13 |
+
if (this.length > 0) {
|
14 |
+
fn.call(this);
|
15 |
+
} else {
|
16 |
+
timer = setInterval(function () {
|
17 |
+
if ($(sel).length > 0) {
|
18 |
+
fn.call($(sel));
|
19 |
+
clearInterval(timer);
|
20 |
+
}
|
21 |
+
}, 300);
|
22 |
+
}
|
23 |
+
};
|
24 |
+
|
25 |
+
var pointerplus = eval(getParams(pp_scripts).var);
|
26 |
+
$.each(pointerplus, function (key, pointer) {
|
27 |
+
pointer.class += ' pp-' + key;
|
28 |
+
if (!pointer.show) {
|
29 |
+
pointer.show = 'open';
|
30 |
+
}
|
31 |
+
jQuery(pointer.selector).onAvailable(function () {
|
32 |
+
$(pointer.selector).pointer({
|
33 |
+
content: '<h3>' + pointer.title + '</h3><p>' + pointer.text + '</p>',
|
34 |
+
position: {
|
35 |
+
edge: pointer.edge,
|
36 |
+
align: pointer.align
|
37 |
+
},
|
38 |
+
pointerWidth: parseInt(pointer.width),
|
39 |
+
pointerClass: 'wp-pointer pointerplus' + pointer.class,
|
40 |
+
buttons: function (event, t) {
|
41 |
+
if (pointer.jsnext) {
|
42 |
+
var jsnext = new Function('t', '$', pointer.jsnext);
|
43 |
+
return jsnext(t, jQuery);
|
44 |
+
} else {
|
45 |
+
var close = (wpPointerL10n) ? wpPointerL10n.dismiss : 'Dismiss',
|
46 |
+
button = jQuery('<a class="close" href="#">' + close + '</a>');
|
47 |
+
return button.bind('click.pointer', function (e) {
|
48 |
+
e.preventDefault();
|
49 |
+
t.element.pointer('close');
|
50 |
+
});
|
51 |
+
}
|
52 |
+
},
|
53 |
+
close: function () {
|
54 |
+
$.post(ajaxurl, {
|
55 |
+
pointer: key,
|
56 |
+
action: 'dismiss-wp-pointer'
|
57 |
+
});
|
58 |
+
}
|
59 |
+
}).pointer(pointer.show);
|
60 |
+
// Hack for custom dashicons
|
61 |
+
if (pointer.icon_class !== '') {
|
62 |
+
$('.pp-' + key + ' .wp-pointer-content').addClass('pp-pointer-content').removeClass('wp-pointer-content');
|
63 |
+
$('.pp-' + key + ' .pp-pointer-content h3').addClass('dashicons-before').addClass(pointer.icon_class);
|
64 |
+
}
|
65 |
+
});
|
66 |
+
});
|
67 |
+
});
|
68 |
+
|
69 |
+
function getParams(script_choosen) {
|
70 |
+
// Get an array of key=value strings of params
|
71 |
+
var pa = script_choosen.src.split("?").pop().split("&");
|
72 |
+
// Split each key=value into array, the construct js object
|
73 |
+
var p = {};
|
74 |
+
for (var j = 0; j < pa.length; j++) {
|
75 |
+
var kv = pa[j].split("=");
|
76 |
+
p[kv[0]] = kv[1];
|
77 |
+
}
|
78 |
+
return p;
|
79 |
+
}
|
admin/template/code-example.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" style="display:none;">
|
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>
|
admin/template/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Italy Cookie Choices
|
classes/class-italy-cookie-choices-front-end.php
CHANGED
@@ -54,6 +54,12 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
54 |
*/
|
55 |
private $slug = '';
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
/**
|
58 |
* [__construct description]
|
59 |
*/
|
@@ -72,31 +78,22 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
72 |
* Default ID 1 perché su null non settava correttamente lo scroll se il valore era assente
|
73 |
* @var bolean
|
74 |
*/
|
75 |
-
$this->slug = ( isset( $this->options['slug'] ) && !empty( $this->options['slug'] ) ) ? esc_attr( $this->options['slug'] ) : 1 ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
/*
|
78 |
* Set cookie if the user agree navigating through the pages of the site
|
79 |
*/
|
80 |
$secondView = false;
|
81 |
|
82 |
-
if(
|
83 |
-
|
84 |
-
( strpos( $_SERVER["HTTP_ACCEPT"],'html' ) !== false ) &&
|
85 |
-
//if the page isn't privacy page
|
86 |
-
( $_SERVER['REQUEST_URI'] != $this->slug ) &&
|
87 |
-
//if HTTP_REFERER is set
|
88 |
-
( isset( $_SERVER['HTTP_REFERER'] ) ) &&
|
89 |
-
//if isn't refresh
|
90 |
-
( parse_url($_SERVER['HTTP_REFERER'], PHP_URL_PATH) != $_SERVER['REQUEST_URI'] ) &&
|
91 |
-
//if referrer is not privacy page (to be evaluated)
|
92 |
-
( parse_url($_SERVER['HTTP_REFERER'], PHP_URL_PATH ) != $this->slug ) &&
|
93 |
-
//if the cookie is not already set
|
94 |
-
( !isset( $_COOKIE[ $this->options['cookie_name'] ] ) ) &&
|
95 |
-
//if the referer is in the same domain
|
96 |
-
( parse_url( $_SERVER['HTTP_REFERER'], PHP_URL_HOST ) == $_SERVER['HTTP_HOST'] ) &&
|
97 |
-
// If the secondView options is checked
|
98 |
-
( $secondViewOpt )
|
99 |
-
) {
|
100 |
setcookie($this->options['cookie_name'], $this->options['cookie_value'], time()+(3600*24*365), '/');
|
101 |
$secondView = true;
|
102 |
}
|
@@ -173,21 +170,19 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
173 |
* including the button text
|
174 |
* @var string
|
175 |
*/
|
176 |
-
$content_message_text = ( isset( $this->options['content_message_text'] ) ) ? $this->options['content_message_text']
|
177 |
|
178 |
/**
|
179 |
* Text for button in locked content and widget
|
180 |
* @var string
|
181 |
*/
|
182 |
-
$content_message_button_text = ( isset( $this->options['content_message_button_text'] ) ) ? $this->options['content_message_button_text'] : '' ;
|
183 |
|
184 |
/**
|
185 |
* Replacement for regex
|
186 |
* @var string
|
187 |
*/
|
188 |
-
|
189 |
-
//
|
190 |
-
$this->valore = '<div class="el"><div style="padding:10px;margin-bottom: 18px;color:' . esc_attr( $banner_text_color ) . ';background-color:' . esc_attr( $banner_bg ) . ';text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);">' . esc_attr( $content_message_text ) . ' <button onclick="cookieChoices.removeCookieConsent()" style="color: '.esc_attr( $banner_text_color ).';padding: 3px;font-size: 12px;line-height: 12px;text-decoration: none;text-transform: uppercase;margin:0;display: inline-block;font-weight: normal; text-align: center; vertical-align: middle; cursor: pointer; border: 1px solid ' . esc_attr( $banner_text_color ) . ';background: rgba(255, 255, 255, 0.03);">' . esc_attr( $content_message_button_text ) . '</button></div><cookie></div>';
|
191 |
|
192 |
if ($block)
|
193 |
add_filter( 'the_content', array( $this, 'AutoErase' ), 11);
|
@@ -222,6 +217,62 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
222 |
|
223 |
}//__construct
|
224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
private function in_array_match($value, $array) {
|
226 |
foreach($array as $k=>$v) {
|
227 |
if(preg_match('/'.str_replace(preg_quote("<---------SOMETHING--------->"), ".*", preg_quote(preg_replace( "/([\r|\n]*)/is", "", trim($v)), '/')).'/is', preg_replace( "/([\r|\n]*)/is", "", $value))) {
|
@@ -639,7 +690,7 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
639 |
* function get_string return multilanguage $value
|
640 |
* if isn't installed any language plugin return $value
|
641 |
*/
|
642 |
-
$text = $this->wp_json_encode( get_string( 'Italy Cookie Choices', 'Banner text', $this->options['text'] ) );
|
643 |
|
644 |
$url = esc_url( get_string( 'Italy Cookie Choices', 'Banner url', $this->options['url'] ) );
|
645 |
|
54 |
*/
|
55 |
private $slug = '';
|
56 |
|
57 |
+
/**
|
58 |
+
* URL for policy page
|
59 |
+
* @var string
|
60 |
+
*/
|
61 |
+
private $url = '';
|
62 |
+
|
63 |
/**
|
64 |
* [__construct description]
|
65 |
*/
|
78 |
* Default ID 1 perché su null non settava correttamente lo scroll se il valore era assente
|
79 |
* @var bolean
|
80 |
*/
|
81 |
+
$this->slug = ( isset( $this->options['slug'] ) && !empty( $this->options['slug'] ) ) ? esc_attr( get_string( 'Italy Cookie Choices', 'Banner slug', $this->options['slug'] ) ) : 1 ;
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Assegno il valore della URL della policy page
|
85 |
+
* Default ID 1 perché su null non settava correttamente lo scroll se il valore era assente
|
86 |
+
* @var bolean
|
87 |
+
*/
|
88 |
+
$this->url = ( isset( $this->options['url'] ) && !empty( $this->options['url'] ) ) ? esc_url( get_string( 'Italy Cookie Choices', 'Banner url', $this->options['url'] ) ) : 1 ;
|
89 |
|
90 |
/*
|
91 |
* Set cookie if the user agree navigating through the pages of the site
|
92 |
*/
|
93 |
$secondView = false;
|
94 |
|
95 |
+
if( $this->is_policy_page( $secondViewOpt ) ) {
|
96 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
setcookie($this->options['cookie_name'], $this->options['cookie_value'], time()+(3600*24*365), '/');
|
98 |
$secondView = true;
|
99 |
}
|
170 |
* including the button text
|
171 |
* @var string
|
172 |
*/
|
173 |
+
$content_message_text = ( isset( $this->options['content_message_text'] ) ) ? wp_kses_post( get_string( 'Italy Cookie Choices', 'Content message text', $this->options['content_message_text'] ) ) : '' ;
|
174 |
|
175 |
/**
|
176 |
* Text for button in locked content and widget
|
177 |
* @var string
|
178 |
*/
|
179 |
+
$content_message_button_text = ( isset( $this->options['content_message_button_text'] ) ) ? esc_attr( get_string( 'Italy Cookie Choices', 'Content message button text', $this->options['content_message_button_text'] ) ) : '' ;
|
180 |
|
181 |
/**
|
182 |
* Replacement for regex
|
183 |
* @var string
|
184 |
*/
|
185 |
+
$this->valore = '<div class="el"><div style="padding:10px;margin-bottom: 18px;color:' . esc_attr( $banner_text_color ) . ';background-color:' . esc_attr( $banner_bg ) . ';text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);">' . $content_message_text . ' <button onclick="cookieChoices.removeCookieConsent()" style="color: ' . esc_attr( $banner_text_color ) . ';padding: 3px;font-size: 12px;line-height: 12px;text-decoration: none;text-transform: uppercase;margin:0;display: inline-block;font-weight: normal; text-align: center; vertical-align: middle; cursor: pointer; border: 1px solid ' . esc_attr( $banner_text_color ) . ';background: rgba(255, 255, 255, 0.03);">' . $content_message_button_text . '</button></div><cookie></div>';
|
|
|
|
|
186 |
|
187 |
if ($block)
|
188 |
add_filter( 'the_content', array( $this, 'AutoErase' ), 11);
|
217 |
|
218 |
}//__construct
|
219 |
|
220 |
+
|
221 |
+
/**
|
222 |
+
* Get the current page url
|
223 |
+
* @link http://www.brosulo.net/content/informatica/ottenere-la-url-completa-da-una-pagina-php-0
|
224 |
+
*/
|
225 |
+
private function CurrentPageURL() {
|
226 |
+
|
227 |
+
if ( isset( $_SERVER['HTTPS'] ) )
|
228 |
+
$pageURL = $_SERVER['HTTPS'];
|
229 |
+
else
|
230 |
+
$pageURL = NULL;
|
231 |
+
|
232 |
+
$pageURL = $pageURL === 'on' ? 'https://' : 'http://';
|
233 |
+
$pageURL .= $_SERVER["SERVER_NAME"];
|
234 |
+
$pageURL .= ( $_SERVER['SERVER_PORT'] !== '80' ) ? ':' . $_SERVER["SERVER_PORT"] : '';
|
235 |
+
$pageURL .= $_SERVER["REQUEST_URI"];
|
236 |
+
|
237 |
+
return $pageURL;
|
238 |
+
|
239 |
+
}
|
240 |
+
|
241 |
+
/**
|
242 |
+
* Check if is the policy page
|
243 |
+
* Required url input
|
244 |
+
* @param boolean $secondViewOpt Check for second view option
|
245 |
+
* @return boolean Return bolean value
|
246 |
+
*/
|
247 |
+
private function is_policy_page( $secondViewOpt = false ){
|
248 |
+
|
249 |
+
if(
|
250 |
+
// if is an HTML request (alternative methods???)
|
251 |
+
( strpos( $_SERVER["HTTP_ACCEPT"],'html' ) !== false ) &&
|
252 |
+
//if the page isn't privacy page
|
253 |
+
// ( $_SERVER['REQUEST_URI'] != $this->slug ) &&
|
254 |
+
( $this->CurrentPageURL() !== $this->url ) &&
|
255 |
+
//if HTTP_REFERER is set
|
256 |
+
( isset( $_SERVER['HTTP_REFERER'] ) ) &&
|
257 |
+
//if isn't refresh
|
258 |
+
( parse_url($_SERVER['HTTP_REFERER'], PHP_URL_PATH) !== $_SERVER['REQUEST_URI'] ) &&
|
259 |
+
//if referrer is not privacy page (to be evaluated)
|
260 |
+
// ( parse_url($_SERVER['HTTP_REFERER'], PHP_URL_PATH ) != $this->slug ) &&
|
261 |
+
// ( $_SERVER['HTTP_REFERER'] !== $this->url ) &&
|
262 |
+
//if the cookie is not already set
|
263 |
+
( !isset( $_COOKIE[ $this->options['cookie_name'] ] ) ) &&
|
264 |
+
//if the referer is in the same domain
|
265 |
+
( parse_url( $_SERVER['HTTP_REFERER'], PHP_URL_HOST ) === $_SERVER['HTTP_HOST'] ) &&
|
266 |
+
// If the secondView options is checked
|
267 |
+
( $secondViewOpt )
|
268 |
+
)
|
269 |
+
return true;
|
270 |
+
else
|
271 |
+
return false;
|
272 |
+
|
273 |
+
}
|
274 |
+
|
275 |
+
|
276 |
private function in_array_match($value, $array) {
|
277 |
foreach($array as $k=>$v) {
|
278 |
if(preg_match('/'.str_replace(preg_quote("<---------SOMETHING--------->"), ".*", preg_quote(preg_replace( "/([\r|\n]*)/is", "", trim($v)), '/')).'/is', preg_replace( "/([\r|\n]*)/is", "", $value))) {
|
690 |
* function get_string return multilanguage $value
|
691 |
* if isn't installed any language plugin return $value
|
692 |
*/
|
693 |
+
$text = $this->wp_json_encode( wp_kses_post( get_string( 'Italy Cookie Choices', 'Banner text', $this->options['text'] ) ) );
|
694 |
|
695 |
$url = esc_url( get_string( 'Italy Cookie Choices', 'Banner url', $this->options['url'] ) );
|
696 |
|
debug/debug.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* This will make shure the plugin files can't be accessed within the web browser directly.
|
4 |
+
*/
|
5 |
+
if ( !defined( 'WPINC' ) )
|
6 |
+
die;
|
7 |
+
/**
|
8 |
+
* This file is only for internal use
|
9 |
+
*/
|
10 |
+
|
11 |
+
|
12 |
+
/**
|
13 |
+
* @link http://wordpress.stackexchange.com/questions/162862/wordpress-hooks-run-sequence
|
14 |
+
* @link http://codex.wordpress.org/Plugin_API/Action_Reference
|
15 |
+
* wp_footer (1)
|
16 |
+
* wp_print_footer_scripts (1)
|
17 |
+
* shutdown (1)
|
18 |
+
*/
|
19 |
+
add_action( 'shutdown', function(){
|
20 |
+
var_dump($GLOBALS['wp_actions']);
|
21 |
+
foreach( $GLOBALS['wp_actions'] as $action => $count )
|
22 |
+
printf( '%s (%d) <br/>' . PHP_EOL, $action, $count );
|
23 |
+
});
|
24 |
+
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Sperimentale, aggingereattributo style con altezza minima per quando
|
28 |
+
* si attiva il lazyloading sulle immagini
|
29 |
+
*/
|
30 |
+
// function kia_attachment_attributes( $attr ) {
|
31 |
+
/**
|
32 |
+
* @todo $attr è un array con 3 valori
|
33 |
+
* aggiungere un attributo style e dare min-height
|
34 |
+
* con altezza presa dalla misura dell'immagine
|
35 |
+
* Per esempio se è la misura media deve prendere il valore di 300px
|
36 |
+
* Se questo sistema funziona ricordarsi di togliere lo stile dentro il carousel
|
37 |
+
*/
|
38 |
+
// // var_dump($attr);
|
39 |
+
// return $attr;
|
40 |
+
// }
|
41 |
+
// add_filter('wp_get_attachment_image_attributes', 'kia_attachment_attributes', 10, 1);
|
italy-cookie-choices.php
CHANGED
@@ -1,13 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: Italy Cookie Choices
|
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.
|
7 |
* Author: Enea Overclokk, Andrea Pernici, Andrea Cardinale
|
8 |
* Author URI: https://github.com/ItalyCookieChoices/italy-cookie-choices
|
9 |
* Text Domain: italy-cookie-choices
|
10 |
* License: GPLv2 or later
|
|
|
|
|
|
|
11 |
*
|
12 |
* @package Italy Cookie Choices
|
13 |
* @since 1.0.0
|
@@ -67,6 +70,8 @@ if ( !defined( 'ITALY_COOKIE_CHOICES_DIRNAME' ) )
|
|
67 |
*/
|
68 |
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'admin/class-italy-cookie-choices-admin.php');
|
69 |
|
|
|
|
|
70 |
require(ITALY_COOKIE_CHOICES_PLUGIN_PATH . 'classes/class-italy-cookie-choices-front-end.php');
|
71 |
/**
|
72 |
* Requier multilingual functions
|
@@ -102,10 +107,12 @@ if ( ! class_exists( 'Italy_Cookie_Choices' ) ) {
|
|
102 |
/**
|
103 |
* Check if is compatible and then instantiate it
|
104 |
*/
|
105 |
-
if ( $this->is_compatible_version() && is_admin() )
|
|
|
106 |
new Italy_Cookie_Choices_Admin;
|
|
|
107 |
|
108 |
-
else if ( $this->is_compatible_version() && !is_admin() )
|
109 |
new Italy_Cookie_Choices_Front_End;
|
110 |
|
111 |
else
|
1 |
<?php
|
2 |
/**
|
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.3.0
|
7 |
* Author: Enea Overclokk, Andrea Pernici, Andrea Cardinale
|
8 |
* Author URI: https://github.com/ItalyCookieChoices/italy-cookie-choices
|
9 |
* Text Domain: italy-cookie-choices
|
10 |
* License: GPLv2 or later
|
11 |
+
* Git URI: https://github.com/ItalyCookieChoices/italy-cookie-choices
|
12 |
+
* GitHub Plugin URI: https://github.com/ItalyCookieChoices/italy-cookie-choices
|
13 |
+
* GitHub Branch: master
|
14 |
*
|
15 |
* @package Italy Cookie Choices
|
16 |
* @since 1.0.0
|
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 |
* Requier multilingual functions
|
107 |
/**
|
108 |
* Check if is compatible and then instantiate it
|
109 |
*/
|
110 |
+
if ( $this->is_compatible_version() && is_admin() ){
|
111 |
+
|
112 |
new Italy_Cookie_Choices_Admin;
|
113 |
+
// new Italy_Cookie_Choices_Pointer_Init;
|
114 |
|
115 |
+
}else if ( $this->is_compatible_version() && !is_admin() )
|
116 |
new Italy_Cookie_Choices_Front_End;
|
117 |
|
118 |
else
|
js/default/cookiechoices.js
CHANGED
@@ -191,11 +191,13 @@ function appendJS(script){
|
|
191 |
}
|
192 |
|
193 |
function _setElementText(element, text) {
|
194 |
-
if (supportsTextContent) {
|
195 |
-
|
196 |
-
} else {
|
197 |
-
|
198 |
-
}
|
|
|
|
|
199 |
}
|
200 |
|
201 |
/* function _createSpace(){
|
191 |
}
|
192 |
|
193 |
function _setElementText(element, text) {
|
194 |
+
// if (supportsTextContent) {
|
195 |
+
// element.textContent = text;
|
196 |
+
// } else {
|
197 |
+
// element.innerText = text;
|
198 |
+
// }
|
199 |
+
|
200 |
+
element.innerHTML = text;
|
201 |
}
|
202 |
|
203 |
/* function _createSpace(){
|
js/default/cookiechoices.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function allowCookie(){var a,b=document.getElementsByClassName("el"),c=new RegExp("<script.*?");for(a=0;a<b.length;a++){b[a].removeChild(b[a].childNodes[0]);var d=c.test(jsArr[a]);if(d){var e=/<script.*?src="(.*?)"/,f=e.test(jsArr[a]);f&&(f=e.exec(jsArr[a]),loadJS(f[1]));var g=/<script\b[^>]*>([\s\S]*?)<\/script>/gm,h=g.exec(jsArr[a]);h[1]&&appendJS(h[1])}else{var i=b[a].innerHTML;d=i.replace(/<cookie>/g,jsArr[a]),b[a].innerHTML=d}}}function loadJS(a){var b=document.createElement("script");b.type="application/javascript",b.src=a,document.body.appendChild(b)}function appendJS(a){var b=document.createElement("script");b.type="text/javascript";var c=a;try{b.appendChild(document.createTextNode(c)),document.body.appendChild(b)}catch(d){b.text=c,document.body.appendChild(b)}}!function(a){if(a.cookieChoices)return a.cookieChoices;var b=a.document,c=(b.documentElement,"textContent"in b.body
|
1 |
+
function allowCookie(){var a,b=document.getElementsByClassName("el"),c=new RegExp("<script.*?");for(a=0;a<b.length;a++){b[a].removeChild(b[a].childNodes[0]);var d=c.test(jsArr[a]);if(d){var e=/<script.*?src="(.*?)"/,f=e.test(jsArr[a]);f&&(f=e.exec(jsArr[a]),loadJS(f[1]));var g=/<script\b[^>]*>([\s\S]*?)<\/script>/gm,h=g.exec(jsArr[a]);h[1]&&appendJS(h[1])}else{var i=b[a].innerHTML;d=i.replace(/<cookie>/g,jsArr[a]),b[a].innerHTML=d}}}function loadJS(a){var b=document.createElement("script");b.type="application/javascript",b.src=a,document.body.appendChild(b)}function appendJS(a){var b=document.createElement("script");b.type="text/javascript";var c=a;try{b.appendChild(document.createTextNode(c)),document.body.appendChild(b)}catch(d){b.text=c,document.body.appendChild(b)}}!function(a){if(a.cookieChoices)return a.cookieChoices;var b=a.document,c=(b.documentElement,"textContent"in b.body,function(){function a(a){var b=a.offsetHeight,c=getComputedStyle(a);return b+=parseInt(c.marginTop)+parseInt(c.marginBottom)}function c(a,c,d,e){var i=b.createElement("div");i.id=r,i.className=bannerStyle;var j=b.createElement("div");return j.className=contentStyle,j.appendChild(f(a)),d&&e&&j.appendChild(h(d,e)),j.appendChild(g(c)),i.appendChild(j),i}function d(a,c,d,e){var i=b.createElement("div");i.id=r;var j=b.createElement("div");j.className="glassStyle";var k=b.createElement("div");k.className=contentStyle;var l=b.createElement("div");l.className=bannerStyle;var m=g(c);return k.appendChild(f(a)),d&&e&&k.appendChild(h(d,e)),k.appendChild(m),l.appendChild(k),i.appendChild(j),i.appendChild(l),i}function e(a,b){a.innerHTML=b}function f(a){var c=b.createElement("span");return c.className=consText,e(c,a),c}function g(a){var c=b.createElement("a");return e(c,a),c.id=s,c.className=closeClass,c.href="#",c}function h(a,c){var d=b.createElement("a");return e(d,a),d.className=infoClass,d.href=c,tar&&(d.target="_blank"),d}function i(){return p()&&(htmlM&&(b.getElementsByTagName("html")[0].style.marginTop=t),allowCookie(),o(),m()),rel&&b.location.reload(),!1}function j(e,f,g,h,j){if(p()){var k=j?d(e,f,g,h):c(e,f,g,h),l=b.createDocumentFragment();l.appendChild(k),b.body.appendChild(l.cloneNode(!0)),htmlM&&(b.getElementsByTagName("html")[0].style.marginTop=a(b.getElementById("cookieChoiceInfo"))+"px"),b.getElementById(s).onclick=i,scroll&&(b.onscroll=i)}}function k(a,b,c,d){j(a,b,c,d,!1)}function l(a,b,c,d){j(a,b,c,d,!0)}function m(){var a=b.getElementById(r);null!==a&&a.parentNode.removeChild(a)}function n(){i()}function o(){var a=new Date;a.setFullYear(a.getFullYear()+1),b.cookie=q+"="+coVA+"; expires="+a.toGMTString()+";path=/"}function p(){return!b.cookie.match(new RegExp(q+"=([^;]+)"))}var q=coNA,r="cookieChoiceInfo",s="cookieChoiceDismiss",t=b.getElementsByTagName("html")[0].style.marginTop,u={};return u.showCookieConsentBar=k,u.showCookieConsentDialog=l,u.removeCookieConsent=n,u}());return a.cookieChoices=c,c}(this);
|
lang/italy-cookie-choices-it_IT.mo
CHANGED
Binary file
|
lang/italy-cookie-choices-it_IT.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: italy-cookie-choices\n"
|
4 |
-
"POT-Creation-Date: 2015-07-
|
5 |
-
"PO-Revision-Date: 2015-07-
|
6 |
"Last-Translator: Enea Overclokk <info@overclokk.net>\n"
|
7 |
"Language-Team: info@overclokk.net\n"
|
8 |
"Language: it_IT\n"
|
@@ -18,337 +18,412 @@ msgstr ""
|
|
18 |
"X-Poedit-SearchPathExcluded-0: node_modules\n"
|
19 |
"X-Poedit-SearchPathExcluded-1: .git\n"
|
20 |
|
21 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
msgid "Italy Cookie Choices Dashboard"
|
23 |
msgstr "Pannello di Italy Cookie Choices"
|
24 |
|
25 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
26 |
msgid "You do not have sufficient permissions to access this page."
|
27 |
msgstr "Non hai abbastanza permessi per visualizzare questa pagina."
|
28 |
|
29 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
30 |
msgid "Italy Cookie Choices options page"
|
31 |
msgstr "Pagina opzioni per Italy Cookie Choices"
|
32 |
|
33 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
34 |
msgid "Activate"
|
35 |
msgstr "Attiva"
|
36 |
|
37 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
38 |
msgid "Where display the banner"
|
39 |
msgstr "Dove mostrare il banner"
|
40 |
|
41 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
42 |
msgid "Mouse scroll event"
|
43 |
msgstr "Evento scroll del mouse"
|
44 |
|
45 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
46 |
msgid "Accept on second view"
|
47 |
msgstr "Accettazione continuando la navigazione"
|
48 |
|
49 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
50 |
msgid "Refresh page"
|
51 |
msgstr "Aggiorna la pagina"
|
52 |
|
53 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
54 |
msgid "Text to display"
|
55 |
msgstr "Testo da mostrare"
|
56 |
|
57 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
58 |
msgid "URL for cookie policy"
|
59 |
msgstr "URL per la cookie policy"
|
60 |
|
61 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
62 |
msgid "Anchor text for URL"
|
63 |
msgstr "Anchor text per la URL"
|
64 |
|
65 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
66 |
msgid "Button text"
|
67 |
msgstr "Testo per il bottone"
|
68 |
|
69 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
70 |
msgid "Style settings"
|
71 |
msgstr "Impostazioni per lo stile"
|
72 |
|
73 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
74 |
msgid "CookieChoices Template"
|
75 |
msgstr "CookieChoices Template"
|
76 |
|
77 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
78 |
msgid "HTML top margin"
|
79 |
msgstr "Margine alto per HTML"
|
80 |
|
81 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
82 |
msgid "Banner Background color"
|
83 |
msgstr "Colore di sfondo per il banner"
|
84 |
|
85 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
86 |
msgid "Banner text color"
|
87 |
msgstr "Colore per il testo del banner"
|
88 |
|
89 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
90 |
msgid "Custom CSS"
|
91 |
msgstr "CSS personalizzato"
|
92 |
|
93 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
94 |
msgid "Custom CSS Class (Optional)"
|
95 |
msgstr "Classi CSS personalizzate (Opzionali)"
|
96 |
|
97 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
98 |
msgid "Advanced settings"
|
99 |
msgstr "Opzioni avanzate"
|
100 |
|
101 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
102 |
msgid "Cookie name"
|
103 |
msgstr "Nome del Cookie"
|
104 |
|
105 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
106 |
msgid "Cookie value"
|
107 |
msgstr "Valore del Cookie"
|
108 |
|
109 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
110 |
-
msgid "Cookie policy page slug"
|
111 |
-
msgstr "Slug pagina Cookie policy"
|
112 |
-
|
113 |
-
#: admin/class-italy-cookie-choices-admin.php:378
|
114 |
msgid "Open policy in new page"
|
115 |
msgstr "Apri in una nuova pagina"
|
116 |
|
117 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
118 |
msgid "Third part cookie block (beta)"
|
119 |
msgstr "Blocco dei cookie di terze parti (Beta)"
|
120 |
|
121 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
122 |
msgid "Scripts allowed in body"
|
123 |
msgstr "Script da non bloccare"
|
124 |
|
125 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
126 |
msgid "Scripts to be blocked"
|
127 |
msgstr "Script da bloccare"
|
128 |
|
129 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
130 |
msgid "Text message for locked embedded content"
|
131 |
msgstr "Testo per gli embed bloccati"
|
132 |
|
133 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
134 |
msgid "Button text to activate locked embedded content"
|
135 |
msgstr "Testo per il bottone di accettazione degli embed bloccati"
|
136 |
|
137 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
138 |
msgid "Customize your banner for cookie law"
|
139 |
msgstr "Personalizza il banner per la Cookie Law"
|
140 |
|
141 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
142 |
msgid "Display banner for Cookie Law in front-end"
|
143 |
msgstr ""
|
144 |
"Visualizza il banner sul tuo sito web, se non attivi non viene mostrato "
|
145 |
"nulla."
|
146 |
|
147 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
148 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
149 |
msgstr "Top Bar (Default, Visualizza una top bar con il tuo messaggio)"
|
150 |
|
151 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
152 |
msgid "Dialog (Display an overlay with your message)"
|
153 |
msgstr "Dialog (Visualizza un popup con il tuo messaggio)"
|
154 |
|
155 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
156 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
157 |
msgstr "Bottom Bar (Visualizza una barra nel footer con il tuo messaggio)"
|
158 |
|
159 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
160 |
msgid "Accepts disclosures on mouse scroll event"
|
161 |
msgstr "Accetta l'informativa sull'evento scroll del mouse"
|
162 |
|
163 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
164 |
msgid "Activate accept on second view"
|
165 |
msgstr "Attiva l'accettazione se l'utente continua la navigazione"
|
166 |
|
167 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
168 |
msgid "Refresh page after button click (DEPRECATED)"
|
169 |
msgstr "Aggiorna la pagina dopo l'accettazione (DEPRECATA)"
|
170 |
|
171 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
172 |
msgid "Your short cookie policy"
|
173 |
msgstr "La tua informativa breve"
|
174 |
|
175 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
176 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
177 |
msgid ""
|
178 |
"People will see this notice only the first time that they enter your site"
|
179 |
msgstr ""
|
180 |
"Le persone visualizzeranno il messaggio la prima volta che visiteranno il "
|
181 |
"tuo sito"
|
182 |
|
183 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
184 |
msgid "e.g. http://www.aboutcookies.org/"
|
185 |
msgstr "es: http://www.aboutcookies.org/"
|
186 |
|
187 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
188 |
msgid "Insert here the link to your policy page"
|
189 |
msgstr "Inserisci il link alla tua pagina con l'informativa estesa"
|
190 |
|
191 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
msgid "e.g. More Info"
|
193 |
msgstr "es: Maggiori informazioni"
|
194 |
|
195 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
196 |
msgid "Insert here anchor text for the link"
|
197 |
msgstr "Inserisci qui l'anchor text per il link"
|
198 |
|
199 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
200 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
201 |
msgid "e.g. Close"
|
202 |
msgstr "es: Chiudi"
|
203 |
|
204 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
205 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
206 |
msgid "Insert here name of button (e.g. \"Close\") "
|
207 |
msgstr "Inserisci il testo del link per chiudere il popup/banner (es: Chiudi)"
|
208 |
|
209 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
210 |
msgid "Customize your style settings"
|
211 |
msgstr "Personalizza le impostazioni per lo stile"
|
212 |
|
213 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
214 |
msgid "Add a page top margin for info top bar, only for default topbar stile"
|
215 |
msgstr "Aggiungi un margine in cima alla pagina, solo per la topbar di default"
|
216 |
|
217 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
218 |
msgid "Default cookiechoices template (centered with text links)"
|
219 |
msgstr "Template di default, testo centrato con link testuali."
|
220 |
|
221 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
222 |
msgid "Centered container with left aligned text and big buttons"
|
223 |
msgstr ""
|
224 |
"Template con contenitore centrato (980px), testo allineato a sinistra e "
|
225 |
"bottoni grandi"
|
226 |
|
227 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
228 |
msgid "Centered container with left aligned text and small buttons"
|
229 |
msgstr ""
|
230 |
"Template con contenitore centrato (980px), testo allineato a sinistra e "
|
231 |
"bottoni piccoli"
|
232 |
|
233 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
234 |
msgid "My custom CSS"
|
235 |
msgstr "Il mio css personalizzato"
|
236 |
|
237 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
238 |
msgid "Select the template to use"
|
239 |
msgstr "Seleziona il template che vuoi usare"
|
240 |
|
241 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
242 |
msgid "Custom Background color for banner"
|
243 |
msgstr "Colore di sfondo per il banner"
|
244 |
|
245 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
246 |
msgid "Custom text color for banner"
|
247 |
msgstr "Colore del testo per il banner"
|
248 |
|
249 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
250 |
msgid "Your custom css"
|
251 |
msgstr "Il tuo css personalizzato"
|
252 |
|
253 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
254 |
msgid "Inset here your custom CSS for banner"
|
255 |
msgstr "Inserisci qui il tuo CSS personalizzato per il banner"
|
256 |
|
257 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
258 |
msgid "Eg: bannerStyle"
|
259 |
msgstr "Es: bannerStyle"
|
260 |
|
261 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
262 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
263 |
msgstr ""
|
264 |
"Classe CSS per il tag div del contenitore (Default <code>bannerStyle</code>)"
|
265 |
|
266 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
267 |
msgid "Eg: contentStyle"
|
268 |
msgstr "Es: contentStyle"
|
269 |
|
270 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
271 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
272 |
msgstr ""
|
273 |
"Classe CSS per il tag div del contenuto (Default <code>contentStyle</code>)"
|
274 |
|
275 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
276 |
msgid "Eg: consentText"
|
277 |
msgstr "Es: consentText"
|
278 |
|
279 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
280 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
281 |
msgstr "Classe CSS per il tag span (Default <code>consentText</code>)"
|
282 |
|
283 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
284 |
msgid "Eg: infoClass"
|
285 |
msgstr "Es: infoClass"
|
286 |
|
287 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
288 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
289 |
msgstr "Classe CSS per il link info (Default <code>itaybtn</code>)"
|
290 |
|
291 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
292 |
msgid "Eg: closeClass"
|
293 |
msgstr "Es: closeClass"
|
294 |
|
295 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
296 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
297 |
msgstr "Classe CSS per il link di chiusura (Default <code>itaybtn</code>)"
|
298 |
|
299 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
300 |
msgid "Customize with your personal CSS class"
|
301 |
msgstr "Personalizza con le tue classi CSS"
|
302 |
|
303 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
304 |
msgid "Customize your advanced settings"
|
305 |
msgstr "Personalizza le impostazioni avanzate"
|
306 |
|
307 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
308 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
309 |
msgstr "Inserisci il nome del tuo Cookie (Default: displayCookieConsent)"
|
310 |
|
311 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
312 |
msgid "Insert your cookie value (Default: y)"
|
313 |
msgstr "Inserisci il valore del tuo Cookie (Default: y)"
|
314 |
|
315 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
316 |
-
msgid "e.g. your-policy-url.html"
|
317 |
-
msgstr "es: la-tua-pagina-per-la-cookie-policy"
|
318 |
-
|
319 |
-
#: admin/class-italy-cookie-choices-admin.php:878
|
320 |
-
msgid ""
|
321 |
-
"Insert your cookie policy page slug (e.g. for the page http://www.miodominio."
|
322 |
-
"it/privacy-e-cookie/ the slug is <strong>privacy-e-cookie</strong>).<br>In "
|
323 |
-
"this way it will display only the topbar in your cookie policy page, the "
|
324 |
-
"scroll and the second view will be deactivated in that page too."
|
325 |
-
msgstr ""
|
326 |
-
"Inserisci il tuo slug della pagina dell'informativa estesa (ad es. per la "
|
327 |
-
"pagina http://www.miodominio.it/privacy-e-cookie/ lo slug sarà "
|
328 |
-
"<strong>privacy-e-cookie</strong>).<br>In questo modo verrà visualizzata "
|
329 |
-
"solo la barra superiore nella pagina dell'informativa, Anche lo scroll e "
|
330 |
-
"l'accettazione continuando la navigazione verranno disattivati in quella "
|
331 |
-
"pagina."
|
332 |
-
|
333 |
-
#: admin/class-italy-cookie-choices-admin.php:898
|
334 |
msgid "Open your cookie policy page in new one"
|
335 |
msgstr "Apri la tua pagina per la Cookie policy in una nuova"
|
336 |
|
337 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
338 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
339 |
msgstr "Cookie da tutti gli embed nel tuo contenuto (Beta) (DEPRECATA)"
|
340 |
|
341 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
342 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
343 |
msgstr "Cookie da tutti gli embed nei tuoi widget (Beta) (DEPRECATA)"
|
344 |
|
345 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
346 |
msgid "Cookie from any embed in all body, except head and footer (Beta)"
|
347 |
msgstr ""
|
348 |
"Cookie da tutti gli embed nella tua pagina, eccetto head e footer (Beta)"
|
349 |
|
350 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
351 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
352 |
msgid ""
|
353 |
"<script src="http://domain.com/widget-example.js"></"
|
354 |
"script>\n"
|
@@ -368,7 +443,11 @@ msgstr ""
|
|
368 |
"<script src="http://lastdomain.com/gadget-example.js"></"
|
369 |
"script>"
|
370 |
|
371 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
372 |
msgid ""
|
373 |
"Scripts to be excluded from the automatic block.<br />Split each script with "
|
374 |
"<strong><em><---------SEP---------></em></strong><br>Use "
|
@@ -378,12 +457,12 @@ msgstr ""
|
|
378 |
"script con <strong> <em><---------SEP---------></em></strong><br>Usa "
|
379 |
"<strong><---------SOMETHING---------></strong> per regex personalizzata"
|
380 |
|
381 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
382 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
383 |
msgid "For more information see the documentation"
|
384 |
msgstr "Per maggiorni informazioni guarda la documentazione"
|
385 |
|
386 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
387 |
msgid ""
|
388 |
"Scripts shown in the head and in the footer does not automatically blocked."
|
389 |
"<br />Split each script with <strong><em><---------SEP---------></em></"
|
@@ -394,31 +473,35 @@ msgstr ""
|
|
394 |
"script con <strong><em><---------SEP---------></em></strong><br>Usa "
|
395 |
"<strong><---------SOMETHING---------></strong> per una regex personalizzata."
|
396 |
|
397 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
398 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
399 |
msgstr ""
|
400 |
"Il tuo messaggio da visualizzare nel box per i contenuti bloccati "
|
401 |
"incorporati all'interno di pagine, articoli e widget"
|
402 |
|
403 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
404 |
#: admin/class-italy-cookie-choices-sanitize.php:77
|
405 |
msgid "Cookie name field it can't be empty. Restored default name."
|
406 |
msgstr ""
|
407 |
"Il campo del nome del Cookie non può essere vuoto. Ripristinato il nome di "
|
408 |
"default."
|
409 |
|
410 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
411 |
#: admin/class-italy-cookie-choices-sanitize.php:84
|
412 |
msgid "Cookie value field it can't be empty. Restored default value."
|
413 |
msgstr ""
|
414 |
"Il campo del valore del Cookie non può essere vuoto. Ripristinato il valore "
|
415 |
"di default."
|
416 |
|
417 |
-
#:
|
|
|
|
|
|
|
|
|
418 |
msgid "Activation of Italy Cookie Choices in not possible"
|
419 |
msgstr "L'attivazione di Italy Cookie Choices non è possibile"
|
420 |
|
421 |
-
#: italy-cookie-choices.php:
|
422 |
#, php-format
|
423 |
msgid ""
|
424 |
"Your server is running %s version %s but this plugin requires at least %s"
|
@@ -426,6 +509,12 @@ msgstr ""
|
|
426 |
"Il tuo server sta eseguendo %s con la versione %s ma qesto plugin richiede "
|
427 |
"almeno la versione %s"
|
428 |
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
#~ msgid ""
|
430 |
#~ "Insert your cookie policy page slug (e.g. your-policy-url), it will "
|
431 |
#~ "display only topbar in your cookie policy page and the scroll and the "
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: italy-cookie-choices\n"
|
4 |
+
"POT-Creation-Date: 2015-07-09 19:09+0200\n"
|
5 |
+
"PO-Revision-Date: 2015-07-09 19:11+0200\n"
|
6 |
"Last-Translator: Enea Overclokk <info@overclokk.net>\n"
|
7 |
"Language-Team: info@overclokk.net\n"
|
8 |
"Language: it_IT\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: node_modules\n"
|
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:79
|
34 |
+
msgid "Italy_Cookie_Choices_Pointer for Posts"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:80
|
38 |
+
msgid "One more pointer."
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:87
|
42 |
+
msgid "Italy_Cookie_Choices_Pointer Pages"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:88
|
46 |
+
msgid "A pointer for pages."
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:94
|
50 |
+
msgid "Italy_Cookie_Choices_Pointer Users"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:95
|
54 |
+
msgid "A pointer for users."
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:101
|
58 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:115
|
59 |
+
msgid "Italy_Cookie_Choices_Pointer Help"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:102
|
63 |
+
msgid "A pointer with action."
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:106
|
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:72
|
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:95
|
80 |
+
msgid "Italy_Cookie_Choices_Pointer Error: pages is not an array!"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: admin/class-italy-cookie-choices-admin.php:87
|
84 |
msgid "Italy Cookie Choices Dashboard"
|
85 |
msgstr "Pannello di Italy Cookie Choices"
|
86 |
|
87 |
+
#: admin/class-italy-cookie-choices-admin.php:101
|
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:160
|
92 |
msgid "Italy Cookie Choices options page"
|
93 |
msgstr "Pagina opzioni per Italy Cookie Choices"
|
94 |
|
95 |
+
#: admin/class-italy-cookie-choices-admin.php:170
|
96 |
msgid "Activate"
|
97 |
msgstr "Attiva"
|
98 |
|
99 |
+
#: admin/class-italy-cookie-choices-admin.php:182
|
100 |
msgid "Where display the banner"
|
101 |
msgstr "Dove mostrare il banner"
|
102 |
|
103 |
+
#: admin/class-italy-cookie-choices-admin.php:193
|
104 |
msgid "Mouse scroll event"
|
105 |
msgstr "Evento scroll del mouse"
|
106 |
|
107 |
+
#: admin/class-italy-cookie-choices-admin.php:204
|
108 |
msgid "Accept on second view"
|
109 |
msgstr "Accettazione continuando la navigazione"
|
110 |
|
111 |
+
#: admin/class-italy-cookie-choices-admin.php:215
|
112 |
msgid "Refresh page"
|
113 |
msgstr "Aggiorna la pagina"
|
114 |
|
115 |
+
#: admin/class-italy-cookie-choices-admin.php:226
|
116 |
msgid "Text to display"
|
117 |
msgstr "Testo da mostrare"
|
118 |
|
119 |
+
#: admin/class-italy-cookie-choices-admin.php:237
|
120 |
msgid "URL for cookie policy"
|
121 |
msgstr "URL per la cookie policy"
|
122 |
|
123 |
+
#: admin/class-italy-cookie-choices-admin.php:248
|
124 |
+
msgid "Cookie policy page slug"
|
125 |
+
msgstr "Slug pagina Cookie policy"
|
126 |
+
|
127 |
+
#: admin/class-italy-cookie-choices-admin.php:259
|
128 |
msgid "Anchor text for URL"
|
129 |
msgstr "Anchor text per la URL"
|
130 |
|
131 |
+
#: admin/class-italy-cookie-choices-admin.php:270
|
132 |
msgid "Button text"
|
133 |
msgstr "Testo per il bottone"
|
134 |
|
135 |
+
#: admin/class-italy-cookie-choices-admin.php:281
|
136 |
msgid "Style settings"
|
137 |
msgstr "Impostazioni per lo stile"
|
138 |
|
139 |
+
#: admin/class-italy-cookie-choices-admin.php:291
|
140 |
msgid "CookieChoices Template"
|
141 |
msgstr "CookieChoices Template"
|
142 |
|
143 |
+
#: admin/class-italy-cookie-choices-admin.php:302
|
144 |
msgid "HTML top margin"
|
145 |
msgstr "Margine alto per HTML"
|
146 |
|
147 |
+
#: admin/class-italy-cookie-choices-admin.php:313
|
148 |
msgid "Banner Background color"
|
149 |
msgstr "Colore di sfondo per il banner"
|
150 |
|
151 |
+
#: admin/class-italy-cookie-choices-admin.php:324
|
152 |
msgid "Banner text color"
|
153 |
msgstr "Colore per il testo del banner"
|
154 |
|
155 |
+
#: admin/class-italy-cookie-choices-admin.php:335
|
156 |
msgid "Custom CSS"
|
157 |
msgstr "CSS personalizzato"
|
158 |
|
159 |
+
#: admin/class-italy-cookie-choices-admin.php:346
|
160 |
msgid "Custom CSS Class (Optional)"
|
161 |
msgstr "Classi CSS personalizzate (Opzionali)"
|
162 |
|
163 |
+
#: admin/class-italy-cookie-choices-admin.php:357
|
164 |
msgid "Advanced settings"
|
165 |
msgstr "Opzioni avanzate"
|
166 |
|
167 |
+
#: admin/class-italy-cookie-choices-admin.php:367
|
168 |
msgid "Cookie name"
|
169 |
msgstr "Nome del Cookie"
|
170 |
|
171 |
+
#: admin/class-italy-cookie-choices-admin.php:378
|
172 |
msgid "Cookie value"
|
173 |
msgstr "Valore del Cookie"
|
174 |
|
175 |
+
#: admin/class-italy-cookie-choices-admin.php:389
|
|
|
|
|
|
|
|
|
176 |
msgid "Open policy in new page"
|
177 |
msgstr "Apri in una nuova pagina"
|
178 |
|
179 |
+
#: admin/class-italy-cookie-choices-admin.php:400
|
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:411
|
184 |
msgid "Scripts allowed in body"
|
185 |
msgstr "Script da non bloccare"
|
186 |
|
187 |
+
#: admin/class-italy-cookie-choices-admin.php:422
|
188 |
msgid "Scripts to be blocked"
|
189 |
msgstr "Script da bloccare"
|
190 |
|
191 |
+
#: admin/class-italy-cookie-choices-admin.php:433
|
192 |
msgid "Text message for locked embedded content"
|
193 |
msgstr "Testo per gli embed bloccati"
|
194 |
|
195 |
+
#: admin/class-italy-cookie-choices-admin.php:444
|
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:469
|
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:484
|
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:504
|
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:512
|
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:520
|
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:540
|
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:560
|
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:578
|
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:611
|
234 |
msgid "Your short cookie policy"
|
235 |
msgstr "La tua informativa breve"
|
236 |
|
237 |
+
#: admin/class-italy-cookie-choices-admin.php:618
|
238 |
+
#: admin/class-italy-cookie-choices-admin.php:1086
|
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:643
|
246 |
msgid "e.g. http://www.aboutcookies.org/"
|
247 |
msgstr "es: http://www.aboutcookies.org/"
|
248 |
|
249 |
+
#: admin/class-italy-cookie-choices-admin.php:646
|
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:646
|
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:648
|
258 |
+
#: admin/class-italy-cookie-choices-admin.php:680
|
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"
|
262 |
+
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:675
|
267 |
+
msgid "e.g. privacy-e-cookie"
|
268 |
+
msgstr "es: privacy-e-cookie"
|
269 |
+
|
270 |
+
#: admin/class-italy-cookie-choices-admin.php:678
|
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 "
|
274 |
+
"this way it will display only the topbar in your cookie policy page, the "
|
275 |
+
"scroll and the second view will be deactivated in that page too."
|
276 |
+
msgstr ""
|
277 |
+
"Inserisci il tuo slug della pagina dell'informativa estesa (ad es. per la "
|
278 |
+
"pagina http://www.miodominio.it/privacy-e-cookie/ lo slug sarà "
|
279 |
+
"<strong>privacy-e-cookie</strong>).<br>In questo modo verrà visualizzata "
|
280 |
+
"solo la barra superiore nella pagina dell'informativa, Anche lo scroll e "
|
281 |
+
"l'accettazione continuando la navigazione verranno disattivati in quella "
|
282 |
+
"pagina."
|
283 |
+
|
284 |
+
#: admin/class-italy-cookie-choices-admin.php:694
|
285 |
msgid "e.g. More Info"
|
286 |
msgstr "es: Maggiori informazioni"
|
287 |
|
288 |
+
#: admin/class-italy-cookie-choices-admin.php:697
|
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:711
|
293 |
+
#: admin/class-italy-cookie-choices-admin.php:1102
|
294 |
msgid "e.g. Close"
|
295 |
msgstr "es: Chiudi"
|
296 |
|
297 |
+
#: admin/class-italy-cookie-choices-admin.php:714
|
298 |
+
#: admin/class-italy-cookie-choices-admin.php:1105
|
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:731
|
303 |
msgid "Customize your style settings"
|
304 |
msgstr "Personalizza le impostazioni per lo stile"
|
305 |
|
306 |
+
#: admin/class-italy-cookie-choices-admin.php:747
|
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:765
|
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:767
|
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:769
|
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:771
|
327 |
msgid "My custom CSS"
|
328 |
msgstr "Il mio css personalizzato"
|
329 |
|
330 |
+
#: admin/class-italy-cookie-choices-admin.php:775
|
331 |
msgid "Select the template to use"
|
332 |
msgstr "Seleziona il template che vuoi usare"
|
333 |
|
334 |
+
#: admin/class-italy-cookie-choices-admin.php:796
|
335 |
msgid "Custom Background color for banner"
|
336 |
msgstr "Colore di sfondo per il banner"
|
337 |
|
338 |
+
#: admin/class-italy-cookie-choices-admin.php:816
|
339 |
msgid "Custom text color for banner"
|
340 |
msgstr "Colore del testo per il banner"
|
341 |
|
342 |
+
#: admin/class-italy-cookie-choices-admin.php:833
|
343 |
msgid "Your custom css"
|
344 |
msgstr "Il tuo css personalizzato"
|
345 |
|
346 |
+
#: admin/class-italy-cookie-choices-admin.php:836
|
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:861
|
351 |
msgid "Eg: bannerStyle"
|
352 |
msgstr "Es: bannerStyle"
|
353 |
|
354 |
+
#: admin/class-italy-cookie-choices-admin.php:863
|
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:866
|
360 |
msgid "Eg: contentStyle"
|
361 |
msgstr "Es: contentStyle"
|
362 |
|
363 |
+
#: admin/class-italy-cookie-choices-admin.php:868
|
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:871
|
369 |
msgid "Eg: consentText"
|
370 |
msgstr "Es: consentText"
|
371 |
|
372 |
+
#: admin/class-italy-cookie-choices-admin.php:873
|
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:876
|
377 |
msgid "Eg: infoClass"
|
378 |
msgstr "Es: infoClass"
|
379 |
|
380 |
+
#: admin/class-italy-cookie-choices-admin.php:878
|
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:881
|
385 |
msgid "Eg: closeClass"
|
386 |
msgstr "Es: closeClass"
|
387 |
|
388 |
+
#: admin/class-italy-cookie-choices-admin.php:883
|
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:886
|
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:902
|
397 |
msgid "Customize your advanced settings"
|
398 |
msgstr "Personalizza le impostazioni avanzate"
|
399 |
|
400 |
+
#: admin/class-italy-cookie-choices-admin.php:918
|
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:937
|
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:957
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:981
|
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:986
|
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:991
|
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:1032
|
426 |
+
#: admin/class-italy-cookie-choices-admin.php:1058
|
427 |
msgid ""
|
428 |
"<script src="http://domain.com/widget-example.js"></"
|
429 |
"script>\n"
|
443 |
"<script src="http://lastdomain.com/gadget-example.js"></"
|
444 |
"script>"
|
445 |
|
446 |
+
#: admin/class-italy-cookie-choices-admin.php:1036
|
447 |
+
msgid "View example"
|
448 |
+
msgstr ""
|
449 |
+
|
450 |
+
#: admin/class-italy-cookie-choices-admin.php:1039
|
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 |
"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:1042
|
461 |
+
#: admin/class-italy-cookie-choices-admin.php:1067
|
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:1064
|
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 |
"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:1083
|
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:1221
|
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:1228
|
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:139 italy-cookie-choices.php:149
|
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:240
|
505 |
#, php-format
|
506 |
msgid ""
|
507 |
"Your server is running %s version %s but this plugin requires at least %s"
|
509 |
"Il tuo server sta eseguendo %s con la versione %s ma qesto plugin richiede "
|
510 |
"almeno la versione %s"
|
511 |
|
512 |
+
#~ msgid "e.g. privacy-e-cookie.html"
|
513 |
+
#~ msgstr "es. privacy-e-cookie"
|
514 |
+
|
515 |
+
#~ msgid "e.g. your-policy-url.html"
|
516 |
+
#~ msgstr "es: la-tua-pagina-per-la-cookie-policy"
|
517 |
+
|
518 |
#~ msgid ""
|
519 |
#~ "Insert your cookie policy page slug (e.g. your-policy-url), it will "
|
520 |
#~ "display only topbar in your cookie policy page and the scroll and the "
|
lang/italy-cookie-choices-ro_RO.mo
CHANGED
Binary file
|
lang/italy-cookie-choices-ro_RO.po
CHANGED
@@ -1,8 +1,8 @@
|
|
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: Florin Lungu <me@florinlungu.it>\n"
|
7 |
"Language-Team: info@overclokk.net\n"
|
8 |
"Language: ro_RO\n"
|
@@ -18,338 +18,423 @@ msgstr ""
|
|
18 |
"X-Poedit-SearchPathExcluded-1: .git\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
msgid "Italy Cookie Choices Dashboard"
|
23 |
msgstr "Panoul de control Italy Cookie Choices"
|
24 |
|
25 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
26 |
msgid "You do not have sufficient permissions to access this page."
|
27 |
msgstr "Nu ai destule autorizații pentru a vedea această pagină."
|
28 |
|
29 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
30 |
msgid "Italy Cookie Choices options page"
|
31 |
msgstr "Pagina cu opțiuni pentru Italy Cookie Choices"
|
32 |
|
33 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
34 |
msgid "Activate"
|
35 |
msgstr "Activează"
|
36 |
|
37 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
38 |
msgid "Where display the banner"
|
39 |
msgstr "Unde sa vizualizezi banner-ul"
|
40 |
|
41 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
42 |
msgid "Mouse scroll event"
|
43 |
msgstr "Acțiune scroll de mouse"
|
44 |
|
45 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
46 |
msgid "Accept on second view"
|
47 |
msgstr "Acceptați intr-o noua fereastră"
|
48 |
|
49 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
50 |
msgid "Refresh page"
|
51 |
msgstr "Actualizează pagina"
|
52 |
|
53 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
54 |
msgid "Text to display"
|
55 |
msgstr "Textul pentru afișare"
|
56 |
|
57 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
58 |
msgid "URL for cookie policy"
|
59 |
msgstr "URL pentru politica cookie"
|
60 |
|
61 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
62 |
msgid "Anchor text for URL"
|
63 |
msgstr "Ancora text pentru URL"
|
64 |
|
65 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
66 |
msgid "Button text"
|
67 |
msgstr "Text-ul pentru buton"
|
68 |
|
69 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
70 |
msgid "Style settings"
|
71 |
msgstr "Setări de stil"
|
72 |
|
73 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
74 |
msgid "CookieChoices Template"
|
75 |
msgstr "Template CookieChoices"
|
76 |
|
77 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
78 |
msgid "HTML top margin"
|
79 |
msgstr "Marginea înaltă pentru HTML"
|
80 |
|
81 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
82 |
msgid "Banner Background color"
|
83 |
msgstr "Culoare de background pentru banner "
|
84 |
|
85 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
86 |
msgid "Banner text color"
|
87 |
msgstr "Culoarea text-ului din banner"
|
88 |
|
89 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
90 |
msgid "Custom CSS"
|
91 |
msgstr "CSS personal"
|
92 |
|
93 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
94 |
msgid "Custom CSS Class (Optional)"
|
95 |
msgstr "Clasă CSS personalizată (Opțional)"
|
96 |
|
97 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
98 |
msgid "Advanced settings"
|
99 |
msgstr "Setări avansate"
|
100 |
|
101 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
102 |
msgid "Cookie name"
|
103 |
msgstr "Nume Cookie"
|
104 |
|
105 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
106 |
msgid "Cookie value"
|
107 |
msgstr "Valoare Cookie"
|
108 |
|
109 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
110 |
-
msgid "Cookie policy page slug"
|
111 |
-
msgstr "Slug pentru pagina de Politica Cookie"
|
112 |
-
|
113 |
-
#: admin/class-italy-cookie-choices-admin.php:378
|
114 |
msgid "Open policy in new page"
|
115 |
msgstr "Deschide politica de cookie in o pagina nouă"
|
116 |
|
117 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
118 |
msgid "Third part cookie block (beta)"
|
119 |
msgstr "Blochează cookie-urile externe"
|
120 |
|
121 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
122 |
msgid "Scripts allowed in body"
|
123 |
msgstr "Script permis in body"
|
124 |
|
125 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
126 |
msgid "Scripts to be blocked"
|
127 |
msgstr "Script care urmează sa fie blocat"
|
128 |
|
129 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
130 |
msgid "Text message for locked embedded content"
|
131 |
msgstr "Mesaj pentru conținuturile încorporate blocate"
|
132 |
|
133 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
134 |
msgid "Button text to activate locked embedded content"
|
135 |
msgstr "Textul butonului pentru a activa conținutul încorporat blocat"
|
136 |
|
137 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
138 |
msgid "Customize your banner for cookie law"
|
139 |
msgstr "Personalizează banner-ul pentru Cookie Law"
|
140 |
|
141 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
142 |
msgid "Display banner for Cookie Law in front-end"
|
143 |
msgstr "Visualizează banner-ul in front-end"
|
144 |
|
145 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
146 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
147 |
msgstr ""
|
148 |
"Bara înaltă (Predefinită, Vizualizează o bara în partea înaltă cu mesajul "
|
149 |
"tău)"
|
150 |
|
151 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
152 |
msgid "Dialog (Display an overlay with your message)"
|
153 |
msgstr "Dialog (Visualizează un pop-up cu text-ul tău)"
|
154 |
|
155 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
156 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
157 |
msgstr ""
|
158 |
"Bara în partea de jos a ecranului (Vizualizează o bară in partea de jos a "
|
159 |
"ecranului cu mesajul tău)"
|
160 |
|
161 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
162 |
msgid "Accepts disclosures on mouse scroll event"
|
163 |
msgstr "Acceptă informativa cu scroll de mouse"
|
164 |
|
165 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
166 |
msgid "Activate accept on second view"
|
167 |
msgstr "Activează accept într-o fereastră nouă"
|
168 |
|
169 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
170 |
msgid "Refresh page after button click (DEPRECATED)"
|
171 |
msgstr "Reîncarcă pagina dupa click pe buton (Deprecat)"
|
172 |
|
173 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
174 |
msgid "Your short cookie policy"
|
175 |
msgstr "Informativa ta scurtă despre cookie"
|
176 |
|
177 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
178 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
179 |
msgid ""
|
180 |
"People will see this notice only the first time that they enter your site"
|
181 |
msgstr "Persoanele v-or vedea mesajul doar prima dată când vizită site-ul tău"
|
182 |
|
183 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
184 |
msgid "e.g. http://www.aboutcookies.org/"
|
185 |
msgstr "De exemplu: http://www.aboutcookies.org/"
|
186 |
|
187 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
188 |
msgid "Insert here the link to your policy page"
|
189 |
msgstr "Introduce link-ul la pagina ta cu informativa extinsă"
|
190 |
|
191 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
msgid "e.g. More Info"
|
193 |
msgstr "De exemplu: Mai multe informații"
|
194 |
|
195 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
196 |
msgid "Insert here anchor text for the link"
|
197 |
msgstr "Introdu aici ancora text pentru link"
|
198 |
|
199 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
200 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
201 |
msgid "e.g. Close"
|
202 |
msgstr "De exemplu: Închide"
|
203 |
|
204 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
205 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
206 |
msgid "Insert here name of button (e.g. \"Close\") "
|
207 |
msgstr ""
|
208 |
"Introduce textul link-ului pentru închiderea pop-upului/banner-ului (ex: "
|
209 |
"Închide)"
|
210 |
|
211 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
212 |
msgid "Customize your style settings"
|
213 |
msgstr "Personalizează setările de stil"
|
214 |
|
215 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
216 |
msgid "Add a page top margin for info top bar, only for default topbar stile"
|
217 |
msgstr ""
|
218 |
"Adaugă o margine în partea înaltă a paginii pentru bara cu informații din "
|
219 |
"partea înaltă a ecranului, doar pentru stilul predefinit a barei din partea "
|
220 |
"înaltă a ecranului"
|
221 |
|
222 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
223 |
msgid "Default cookiechoices template (centered with text links)"
|
224 |
msgstr "Template predefinit pentru cookiechoices (centrat cu link-uri text)"
|
225 |
|
226 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
227 |
msgid "Centered container with left aligned text and big buttons"
|
228 |
msgstr "Contenitor centrat, cu text-ul alineat la stânga și butoane mari"
|
229 |
|
230 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
231 |
msgid "Centered container with left aligned text and small buttons"
|
232 |
msgstr ""
|
233 |
"Contenitor alineat la stânga, cu text-ul alineat la stânga si butoane mici"
|
234 |
|
235 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
236 |
msgid "My custom CSS"
|
237 |
msgstr "Personalizări CSS personale"
|
238 |
|
239 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
240 |
msgid "Select the template to use"
|
241 |
msgstr "Alege un template care să-l folosești"
|
242 |
|
243 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
244 |
msgid "Custom Background color for banner"
|
245 |
msgstr "Culoare personalizată pentru background-ul bannerului"
|
246 |
|
247 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
248 |
msgid "Custom text color for banner"
|
249 |
msgstr "Culoare personalizată pentru culoarea textului în banner"
|
250 |
|
251 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
252 |
msgid "Your custom css"
|
253 |
msgstr "Personalizările tale CSS"
|
254 |
|
255 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
256 |
msgid "Inset here your custom CSS for banner"
|
257 |
msgstr "Introduce-ți aici stilul CSS pentru banner"
|
258 |
|
259 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
260 |
msgid "Eg: bannerStyle"
|
261 |
msgstr "Exemplu: bannerStyle"
|
262 |
|
263 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
264 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
265 |
msgstr ""
|
266 |
"Classă CSS pentru contenitorul div (Predefinit <code>bannerStyle</code>)"
|
267 |
|
268 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
269 |
msgid "Eg: contentStyle"
|
270 |
msgstr "Exemplu: contentStyle"
|
271 |
|
272 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
273 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
274 |
msgstr ""
|
275 |
"Clasă CSS pentru contenitorul div (Predefinit <code>contentStyle</code>)"
|
276 |
|
277 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
278 |
msgid "Eg: consentText"
|
279 |
msgstr "Exemplu: consentText"
|
280 |
|
281 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
282 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
283 |
msgstr ""
|
284 |
"Clasă CSS pentru contenitorul span (Predefinit <code>consentText</code>)"
|
285 |
|
286 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
287 |
msgid "Eg: infoClass"
|
288 |
msgstr "Exemplu: infoClass"
|
289 |
|
290 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
291 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
292 |
msgstr "Clasă CSS pentru link-ul Info (Predefinit <code>itaybtn</code>)"
|
293 |
|
294 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
295 |
msgid "Eg: closeClass"
|
296 |
msgstr "Exemplu: closeClass"
|
297 |
|
298 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
299 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
300 |
msgstr ""
|
301 |
"Clasă CSS pentru link-ul de închidere (Predefinit <code>itaybtn</code>)"
|
302 |
|
303 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
304 |
msgid "Customize with your personal CSS class"
|
305 |
msgstr "Personalizează cu clasa ta CSS personală"
|
306 |
|
307 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
308 |
msgid "Customize your advanced settings"
|
309 |
msgstr "Personalizează setările avansate"
|
310 |
|
311 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
312 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
313 |
msgstr "Introduceți numele Cookie-ului tău (Default: displayCookieConsent)"
|
314 |
|
315 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
316 |
msgid "Insert your cookie value (Default: y)"
|
317 |
msgstr "Introduceți valoarea Cookie-ului (Default: y)"
|
318 |
|
319 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
320 |
-
msgid "e.g. your-policy-url.html"
|
321 |
-
msgstr "ex: link-politica-ta.html"
|
322 |
-
|
323 |
-
#: admin/class-italy-cookie-choices-admin.php:878
|
324 |
-
msgid ""
|
325 |
-
"Insert your cookie policy page slug (e.g. your-policy-url), it will display "
|
326 |
-
"only topbar in your cookie policy page"
|
327 |
-
msgstr ""
|
328 |
-
"Introduce slug-ul paginii tale pentru politica cookie-urilor (ex: link-"
|
329 |
-
"politica-ta), acesta va vizualiza doar bara din sus în pagina despre "
|
330 |
-
"politica cookie-urilor"
|
331 |
-
|
332 |
-
#: admin/class-italy-cookie-choices-admin.php:898
|
333 |
msgid "Open your cookie policy page in new one"
|
334 |
msgstr "Deschide pagina cookie-urilor în una noua"
|
335 |
|
336 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
337 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
338 |
msgstr ""
|
339 |
"Cookie din orice conținut incorporat in conținutul paginii (Beta) (Deprecat)"
|
340 |
|
341 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
342 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
343 |
msgstr "Cookie din orice conținut încorporat din area widget-ului (Deprecat)"
|
344 |
|
345 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
346 |
msgid "Cookie from any embed in all body, except head and footer (Beta)"
|
347 |
msgstr ""
|
348 |
"Cookie din orice conținut încorporat în orice conținut a paginii, mai puțin "
|
349 |
"partea înaltă si cea de jos a paginii"
|
350 |
|
351 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
352 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
353 |
msgid ""
|
354 |
"<script src="http://domain.com/widget-example.js"></"
|
355 |
"script>\n"
|
@@ -369,46 +454,63 @@ msgstr ""
|
|
369 |
"<script src="http://lastdomain.com/gadget-example.js"></"
|
370 |
"script>"
|
371 |
|
372 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
|
|
373 |
msgid ""
|
374 |
"Scripts to be excluded from the automatic block.<br />Split each script with "
|
375 |
-
"<strong><em><---------SEP---------></em></strong>"
|
|
|
376 |
msgstr ""
|
377 |
"Script care va fi exclus din blocarea automatică.<br />Împarte fiecare "
|
378 |
"script cu <strong><em><---------SEP---------></em></strong>"
|
379 |
|
380 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
msgid ""
|
382 |
"Scripts shown in the head and in the footer does not automatically blocked."
|
383 |
"<br />Split each script with <strong><em><---------SEP---------></em></"
|
384 |
-
"strong>"
|
|
|
385 |
msgstr ""
|
386 |
"Scripturile vizualizate in partea înalta si cea de jos a paginii nu sunt "
|
387 |
"blocate automat.<br />Împarte fiecare script cu <strong><em><---------"
|
388 |
"SEP---------></em></strong>"
|
389 |
|
390 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
391 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
392 |
msgstr ""
|
393 |
"Mesajul tău de blocare pentru conținuturile încorporate în postări, pagini "
|
394 |
"și widget-uri"
|
395 |
|
396 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
397 |
#: admin/class-italy-cookie-choices-sanitize.php:77
|
398 |
msgid "Cookie name field it can't be empty. Restored default name."
|
399 |
msgstr "Numele Cookie-ului nu poate fi lăsat gol. Resetat numele de default."
|
400 |
|
401 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
402 |
#: admin/class-italy-cookie-choices-sanitize.php:84
|
403 |
msgid "Cookie value field it can't be empty. Restored default value."
|
404 |
msgstr ""
|
405 |
"Valoarea Cookie-ului nu poate fi lăsat gol. Resetată valoarea de default"
|
406 |
|
407 |
-
#:
|
|
|
|
|
|
|
|
|
408 |
msgid "Activation of Italy Cookie Choices in not possible"
|
409 |
msgstr "Activarea a Italy Cookie Choices nu este posibilă"
|
410 |
|
411 |
-
#: italy-cookie-choices.php:
|
412 |
#, php-format
|
413 |
msgid ""
|
414 |
"Your server is running %s version %s but this plugin requires at least %s"
|
@@ -416,6 +518,17 @@ msgstr ""
|
|
416 |
"Server-ul tău folosește versiunea %s a %s dar acest plugin are nevoie de "
|
417 |
"măcar versiunea %s"
|
418 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
#~ msgid "Top Bar (Default, Display a top bar wth your message)"
|
420 |
#~ msgstr ""
|
421 |
#~ "Top Bar (Default, va fi vizualizată o bară în partea înaltă a paginii)"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: italy-cookie-choices\n"
|
4 |
+
"POT-Creation-Date: 2015-07-09 19:08+0200\n"
|
5 |
+
"PO-Revision-Date: 2015-07-11 00:08+0100\n"
|
6 |
"Last-Translator: Florin Lungu <me@florinlungu.it>\n"
|
7 |
"Language-Team: info@overclokk.net\n"
|
8 |
"Language: ro_RO\n"
|
18 |
"X-Poedit-SearchPathExcluded-1: .git\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:66
|
22 |
+
msgid "Radio 1"
|
23 |
+
msgstr "Radio 1"
|
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 "Acest plugin este activat și gata pentru a fi folosit."
|
28 |
+
|
29 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:70
|
30 |
+
msgid "Open Popup"
|
31 |
+
msgstr "Deschide popup"
|
32 |
+
|
33 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:79
|
34 |
+
#, fuzzy
|
35 |
+
msgid "Italy_Cookie_Choices_Pointer for Posts"
|
36 |
+
msgstr "Pagina cu opțiuni pentru Italy Cookie Choices"
|
37 |
+
|
38 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:80
|
39 |
+
msgid "One more pointer."
|
40 |
+
msgstr "Un alt punctator."
|
41 |
+
|
42 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:87
|
43 |
+
#, fuzzy
|
44 |
+
msgid "Italy_Cookie_Choices_Pointer Pages"
|
45 |
+
msgstr "Pagina cu opțiuni pentru Italy Cookie Choices"
|
46 |
+
|
47 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:88
|
48 |
+
msgid "A pointer for pages."
|
49 |
+
msgstr "Un punctator pentru pagini."
|
50 |
+
|
51 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:94
|
52 |
+
#, fuzzy
|
53 |
+
msgid "Italy_Cookie_Choices_Pointer Users"
|
54 |
+
msgstr "Pagina cu opțiuni pentru Italy Cookie Choices"
|
55 |
+
|
56 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:95
|
57 |
+
msgid "A pointer for users."
|
58 |
+
msgstr "Un punctator pentru utilizatori."
|
59 |
+
|
60 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:101
|
61 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:115
|
62 |
+
#, fuzzy
|
63 |
+
msgid "Italy_Cookie_Choices_Pointer Help"
|
64 |
+
msgstr "Pagina cu opțiuni pentru Italy Cookie Choices"
|
65 |
+
|
66 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:102
|
67 |
+
msgid "A pointer with action."
|
68 |
+
msgstr "Un punctator cu actiune."
|
69 |
+
|
70 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:106
|
71 |
+
msgid "Next"
|
72 |
+
msgstr "Următor"
|
73 |
+
|
74 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:116
|
75 |
+
msgid ""
|
76 |
+
"A pointer for help tab.<br>Go to Posts, Pages or Users for other pointers."
|
77 |
+
msgstr ""
|
78 |
+
"Un punctator pentru tab-ul de ajutor.<br>Intră în Postări, Pagini sau "
|
79 |
+
"Utilizatori pentru alți punctatori."
|
80 |
+
|
81 |
+
#: admin/class-italy-cookie-choices-admin-pointer.php:72
|
82 |
+
msgid "Italy_Cookie_Choices_Pointer Error: post_type is not an array!"
|
83 |
+
msgstr "Eroare Italy_Cookie_Choices_Pointer: post_type nu este un array!"
|
84 |
+
|
85 |
+
#: admin/class-italy-cookie-choices-admin-pointer.php:95
|
86 |
+
msgid "Italy_Cookie_Choices_Pointer Error: pages is not an array!"
|
87 |
+
msgstr "Eroare Italy_Cookie_Choices_Pointer: pages nu este un array!"
|
88 |
+
|
89 |
+
#: admin/class-italy-cookie-choices-admin.php:87
|
90 |
msgid "Italy Cookie Choices Dashboard"
|
91 |
msgstr "Panoul de control Italy Cookie Choices"
|
92 |
|
93 |
+
#: admin/class-italy-cookie-choices-admin.php:101
|
94 |
msgid "You do not have sufficient permissions to access this page."
|
95 |
msgstr "Nu ai destule autorizații pentru a vedea această pagină."
|
96 |
|
97 |
+
#: admin/class-italy-cookie-choices-admin.php:160
|
98 |
msgid "Italy Cookie Choices options page"
|
99 |
msgstr "Pagina cu opțiuni pentru Italy Cookie Choices"
|
100 |
|
101 |
+
#: admin/class-italy-cookie-choices-admin.php:170
|
102 |
msgid "Activate"
|
103 |
msgstr "Activează"
|
104 |
|
105 |
+
#: admin/class-italy-cookie-choices-admin.php:182
|
106 |
msgid "Where display the banner"
|
107 |
msgstr "Unde sa vizualizezi banner-ul"
|
108 |
|
109 |
+
#: admin/class-italy-cookie-choices-admin.php:193
|
110 |
msgid "Mouse scroll event"
|
111 |
msgstr "Acțiune scroll de mouse"
|
112 |
|
113 |
+
#: admin/class-italy-cookie-choices-admin.php:204
|
114 |
msgid "Accept on second view"
|
115 |
msgstr "Acceptați intr-o noua fereastră"
|
116 |
|
117 |
+
#: admin/class-italy-cookie-choices-admin.php:215
|
118 |
msgid "Refresh page"
|
119 |
msgstr "Actualizează pagina"
|
120 |
|
121 |
+
#: admin/class-italy-cookie-choices-admin.php:226
|
122 |
msgid "Text to display"
|
123 |
msgstr "Textul pentru afișare"
|
124 |
|
125 |
+
#: admin/class-italy-cookie-choices-admin.php:237
|
126 |
msgid "URL for cookie policy"
|
127 |
msgstr "URL pentru politica cookie"
|
128 |
|
129 |
+
#: admin/class-italy-cookie-choices-admin.php:248
|
130 |
+
msgid "Cookie policy page slug"
|
131 |
+
msgstr "Slug pentru pagina de Politica Cookie"
|
132 |
+
|
133 |
+
#: admin/class-italy-cookie-choices-admin.php:259
|
134 |
msgid "Anchor text for URL"
|
135 |
msgstr "Ancora text pentru URL"
|
136 |
|
137 |
+
#: admin/class-italy-cookie-choices-admin.php:270
|
138 |
msgid "Button text"
|
139 |
msgstr "Text-ul pentru buton"
|
140 |
|
141 |
+
#: admin/class-italy-cookie-choices-admin.php:281
|
142 |
msgid "Style settings"
|
143 |
msgstr "Setări de stil"
|
144 |
|
145 |
+
#: admin/class-italy-cookie-choices-admin.php:291
|
146 |
msgid "CookieChoices Template"
|
147 |
msgstr "Template CookieChoices"
|
148 |
|
149 |
+
#: admin/class-italy-cookie-choices-admin.php:302
|
150 |
msgid "HTML top margin"
|
151 |
msgstr "Marginea înaltă pentru HTML"
|
152 |
|
153 |
+
#: admin/class-italy-cookie-choices-admin.php:313
|
154 |
msgid "Banner Background color"
|
155 |
msgstr "Culoare de background pentru banner "
|
156 |
|
157 |
+
#: admin/class-italy-cookie-choices-admin.php:324
|
158 |
msgid "Banner text color"
|
159 |
msgstr "Culoarea text-ului din banner"
|
160 |
|
161 |
+
#: admin/class-italy-cookie-choices-admin.php:335
|
162 |
msgid "Custom CSS"
|
163 |
msgstr "CSS personal"
|
164 |
|
165 |
+
#: admin/class-italy-cookie-choices-admin.php:346
|
166 |
msgid "Custom CSS Class (Optional)"
|
167 |
msgstr "Clasă CSS personalizată (Opțional)"
|
168 |
|
169 |
+
#: admin/class-italy-cookie-choices-admin.php:357
|
170 |
msgid "Advanced settings"
|
171 |
msgstr "Setări avansate"
|
172 |
|
173 |
+
#: admin/class-italy-cookie-choices-admin.php:367
|
174 |
msgid "Cookie name"
|
175 |
msgstr "Nume Cookie"
|
176 |
|
177 |
+
#: admin/class-italy-cookie-choices-admin.php:378
|
178 |
msgid "Cookie value"
|
179 |
msgstr "Valoare Cookie"
|
180 |
|
181 |
+
#: admin/class-italy-cookie-choices-admin.php:389
|
|
|
|
|
|
|
|
|
182 |
msgid "Open policy in new page"
|
183 |
msgstr "Deschide politica de cookie in o pagina nouă"
|
184 |
|
185 |
+
#: admin/class-italy-cookie-choices-admin.php:400
|
186 |
msgid "Third part cookie block (beta)"
|
187 |
msgstr "Blochează cookie-urile externe"
|
188 |
|
189 |
+
#: admin/class-italy-cookie-choices-admin.php:411
|
190 |
msgid "Scripts allowed in body"
|
191 |
msgstr "Script permis in body"
|
192 |
|
193 |
+
#: admin/class-italy-cookie-choices-admin.php:422
|
194 |
msgid "Scripts to be blocked"
|
195 |
msgstr "Script care urmează sa fie blocat"
|
196 |
|
197 |
+
#: admin/class-italy-cookie-choices-admin.php:433
|
198 |
msgid "Text message for locked embedded content"
|
199 |
msgstr "Mesaj pentru conținuturile încorporate blocate"
|
200 |
|
201 |
+
#: admin/class-italy-cookie-choices-admin.php:444
|
202 |
msgid "Button text to activate locked embedded content"
|
203 |
msgstr "Textul butonului pentru a activa conținutul încorporat blocat"
|
204 |
|
205 |
+
#: admin/class-italy-cookie-choices-admin.php:469
|
206 |
msgid "Customize your banner for cookie law"
|
207 |
msgstr "Personalizează banner-ul pentru Cookie Law"
|
208 |
|
209 |
+
#: admin/class-italy-cookie-choices-admin.php:484
|
210 |
msgid "Display banner for Cookie Law in front-end"
|
211 |
msgstr "Visualizează banner-ul in front-end"
|
212 |
|
213 |
+
#: admin/class-italy-cookie-choices-admin.php:504
|
214 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
215 |
msgstr ""
|
216 |
"Bara înaltă (Predefinită, Vizualizează o bara în partea înaltă cu mesajul "
|
217 |
"tău)"
|
218 |
|
219 |
+
#: admin/class-italy-cookie-choices-admin.php:512
|
220 |
msgid "Dialog (Display an overlay with your message)"
|
221 |
msgstr "Dialog (Visualizează un pop-up cu text-ul tău)"
|
222 |
|
223 |
+
#: admin/class-italy-cookie-choices-admin.php:520
|
224 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
225 |
msgstr ""
|
226 |
"Bara în partea de jos a ecranului (Vizualizează o bară in partea de jos a "
|
227 |
"ecranului cu mesajul tău)"
|
228 |
|
229 |
+
#: admin/class-italy-cookie-choices-admin.php:540
|
230 |
msgid "Accepts disclosures on mouse scroll event"
|
231 |
msgstr "Acceptă informativa cu scroll de mouse"
|
232 |
|
233 |
+
#: admin/class-italy-cookie-choices-admin.php:560
|
234 |
msgid "Activate accept on second view"
|
235 |
msgstr "Activează accept într-o fereastră nouă"
|
236 |
|
237 |
+
#: admin/class-italy-cookie-choices-admin.php:578
|
238 |
msgid "Refresh page after button click (DEPRECATED)"
|
239 |
msgstr "Reîncarcă pagina dupa click pe buton (Deprecat)"
|
240 |
|
241 |
+
#: admin/class-italy-cookie-choices-admin.php:611
|
242 |
msgid "Your short cookie policy"
|
243 |
msgstr "Informativa ta scurtă despre cookie"
|
244 |
|
245 |
+
#: admin/class-italy-cookie-choices-admin.php:618
|
246 |
+
#: admin/class-italy-cookie-choices-admin.php:1086
|
247 |
msgid ""
|
248 |
"People will see this notice only the first time that they enter your site"
|
249 |
msgstr "Persoanele v-or vedea mesajul doar prima dată când vizită site-ul tău"
|
250 |
|
251 |
+
#: admin/class-italy-cookie-choices-admin.php:643
|
252 |
msgid "e.g. http://www.aboutcookies.org/"
|
253 |
msgstr "De exemplu: http://www.aboutcookies.org/"
|
254 |
|
255 |
+
#: admin/class-italy-cookie-choices-admin.php:646
|
256 |
msgid "Insert here the link to your policy page"
|
257 |
msgstr "Introduce link-ul la pagina ta cu informativa extinsă"
|
258 |
|
259 |
+
#: admin/class-italy-cookie-choices-admin.php:646
|
260 |
+
msgid "otherwise create a new one and then add URL to this input"
|
261 |
+
msgstr "altfel realizează unul nou și atunci adăugă URL-ul în acest input"
|
262 |
+
|
263 |
+
#: admin/class-italy-cookie-choices-admin.php:648
|
264 |
+
#: admin/class-italy-cookie-choices-admin.php:680
|
265 |
+
msgid ""
|
266 |
+
"Start typing first two letters of the name of the policy page and then "
|
267 |
+
"select it from the menu below the input"
|
268 |
+
msgstr ""
|
269 |
+
"Începe să scrii două litere din numele paginii de policy și selectează-l din "
|
270 |
+
"meniul de după input"
|
271 |
+
|
272 |
+
#: admin/class-italy-cookie-choices-admin.php:675
|
273 |
+
msgid "e.g. privacy-e-cookie"
|
274 |
+
msgstr "de exemplu: privacy-e-cookie"
|
275 |
+
|
276 |
+
#: admin/class-italy-cookie-choices-admin.php:678
|
277 |
+
msgid ""
|
278 |
+
"Insert your cookie policy page slug (e.g. for the page http://www.miodominio."
|
279 |
+
"it/privacy-e-cookie/ the slug is <strong>privacy-e-cookie</strong>).<br>In "
|
280 |
+
"this way it will display only the topbar in your cookie policy page, the "
|
281 |
+
"scroll and the second view will be deactivated in that page too."
|
282 |
+
msgstr ""
|
283 |
+
"Introduceți slug-ul paginii de policy (de exemplu: pentru pagina http://www."
|
284 |
+
"dominiulmeu.ro/cookie-privacy/, slug-ul este <strong>cookie-privacy</"
|
285 |
+
"strong>).<br>În acest mod va fi vizualizat doar în bara din partea înalta a "
|
286 |
+
"ecranului din pagina cu politica despre cookie, scrollarea și a doua "
|
287 |
+
"fereastră va fi dezactivată în acea pagină de asemenea."
|
288 |
+
|
289 |
+
#: admin/class-italy-cookie-choices-admin.php:694
|
290 |
msgid "e.g. More Info"
|
291 |
msgstr "De exemplu: Mai multe informații"
|
292 |
|
293 |
+
#: admin/class-italy-cookie-choices-admin.php:697
|
294 |
msgid "Insert here anchor text for the link"
|
295 |
msgstr "Introdu aici ancora text pentru link"
|
296 |
|
297 |
+
#: admin/class-italy-cookie-choices-admin.php:711
|
298 |
+
#: admin/class-italy-cookie-choices-admin.php:1102
|
299 |
msgid "e.g. Close"
|
300 |
msgstr "De exemplu: Închide"
|
301 |
|
302 |
+
#: admin/class-italy-cookie-choices-admin.php:714
|
303 |
+
#: admin/class-italy-cookie-choices-admin.php:1105
|
304 |
msgid "Insert here name of button (e.g. \"Close\") "
|
305 |
msgstr ""
|
306 |
"Introduce textul link-ului pentru închiderea pop-upului/banner-ului (ex: "
|
307 |
"Închide)"
|
308 |
|
309 |
+
#: admin/class-italy-cookie-choices-admin.php:731
|
310 |
msgid "Customize your style settings"
|
311 |
msgstr "Personalizează setările de stil"
|
312 |
|
313 |
+
#: admin/class-italy-cookie-choices-admin.php:747
|
314 |
msgid "Add a page top margin for info top bar, only for default topbar stile"
|
315 |
msgstr ""
|
316 |
"Adaugă o margine în partea înaltă a paginii pentru bara cu informații din "
|
317 |
"partea înaltă a ecranului, doar pentru stilul predefinit a barei din partea "
|
318 |
"înaltă a ecranului"
|
319 |
|
320 |
+
#: admin/class-italy-cookie-choices-admin.php:765
|
321 |
msgid "Default cookiechoices template (centered with text links)"
|
322 |
msgstr "Template predefinit pentru cookiechoices (centrat cu link-uri text)"
|
323 |
|
324 |
+
#: admin/class-italy-cookie-choices-admin.php:767
|
325 |
msgid "Centered container with left aligned text and big buttons"
|
326 |
msgstr "Contenitor centrat, cu text-ul alineat la stânga și butoane mari"
|
327 |
|
328 |
+
#: admin/class-italy-cookie-choices-admin.php:769
|
329 |
msgid "Centered container with left aligned text and small buttons"
|
330 |
msgstr ""
|
331 |
"Contenitor alineat la stânga, cu text-ul alineat la stânga si butoane mici"
|
332 |
|
333 |
+
#: admin/class-italy-cookie-choices-admin.php:771
|
334 |
msgid "My custom CSS"
|
335 |
msgstr "Personalizări CSS personale"
|
336 |
|
337 |
+
#: admin/class-italy-cookie-choices-admin.php:775
|
338 |
msgid "Select the template to use"
|
339 |
msgstr "Alege un template care să-l folosești"
|
340 |
|
341 |
+
#: admin/class-italy-cookie-choices-admin.php:796
|
342 |
msgid "Custom Background color for banner"
|
343 |
msgstr "Culoare personalizată pentru background-ul bannerului"
|
344 |
|
345 |
+
#: admin/class-italy-cookie-choices-admin.php:816
|
346 |
msgid "Custom text color for banner"
|
347 |
msgstr "Culoare personalizată pentru culoarea textului în banner"
|
348 |
|
349 |
+
#: admin/class-italy-cookie-choices-admin.php:833
|
350 |
msgid "Your custom css"
|
351 |
msgstr "Personalizările tale CSS"
|
352 |
|
353 |
+
#: admin/class-italy-cookie-choices-admin.php:836
|
354 |
msgid "Inset here your custom CSS for banner"
|
355 |
msgstr "Introduce-ți aici stilul CSS pentru banner"
|
356 |
|
357 |
+
#: admin/class-italy-cookie-choices-admin.php:861
|
358 |
msgid "Eg: bannerStyle"
|
359 |
msgstr "Exemplu: bannerStyle"
|
360 |
|
361 |
+
#: admin/class-italy-cookie-choices-admin.php:863
|
362 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
363 |
msgstr ""
|
364 |
"Classă CSS pentru contenitorul div (Predefinit <code>bannerStyle</code>)"
|
365 |
|
366 |
+
#: admin/class-italy-cookie-choices-admin.php:866
|
367 |
msgid "Eg: contentStyle"
|
368 |
msgstr "Exemplu: contentStyle"
|
369 |
|
370 |
+
#: admin/class-italy-cookie-choices-admin.php:868
|
371 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
372 |
msgstr ""
|
373 |
"Clasă CSS pentru contenitorul div (Predefinit <code>contentStyle</code>)"
|
374 |
|
375 |
+
#: admin/class-italy-cookie-choices-admin.php:871
|
376 |
msgid "Eg: consentText"
|
377 |
msgstr "Exemplu: consentText"
|
378 |
|
379 |
+
#: admin/class-italy-cookie-choices-admin.php:873
|
380 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
381 |
msgstr ""
|
382 |
"Clasă CSS pentru contenitorul span (Predefinit <code>consentText</code>)"
|
383 |
|
384 |
+
#: admin/class-italy-cookie-choices-admin.php:876
|
385 |
msgid "Eg: infoClass"
|
386 |
msgstr "Exemplu: infoClass"
|
387 |
|
388 |
+
#: admin/class-italy-cookie-choices-admin.php:878
|
389 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
390 |
msgstr "Clasă CSS pentru link-ul Info (Predefinit <code>itaybtn</code>)"
|
391 |
|
392 |
+
#: admin/class-italy-cookie-choices-admin.php:881
|
393 |
msgid "Eg: closeClass"
|
394 |
msgstr "Exemplu: closeClass"
|
395 |
|
396 |
+
#: admin/class-italy-cookie-choices-admin.php:883
|
397 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
398 |
msgstr ""
|
399 |
"Clasă CSS pentru link-ul de închidere (Predefinit <code>itaybtn</code>)"
|
400 |
|
401 |
+
#: admin/class-italy-cookie-choices-admin.php:886
|
402 |
msgid "Customize with your personal CSS class"
|
403 |
msgstr "Personalizează cu clasa ta CSS personală"
|
404 |
|
405 |
+
#: admin/class-italy-cookie-choices-admin.php:902
|
406 |
msgid "Customize your advanced settings"
|
407 |
msgstr "Personalizează setările avansate"
|
408 |
|
409 |
+
#: admin/class-italy-cookie-choices-admin.php:918
|
410 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
411 |
msgstr "Introduceți numele Cookie-ului tău (Default: displayCookieConsent)"
|
412 |
|
413 |
+
#: admin/class-italy-cookie-choices-admin.php:937
|
414 |
msgid "Insert your cookie value (Default: y)"
|
415 |
msgstr "Introduceți valoarea Cookie-ului (Default: y)"
|
416 |
|
417 |
+
#: admin/class-italy-cookie-choices-admin.php:957
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
418 |
msgid "Open your cookie policy page in new one"
|
419 |
msgstr "Deschide pagina cookie-urilor în una noua"
|
420 |
|
421 |
+
#: admin/class-italy-cookie-choices-admin.php:981
|
422 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
423 |
msgstr ""
|
424 |
"Cookie din orice conținut incorporat in conținutul paginii (Beta) (Deprecat)"
|
425 |
|
426 |
+
#: admin/class-italy-cookie-choices-admin.php:986
|
427 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
428 |
msgstr "Cookie din orice conținut încorporat din area widget-ului (Deprecat)"
|
429 |
|
430 |
+
#: admin/class-italy-cookie-choices-admin.php:991
|
431 |
msgid "Cookie from any embed in all body, except head and footer (Beta)"
|
432 |
msgstr ""
|
433 |
"Cookie din orice conținut încorporat în orice conținut a paginii, mai puțin "
|
434 |
"partea înaltă si cea de jos a paginii"
|
435 |
|
436 |
+
#: admin/class-italy-cookie-choices-admin.php:1032
|
437 |
+
#: admin/class-italy-cookie-choices-admin.php:1058
|
438 |
msgid ""
|
439 |
"<script src="http://domain.com/widget-example.js"></"
|
440 |
"script>\n"
|
454 |
"<script src="http://lastdomain.com/gadget-example.js"></"
|
455 |
"script>"
|
456 |
|
457 |
+
#: admin/class-italy-cookie-choices-admin.php:1036
|
458 |
+
msgid "View example"
|
459 |
+
msgstr "Vezi exemplu"
|
460 |
+
|
461 |
+
#: admin/class-italy-cookie-choices-admin.php:1039
|
462 |
+
#, fuzzy
|
463 |
msgid ""
|
464 |
"Scripts to be excluded from the automatic block.<br />Split each script with "
|
465 |
+
"<strong><em><---------SEP---------></em></strong><br>Use "
|
466 |
+
"<strong><---------SOMETHING---------></strong> for custom regex"
|
467 |
msgstr ""
|
468 |
"Script care va fi exclus din blocarea automatică.<br />Împarte fiecare "
|
469 |
"script cu <strong><em><---------SEP---------></em></strong>"
|
470 |
|
471 |
+
#: admin/class-italy-cookie-choices-admin.php:1042
|
472 |
+
#: admin/class-italy-cookie-choices-admin.php:1067
|
473 |
+
msgid "For more information see the documentation"
|
474 |
+
msgstr "Pentru mai multe informații, vezi documentația"
|
475 |
+
|
476 |
+
#: admin/class-italy-cookie-choices-admin.php:1064
|
477 |
+
#, fuzzy
|
478 |
msgid ""
|
479 |
"Scripts shown in the head and in the footer does not automatically blocked."
|
480 |
"<br />Split each script with <strong><em><---------SEP---------></em></"
|
481 |
+
"strong><br>Use <strong><---------SOMETHING---------></strong> for custom "
|
482 |
+
"regex"
|
483 |
msgstr ""
|
484 |
"Scripturile vizualizate in partea înalta si cea de jos a paginii nu sunt "
|
485 |
"blocate automat.<br />Împarte fiecare script cu <strong><em><---------"
|
486 |
"SEP---------></em></strong>"
|
487 |
|
488 |
+
#: admin/class-italy-cookie-choices-admin.php:1083
|
489 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
490 |
msgstr ""
|
491 |
"Mesajul tău de blocare pentru conținuturile încorporate în postări, pagini "
|
492 |
"și widget-uri"
|
493 |
|
494 |
+
#: admin/class-italy-cookie-choices-admin.php:1221
|
495 |
#: admin/class-italy-cookie-choices-sanitize.php:77
|
496 |
msgid "Cookie name field it can't be empty. Restored default name."
|
497 |
msgstr "Numele Cookie-ului nu poate fi lăsat gol. Resetat numele de default."
|
498 |
|
499 |
+
#: admin/class-italy-cookie-choices-admin.php:1228
|
500 |
#: admin/class-italy-cookie-choices-sanitize.php:84
|
501 |
msgid "Cookie value field it can't be empty. Restored default value."
|
502 |
msgstr ""
|
503 |
"Valoarea Cookie-ului nu poate fi lăsat gol. Resetată valoarea de default"
|
504 |
|
505 |
+
#: admin/template/code-example.php:7
|
506 |
+
msgid "Script inline example"
|
507 |
+
msgstr "Exemplu de script in/line"
|
508 |
+
|
509 |
+
#: italy-cookie-choices.php:139 italy-cookie-choices.php:149
|
510 |
msgid "Activation of Italy Cookie Choices in not possible"
|
511 |
msgstr "Activarea a Italy Cookie Choices nu este posibilă"
|
512 |
|
513 |
+
#: italy-cookie-choices.php:240
|
514 |
#, php-format
|
515 |
msgid ""
|
516 |
"Your server is running %s version %s but this plugin requires at least %s"
|
518 |
"Server-ul tău folosește versiunea %s a %s dar acest plugin are nevoie de "
|
519 |
"măcar versiunea %s"
|
520 |
|
521 |
+
#~ msgid "e.g. your-policy-url.html"
|
522 |
+
#~ msgstr "ex: link-politica-ta.html"
|
523 |
+
|
524 |
+
#~ msgid ""
|
525 |
+
#~ "Insert your cookie policy page slug (e.g. your-policy-url), it will "
|
526 |
+
#~ "display only topbar in your cookie policy page"
|
527 |
+
#~ msgstr ""
|
528 |
+
#~ "Introduce slug-ul paginii tale pentru politica cookie-urilor (ex: link-"
|
529 |
+
#~ "politica-ta), acesta va vizualiza doar bara din sus în pagina despre "
|
530 |
+
#~ "politica cookie-urilor"
|
531 |
+
|
532 |
#~ msgid "Top Bar (Default, Display a top bar wth your message)"
|
533 |
#~ msgstr ""
|
534 |
#~ "Top Bar (Default, va fi vizualizată o bară în partea înaltă a paginii)"
|
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-07-
|
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"
|
@@ -19,315 +19,385 @@ msgstr ""
|
|
19 |
"X-Poedit-SearchPathExcluded-0: node_modules\n"
|
20 |
"X-Poedit-SearchPathExcluded-1: .git\n"
|
21 |
|
22 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
msgid "Italy Cookie Choices Dashboard"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
27 |
msgid "You do not have sufficient permissions to access this page."
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
31 |
msgid "Italy Cookie Choices options page"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
35 |
msgid "Activate"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
39 |
msgid "Where display the banner"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
43 |
msgid "Mouse scroll event"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
47 |
msgid "Accept on second view"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
51 |
msgid "Refresh page"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
55 |
msgid "Text to display"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
59 |
msgid "URL for cookie policy"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
63 |
msgid "Anchor text for URL"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
67 |
msgid "Button text"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
71 |
msgid "Style settings"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
75 |
msgid "CookieChoices Template"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
79 |
msgid "HTML top margin"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
83 |
msgid "Banner Background color"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
87 |
msgid "Banner text color"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
91 |
msgid "Custom CSS"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
95 |
msgid "Custom CSS Class (Optional)"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
99 |
msgid "Advanced settings"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
103 |
msgid "Cookie name"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
107 |
msgid "Cookie value"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
111 |
-
msgid "Cookie policy page slug"
|
112 |
-
msgstr ""
|
113 |
-
|
114 |
-
#: admin/class-italy-cookie-choices-admin.php:378
|
115 |
msgid "Open policy in new page"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
119 |
msgid "Third part cookie block (beta)"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
123 |
msgid "Scripts allowed in body"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
127 |
msgid "Scripts to be blocked"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
131 |
msgid "Text message for locked embedded content"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
135 |
msgid "Button text to activate locked embedded content"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
139 |
msgid "Customize your banner for cookie law"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
143 |
msgid "Display banner for Cookie Law in front-end"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
147 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
151 |
msgid "Dialog (Display an overlay with your message)"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
155 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
159 |
msgid "Accepts disclosures on mouse scroll event"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
163 |
msgid "Activate accept on second view"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
167 |
msgid "Refresh page after button click (DEPRECATED)"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
171 |
msgid "Your short cookie policy"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
175 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
176 |
msgid "People will see this notice only the first time that they enter your site"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
180 |
msgid "e.g. http://www.aboutcookies.org/"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
184 |
msgid "Insert here the link to your policy page"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
msgid "e.g. More Info"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
192 |
msgid "Insert here anchor text for the link"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
196 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
197 |
msgid "e.g. Close"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
201 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
202 |
msgid "Insert here name of button (e.g. \"Close\") "
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
206 |
msgid "Customize your style settings"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
210 |
msgid "Add a page top margin for info top bar, only for default topbar stile"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
214 |
msgid "Default cookiechoices template (centered with text links)"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
218 |
msgid "Centered container with left aligned text and big buttons"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
222 |
msgid "Centered container with left aligned text and small buttons"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
226 |
msgid "My custom CSS"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
230 |
msgid "Select the template to use"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
234 |
msgid "Custom Background color for banner"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
238 |
msgid "Custom text color for banner"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
242 |
msgid "Your custom css"
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
246 |
msgid "Inset here your custom CSS for banner"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
250 |
msgid "Eg: bannerStyle"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
254 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
258 |
msgid "Eg: contentStyle"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
262 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
266 |
msgid "Eg: consentText"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
270 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
274 |
msgid "Eg: infoClass"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
278 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
282 |
msgid "Eg: closeClass"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
286 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
290 |
msgid "Customize with your personal CSS class"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
294 |
msgid "Customize your advanced settings"
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
298 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
302 |
msgid "Insert your cookie value (Default: y)"
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
306 |
-
msgid "e.g. your-policy-url.html"
|
307 |
-
msgstr ""
|
308 |
-
|
309 |
-
#: admin/class-italy-cookie-choices-admin.php:878
|
310 |
-
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."
|
311 |
-
msgstr ""
|
312 |
-
|
313 |
-
#: admin/class-italy-cookie-choices-admin.php:898
|
314 |
msgid "Open your cookie policy page in new one"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
318 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
322 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
326 |
msgid "Cookie from any embed in all body, except head and footer (Beta)"
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
330 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
331 |
msgid ""
|
332 |
"<script src="http://domain.com/widget-example.js"></script>\n"
|
333 |
"<---------SEP--------->\n"
|
@@ -336,38 +406,46 @@ msgid ""
|
|
336 |
"<script src="http://lastdomain.com/gadget-example.js"></script>"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
|
|
|
|
|
|
|
|
340 |
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"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
344 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
345 |
msgid "For more information see the documentation"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
349 |
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"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
353 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
357 |
#: admin/class-italy-cookie-choices-sanitize.php:77
|
358 |
msgid "Cookie name field it can't be empty. Restored default name."
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: admin/class-italy-cookie-choices-admin.php:
|
362 |
#: admin/class-italy-cookie-choices-sanitize.php:84
|
363 |
msgid "Cookie value field it can't be empty. Restored default value."
|
364 |
msgstr ""
|
365 |
|
366 |
-
#:
|
|
|
|
|
|
|
|
|
367 |
msgid "Activation of Italy Cookie Choices in not possible"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: italy-cookie-choices.php:
|
371 |
#, php-format
|
372 |
msgid "Your server is running %s version %s but this plugin requires at least %s"
|
373 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Italy Cookie Choices\n"
|
5 |
+
"POT-Creation-Date: 2015-07-09 19:08+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"
|
19 |
"X-Poedit-SearchPathExcluded-0: node_modules\n"
|
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:79
|
35 |
+
msgid "Italy_Cookie_Choices_Pointer for Posts"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:80
|
39 |
+
msgid "One more pointer."
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:87
|
43 |
+
msgid "Italy_Cookie_Choices_Pointer Pages"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:88
|
47 |
+
msgid "A pointer for pages."
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:94
|
51 |
+
msgid "Italy_Cookie_Choices_Pointer Users"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:95
|
55 |
+
msgid "A pointer for users."
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:101
|
59 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:115
|
60 |
+
msgid "Italy_Cookie_Choices_Pointer Help"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:102
|
64 |
+
msgid "A pointer with action."
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: admin/class-italy-cookie-choices-admin-pointer-init.php:106
|
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:72
|
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:95
|
80 |
+
msgid "Italy_Cookie_Choices_Pointer Error: pages is not an array!"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: admin/class-italy-cookie-choices-admin.php:87
|
84 |
msgid "Italy Cookie Choices Dashboard"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: admin/class-italy-cookie-choices-admin.php:101
|
88 |
msgid "You do not have sufficient permissions to access this page."
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: admin/class-italy-cookie-choices-admin.php:160
|
92 |
msgid "Italy Cookie Choices options page"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: admin/class-italy-cookie-choices-admin.php:170
|
96 |
msgid "Activate"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: admin/class-italy-cookie-choices-admin.php:182
|
100 |
msgid "Where display the banner"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: admin/class-italy-cookie-choices-admin.php:193
|
104 |
msgid "Mouse scroll event"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: admin/class-italy-cookie-choices-admin.php:204
|
108 |
msgid "Accept on second view"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: admin/class-italy-cookie-choices-admin.php:215
|
112 |
msgid "Refresh page"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: admin/class-italy-cookie-choices-admin.php:226
|
116 |
msgid "Text to display"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: admin/class-italy-cookie-choices-admin.php:237
|
120 |
msgid "URL for cookie policy"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: admin/class-italy-cookie-choices-admin.php:248
|
124 |
+
msgid "Cookie policy page slug"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: admin/class-italy-cookie-choices-admin.php:259
|
128 |
msgid "Anchor text for URL"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: admin/class-italy-cookie-choices-admin.php:270
|
132 |
msgid "Button text"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: admin/class-italy-cookie-choices-admin.php:281
|
136 |
msgid "Style settings"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: admin/class-italy-cookie-choices-admin.php:291
|
140 |
msgid "CookieChoices Template"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: admin/class-italy-cookie-choices-admin.php:302
|
144 |
msgid "HTML top margin"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: admin/class-italy-cookie-choices-admin.php:313
|
148 |
msgid "Banner Background color"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: admin/class-italy-cookie-choices-admin.php:324
|
152 |
msgid "Banner text color"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: admin/class-italy-cookie-choices-admin.php:335
|
156 |
msgid "Custom CSS"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: admin/class-italy-cookie-choices-admin.php:346
|
160 |
msgid "Custom CSS Class (Optional)"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: admin/class-italy-cookie-choices-admin.php:357
|
164 |
msgid "Advanced settings"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: admin/class-italy-cookie-choices-admin.php:367
|
168 |
msgid "Cookie name"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: admin/class-italy-cookie-choices-admin.php:378
|
172 |
msgid "Cookie value"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: admin/class-italy-cookie-choices-admin.php:389
|
|
|
|
|
|
|
|
|
176 |
msgid "Open policy in new page"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: admin/class-italy-cookie-choices-admin.php:400
|
180 |
msgid "Third part cookie block (beta)"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: admin/class-italy-cookie-choices-admin.php:411
|
184 |
msgid "Scripts allowed in body"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: admin/class-italy-cookie-choices-admin.php:422
|
188 |
msgid "Scripts to be blocked"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: admin/class-italy-cookie-choices-admin.php:433
|
192 |
msgid "Text message for locked embedded content"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: admin/class-italy-cookie-choices-admin.php:444
|
196 |
msgid "Button text to activate locked embedded content"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: admin/class-italy-cookie-choices-admin.php:469
|
200 |
msgid "Customize your banner for cookie law"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: admin/class-italy-cookie-choices-admin.php:484
|
204 |
msgid "Display banner for Cookie Law in front-end"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: admin/class-italy-cookie-choices-admin.php:504
|
208 |
msgid "Top Bar (Default, Display a top bar with your message)"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: admin/class-italy-cookie-choices-admin.php:512
|
212 |
msgid "Dialog (Display an overlay with your message)"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: admin/class-italy-cookie-choices-admin.php:520
|
216 |
msgid "Bottom Bar (Display a bar in the footer with your message)"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: admin/class-italy-cookie-choices-admin.php:540
|
220 |
msgid "Accepts disclosures on mouse scroll event"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: admin/class-italy-cookie-choices-admin.php:560
|
224 |
msgid "Activate accept on second view"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: admin/class-italy-cookie-choices-admin.php:578
|
228 |
msgid "Refresh page after button click (DEPRECATED)"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: admin/class-italy-cookie-choices-admin.php:611
|
232 |
msgid "Your short cookie policy"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: admin/class-italy-cookie-choices-admin.php:618
|
236 |
+
#: admin/class-italy-cookie-choices-admin.php:1086
|
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:643
|
241 |
msgid "e.g. http://www.aboutcookies.org/"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: admin/class-italy-cookie-choices-admin.php:646
|
245 |
msgid "Insert here the link to your policy page"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: admin/class-italy-cookie-choices-admin.php:646
|
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:648
|
253 |
+
#: admin/class-italy-cookie-choices-admin.php:680
|
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:675
|
258 |
+
msgid "e.g. privacy-e-cookie"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: admin/class-italy-cookie-choices-admin.php:678
|
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:694
|
266 |
msgid "e.g. More Info"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: admin/class-italy-cookie-choices-admin.php:697
|
270 |
msgid "Insert here anchor text for the link"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: admin/class-italy-cookie-choices-admin.php:711
|
274 |
+
#: admin/class-italy-cookie-choices-admin.php:1102
|
275 |
msgid "e.g. Close"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: admin/class-italy-cookie-choices-admin.php:714
|
279 |
+
#: admin/class-italy-cookie-choices-admin.php:1105
|
280 |
msgid "Insert here name of button (e.g. \"Close\") "
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: admin/class-italy-cookie-choices-admin.php:731
|
284 |
msgid "Customize your style settings"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: admin/class-italy-cookie-choices-admin.php:747
|
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:765
|
292 |
msgid "Default cookiechoices template (centered with text links)"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: admin/class-italy-cookie-choices-admin.php:767
|
296 |
msgid "Centered container with left aligned text and big buttons"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: admin/class-italy-cookie-choices-admin.php:769
|
300 |
msgid "Centered container with left aligned text and small buttons"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: admin/class-italy-cookie-choices-admin.php:771
|
304 |
msgid "My custom CSS"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: admin/class-italy-cookie-choices-admin.php:775
|
308 |
msgid "Select the template to use"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: admin/class-italy-cookie-choices-admin.php:796
|
312 |
msgid "Custom Background color for banner"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: admin/class-italy-cookie-choices-admin.php:816
|
316 |
msgid "Custom text color for banner"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: admin/class-italy-cookie-choices-admin.php:833
|
320 |
msgid "Your custom css"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: admin/class-italy-cookie-choices-admin.php:836
|
324 |
msgid "Inset here your custom CSS for banner"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: admin/class-italy-cookie-choices-admin.php:861
|
328 |
msgid "Eg: bannerStyle"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: admin/class-italy-cookie-choices-admin.php:863
|
332 |
msgid "CSS class for div container (Default <code>bannerStyle</code>)"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: admin/class-italy-cookie-choices-admin.php:866
|
336 |
msgid "Eg: contentStyle"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: admin/class-italy-cookie-choices-admin.php:868
|
340 |
msgid "CSS class for div content (Default <code>contentStyle</code>)"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: admin/class-italy-cookie-choices-admin.php:871
|
344 |
msgid "Eg: consentText"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: admin/class-italy-cookie-choices-admin.php:873
|
348 |
msgid "CSS class for span content (Default <code>consentText</code>)"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: admin/class-italy-cookie-choices-admin.php:876
|
352 |
msgid "Eg: infoClass"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: admin/class-italy-cookie-choices-admin.php:878
|
356 |
msgid "CSS class for Info link (Default <code>itaybtn</code>)"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: admin/class-italy-cookie-choices-admin.php:881
|
360 |
msgid "Eg: closeClass"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: admin/class-italy-cookie-choices-admin.php:883
|
364 |
msgid "CSS class for close link (Default <code>itaybtn</code>)"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: admin/class-italy-cookie-choices-admin.php:886
|
368 |
msgid "Customize with your personal CSS class"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: admin/class-italy-cookie-choices-admin.php:902
|
372 |
msgid "Customize your advanced settings"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: admin/class-italy-cookie-choices-admin.php:918
|
376 |
msgid "Insert your cookie name (Default: displayCookieConsent)"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: admin/class-italy-cookie-choices-admin.php:937
|
380 |
msgid "Insert your cookie value (Default: y)"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: admin/class-italy-cookie-choices-admin.php:957
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
msgid "Open your cookie policy page in new one"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: admin/class-italy-cookie-choices-admin.php:981
|
388 |
msgid "Cookie from any embed in your content (Beta) (DEPRECATED)"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: admin/class-italy-cookie-choices-admin.php:986
|
392 |
msgid "Cookie from any embed in your widget area (Beta) (DEPRECATED)"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: admin/class-italy-cookie-choices-admin.php:991
|
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:1032
|
400 |
+
#: admin/class-italy-cookie-choices-admin.php:1058
|
401 |
msgid ""
|
402 |
"<script src="http://domain.com/widget-example.js"></script>\n"
|
403 |
"<---------SEP--------->\n"
|
406 |
"<script src="http://lastdomain.com/gadget-example.js"></script>"
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: admin/class-italy-cookie-choices-admin.php:1036
|
410 |
+
msgid "View example"
|
411 |
+
msgstr ""
|
412 |
+
|
413 |
+
#: admin/class-italy-cookie-choices-admin.php:1039
|
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:1042
|
418 |
+
#: admin/class-italy-cookie-choices-admin.php:1067
|
419 |
msgid "For more information see the documentation"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: admin/class-italy-cookie-choices-admin.php:1064
|
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:1083
|
427 |
msgid "Your lock message for embedded contents inside posts, pages and widgets"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: admin/class-italy-cookie-choices-admin.php:1221
|
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:1228
|
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:139 italy-cookie-choices.php:149
|
445 |
msgid "Activation of Italy Cookie Choices in not possible"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: italy-cookie-choices.php:240
|
449 |
#, php-format
|
450 |
msgid "Your server is running %s version %s but this plugin requires at least %s"
|
451 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.3.0
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -26,6 +26,21 @@ The plugin will not add any CSS stylesheet or Javascript file but only inline sc
|
|
26 |
|
27 |
Now you can block all cookies with new Third Part Cookie Eraser, activated it and let me now if you have any issue
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
[For more informations read the documentation](https://github.com/ItalyCookieChoices/italy-cookie-choices/wiki)
|
30 |
|
31 |
Please, notify any issue on github repository https://github.com/ItalyCookieChoices/italy-cookie-choices/issues
|
@@ -44,21 +59,18 @@ https://github.com/ItalyCookieChoices/italy-cookie-choices/wiki/Style-customizat
|
|
44 |
|
45 |
= Developer =
|
46 |
|
47 |
-
[Enea Overclokk](http://www.overclokk.net/)
|
48 |
-
|
49 |
-
[Andrea
|
50 |
-
|
51 |
-
[Andrea Cardinale](https://www.andrea-cardinale.it/)
|
52 |
|
53 |
= Link =
|
54 |
|
55 |
-
[WPItaly+](https://plus.google.com/u/0/communities/109254048492234113886)
|
56 |
-
|
57 |
-
[Forum GT](http://www.giorgiotave.it/forum/)
|
58 |
|
59 |
= Translators =
|
60 |
|
61 |
-
Romanian: [Florin Lungu](http://www.florinlungu.it/)
|
62 |
|
63 |
== Installation ==
|
64 |
|
@@ -103,6 +115,29 @@ if it doesn't work activate standard theme and try
|
|
103 |
|
104 |
== Changelog ==
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
= 2.2.1 =
|
107 |
Release Date: July 1st, 2015
|
108 |
|
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.3.0
|
7 |
+
Stable tag: 2.3.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
26 |
|
27 |
Now you can block all cookies with new Third Part Cookie Eraser, activated it and let me now if you have any issue
|
28 |
|
29 |
+
= What you can do =
|
30 |
+
|
31 |
+
* Display banner in front-end
|
32 |
+
** Three template (standard, big buttons, small buttons)
|
33 |
+
** Three position (top, dialog, bottom)
|
34 |
+
** Or custom style
|
35 |
+
* Content banner customizable with HTML tags
|
36 |
+
* URL and buttons text customizable
|
37 |
+
* Acceptance on mouse scroll
|
38 |
+
* Acceptance on second view
|
39 |
+
* Block third party script in page
|
40 |
+
* Add custom script to not block (all page)
|
41 |
+
* Add custom script to block (wp_header and wp_footer)
|
42 |
+
* Multilanguage (WPML, Polylang, Ceceppa)
|
43 |
+
|
44 |
[For more informations read the documentation](https://github.com/ItalyCookieChoices/italy-cookie-choices/wiki)
|
45 |
|
46 |
Please, notify any issue on github repository https://github.com/ItalyCookieChoices/italy-cookie-choices/issues
|
59 |
|
60 |
= Developer =
|
61 |
|
62 |
+
* [Enea Overclokk](http://www.overclokk.net/)
|
63 |
+
* [Andrea Pernici](https://www.andreapernici.com/)
|
64 |
+
* [Andrea Cardinale](https://www.andrea-cardinale.it/)
|
|
|
|
|
65 |
|
66 |
= Link =
|
67 |
|
68 |
+
* [WPItaly+](https://plus.google.com/u/0/communities/109254048492234113886)
|
69 |
+
* [Forum GT](http://www.giorgiotave.it/forum/)
|
|
|
70 |
|
71 |
= Translators =
|
72 |
|
73 |
+
* Romanian: [Florin Lungu](http://www.florinlungu.it/)
|
74 |
|
75 |
== Installation ==
|
76 |
|
115 |
|
116 |
== Changelog ==
|
117 |
|
118 |
+
= 2.3.0 =
|
119 |
+
Release Date: July 11th, 2015
|
120 |
+
|
121 |
+
Dev time: 50h
|
122 |
+
|
123 |
+
* Added jQuery autocomplete in slug and url input
|
124 |
+
* Added text editor and allowed HTML tags for short policy text area input and the blocked embed text
|
125 |
+
* Fixed the insertion of the SOMETHING button in textarea
|
126 |
+
* Added delete selected text for SOMETHING button in textarea
|
127 |
+
* Fixed !match with 'REQUEST_URI' [here](https://github.com/ItalyCookieChoices/italy-cookie-choices/issues/111) and [here](https://github.com/ItalyCookieChoices/italy-cookie-choices/issues/68)
|
128 |
+
* [Fixed #119](https://github.com/ItalyCookieChoices/italy-cookie-choices/issues/119)
|
129 |
+
* [Added multilanguage also to the blocked embed text and button](https://github.com/ItalyCookieChoices/italy-cookie-choices/issues/118)
|
130 |
+
* [Added multilang for slug](https://github.com/ItalyCookieChoices/italy-cookie-choices/issues/115)
|
131 |
+
* Improved sanitization for multilang string
|
132 |
+
|
133 |
+
|
134 |
+
= 2.2.2 =
|
135 |
+
Release Date: July 1st, 2015
|
136 |
+
|
137 |
+
Dev time: 3h
|
138 |
+
|
139 |
+
* [Fixed browser issue](https://github.com/ItalyCookieChoices/italy-cookie-choices/issues/113)
|
140 |
+
|
141 |
= 2.2.1 =
|
142 |
Release Date: July 1st, 2015
|
143 |
|
uninstall.php
CHANGED
@@ -48,8 +48,11 @@ if ( is_multisite() ) {
|
|
48 |
/**
|
49 |
* Require multilingual functions
|
50 |
*/
|
51 |
-
require( plugin_dir_path( __FILE__ ) . 'includes/functions-italy-cookie-choices-lang.php');
|
52 |
-
deregister_string( 'Italy Cookie Choices', 'Banner text');
|
53 |
deregister_string( 'Italy Cookie Choices', 'Banner url' );
|
|
|
54 |
deregister_string( 'Italy Cookie Choices', 'Banner anchor text' );
|
55 |
-
deregister_string( 'Italy Cookie Choices', 'Banner button text' );
|
|
|
|
48 |
/**
|
49 |
* Require multilingual functions
|
50 |
*/
|
51 |
+
require( plugin_dir_path( __FILE__ ) . 'includes/functions-italy-cookie-choices-lang.php' );
|
52 |
+
deregister_string( 'Italy Cookie Choices', 'Banner text' );
|
53 |
deregister_string( 'Italy Cookie Choices', 'Banner url' );
|
54 |
+
deregister_string( 'Italy Cookie Choices', 'Banner slug' );
|
55 |
deregister_string( 'Italy Cookie Choices', 'Banner anchor text' );
|
56 |
+
deregister_string( 'Italy Cookie Choices', 'Banner button text' );
|
57 |
+
deregister_string( 'Italy Cookie Choices', 'Content message text' );
|
58 |
+
deregister_string( 'Italy Cookie Choices', 'Content message button text' );
|