Version Description
- Fixed bug disable button
Download this release
Release Info
Developer | manafactory |
Plugin | Ginger – EU Cookie Law |
Version | 2.3.4 |
Comparing to | |
See all releases |
Code changes from version 2.3.3 to 2.3.4
- admin/partial/banner.php +5 -5
- front/gingerfront.utils.php +2 -2
- ginger-eu-cookie-law.php +1 -1
- readme.txt +4 -1
admin/partial/banner.php
CHANGED
@@ -96,25 +96,25 @@
|
|
96 |
<p>
|
97 |
<label><?php _e("Text", "ginger"); ?></label>
|
98 |
<input name="disable_cookie_button_text" id="disable_cookie_button_text" type="text"
|
99 |
-
value="<?php if ($options['disable_cookie_button_text'] != "") {
|
100 |
echo $options['disable_cookie_button_text'];
|
101 |
} else {
|
102 |
echo _e('Disable Cookie', 'ginger');
|
103 |
-
} ?>" <?php if ($options['disable_cookie_button_status'] == "
|
104 |
echo 'disabled=true';
|
105 |
} ?>>
|
106 |
<?php echo _e('Enable:', 'ginger') ?>
|
107 |
<input type="checkbox" id="disable_cookie_button_status" name="disable_cookie_button_status"
|
108 |
-
value="1" <?php if ($options['disable_cookie_button_status']
|
109 |
echo 'checked';
|
110 |
} ?>
|
111 |
onclick="en_dis_able_text_banner_button('disable_cookie_button_status','disable_cookie_button_text','img_disable_cookie_button_status');">
|
112 |
|
113 |
|
114 |
<img id="img_disable_cookie_button_status"
|
115 |
-
src="<?php if ($options['disable_cookie_button_status']
|
116 |
echo plugins_url('ginger/img/ok.png');
|
117 |
-
}
|
118 |
echo plugins_url('ginger/img/xx.png');
|
119 |
} ?>" style="max-width: 20px; max-height: 20px; vertical-align: middle">
|
120 |
|
96 |
<p>
|
97 |
<label><?php _e("Text", "ginger"); ?></label>
|
98 |
<input name="disable_cookie_button_text" id="disable_cookie_button_text" type="text"
|
99 |
+
value="<?php if (isset($options['disable_cookie_button_text']) && $options['disable_cookie_button_text'] != "") {
|
100 |
echo $options['disable_cookie_button_text'];
|
101 |
} else {
|
102 |
echo _e('Disable Cookie', 'ginger');
|
103 |
+
} ?>" <?php if (!(isset($options['disable_cookie_button_status']) && $options['disable_cookie_button_status'] == "1")) {
|
104 |
echo 'disabled=true';
|
105 |
} ?>>
|
106 |
<?php echo _e('Enable:', 'ginger') ?>
|
107 |
<input type="checkbox" id="disable_cookie_button_status" name="disable_cookie_button_status"
|
108 |
+
value="1" <?php if (isset($options['disable_cookie_button_status']) && $options['disable_cookie_button_status'] == "1") {
|
109 |
echo 'checked';
|
110 |
} ?>
|
111 |
onclick="en_dis_able_text_banner_button('disable_cookie_button_status','disable_cookie_button_text','img_disable_cookie_button_status');">
|
112 |
|
113 |
|
114 |
<img id="img_disable_cookie_button_status"
|
115 |
+
src="<?php if (isset($options['disable_cookie_button_status']) && $options['disable_cookie_button_status'] == "1") {
|
116 |
echo plugins_url('ginger/img/ok.png');
|
117 |
+
} else {
|
118 |
echo plugins_url('ginger/img/xx.png');
|
119 |
} ?>" style="max-width: 20px; max-height: 20px; vertical-align: middle">
|
120 |
|
front/gingerfront.utils.php
CHANGED
@@ -141,7 +141,7 @@ function ginger_script(){ ?>
|
|
141 |
+ '<\/a>'
|
142 |
<?php endif; ?>
|
143 |
<?php else: ?>
|
144 |
-
<?php if($option_ginger_bar['disable_cookie_button_status'] != 0 && $option_ginger_general['ginger_opt'] != 'out'): ?>
|
145 |
+ '<a href="#" class="ginger_btn ginger-disable ginger_btn_accept_all">'
|
146 |
+ '<?php echo $label_disable_cookie; ?>'
|
147 |
+ '<\/a>'
|
@@ -154,7 +154,7 @@ function ginger_script(){ ?>
|
|
154 |
+'</p>'
|
155 |
<?php endif; ?>
|
156 |
+'<\/div>',
|
157 |
-
<?php if($option_ginger_bar['disable_cookie_button_status'] != 0 && $option_ginger_general['ginger_opt'] != 'out' && $option_ginger_general['ginger_keep_banner'] == 1): ?>
|
158 |
forceEnable: true,
|
159 |
forceBannerClass: 'ginger-banner bottom dialog force <?php echo $option_ginger_bar['theme_ginger']; ?> ginger_container',
|
160 |
forceEnableText:
|
141 |
+ '<\/a>'
|
142 |
<?php endif; ?>
|
143 |
<?php else: ?>
|
144 |
+
<?php if(isset($option_ginger_bar['disable_cookie_button_status']) && $option_ginger_bar['disable_cookie_button_status'] != 0 && $option_ginger_general['ginger_opt'] != 'out'): ?>
|
145 |
+ '<a href="#" class="ginger_btn ginger-disable ginger_btn_accept_all">'
|
146 |
+ '<?php echo $label_disable_cookie; ?>'
|
147 |
+ '<\/a>'
|
154 |
+'</p>'
|
155 |
<?php endif; ?>
|
156 |
+'<\/div>',
|
157 |
+
<?php if(isset($option_ginger_bar['disable_cookie_button_status']) && $option_ginger_bar['disable_cookie_button_status'] != 0 && $option_ginger_general['ginger_opt'] != 'out' && $option_ginger_general['ginger_keep_banner'] == 1): ?>
|
158 |
forceEnable: true,
|
159 |
forceBannerClass: 'ginger-banner bottom dialog force <?php echo $option_ginger_bar['theme_ginger']; ?> ginger_container',
|
160 |
forceEnableText:
|
ginger-eu-cookie-law.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ginger - EU Cookie Law
|
4 |
Plugin URI: http://manafactory.it/
|
5 |
Description: Make your website compliant with EU Cookie Policy.
|
6 |
-
Version: 2.3.
|
7 |
Author: Manafactory
|
8 |
Author URI: http://manafactory.it/
|
9 |
License: GPLv2 or later
|
3 |
Plugin Name: Ginger - EU Cookie Law
|
4 |
Plugin URI: http://manafactory.it/
|
5 |
Description: Make your website compliant with EU Cookie Policy.
|
6 |
+
Version: 2.3.4
|
7 |
Author: Manafactory
|
8 |
Author URI: http://manafactory.it/
|
9 |
License: GPLv2 or later
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.ginger-cookielaw.com/
|
|
4 |
Tags: EU Cookie Law, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -93,6 +93,9 @@ Yes, actually you we have 2 addons for multilanguages: wpml and polylang. Ask to
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
96 |
= 2.3.3 =
|
97 |
* Import/Export Tool
|
98 |
* notice fix
|
4 |
Tags: EU Cookie Law, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 2.3.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 2.3.4 =
|
97 |
+
* Fixed bug disable button
|
98 |
+
|
99 |
= 2.3.3 =
|
100 |
* Import/Export Tool
|
101 |
* notice fix
|