Version Description
- Fix: Read more linking to default site language in WPML & Polylang
- Tweak: UI improvements for WP 3.8
Download this release
Release Info
Developer | dfactory |
Plugin | Cookie Notice by dFactory |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
- cookie-notice.php +17 -17
- css/admin.css +19 -11
- readme.txt +8 -5
cookie-notice.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Cookie Notice
|
4 |
Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
|
5 |
-
Version: 1.2.
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
|
@@ -187,7 +187,22 @@ class Cookie_Notice
|
|
187 |
echo '
|
188 |
<div class="wrap">'.screen_icon().'
|
189 |
<h2>'.__('Cookie Notice', 'cookie-notice').'</h2>
|
190 |
-
<div class="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
<form action="options.php" method="post">';
|
192 |
|
193 |
wp_nonce_field('update-options');
|
@@ -198,21 +213,6 @@ class Cookie_Notice
|
|
198 |
echo '
|
199 |
</form>
|
200 |
</div>
|
201 |
-
<div class="df-credits postbox-container">
|
202 |
-
<h3 class="metabox-title">'.__('Cookie Notice', 'cookie-notice').'</h3>
|
203 |
-
<div class="inner">
|
204 |
-
<h3>'.__('Need support?', 'cookie-notice').'</h3>
|
205 |
-
<p>'.__('If you are having problems with this plugin, please talk about them in the', 'cookie-notice').' <a href="http://dfactory.eu/support/" target="_blank" title="'.__('Support forum', 'cookie-notice').'">'.__('Support forum', 'cookie-notice').'</a></p>
|
206 |
-
<hr />
|
207 |
-
<h3>'.__('Do you like this plugin?', 'cookie-notice').'</h3>
|
208 |
-
<p><a href="http://wordpress.org/support/view/plugin-reviews/cookie-notice" target="_blank" title="'.__('Rate it 5', 'cookie-notice').'">'.__('Rate it 5', 'cookie-notice').'</a> '.__('on WordPress.org', 'cookie-notice').'<br />'.
|
209 |
-
__('Blog about it & link to the', 'cookie-notice').' <a href="http://dfactory.eu/plugins/cookie-notice/" target="_blank" title="'.__('plugin page', 'cookie-notice').'">'.__('plugin page', 'cookie-notice').'</a><br />'.
|
210 |
-
__('Check out our other', 'cookie-notice').' <a href="http://dfactory.eu/plugins/" target="_blank" title="'.__('WordPress plugins', 'cookie-notice').'">'.__('WordPress plugins', 'cookie-notice').'</a>
|
211 |
-
</p>
|
212 |
-
<hr />
|
213 |
-
<p class="df-link">Created by <a href="http://www.dfactory.eu" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="'.plugins_url('/images/logo-dfactory.png' , __FILE__ ).'" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress" /></a></p>
|
214 |
-
</div>
|
215 |
-
</div>
|
216 |
<div class="clear"></div>
|
217 |
</div>';
|
218 |
}
|
2 |
/*
|
3 |
Plugin Name: Cookie Notice
|
4 |
Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
|
5 |
+
Version: 1.2.1
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
|
187 |
echo '
|
188 |
<div class="wrap">'.screen_icon().'
|
189 |
<h2>'.__('Cookie Notice', 'cookie-notice').'</h2>
|
190 |
+
<div class="cookie-notice-settings">
|
191 |
+
<div class="df-credits">
|
192 |
+
<h3 class="hndle">'.__('Cookie Notice', 'cookie-notice').'</h3>
|
193 |
+
<div class="inside">
|
194 |
+
<h4 class="inner">'.__('Need support?', 'cookie-notice').'</h4>
|
195 |
+
<p class="inner">'.__('If you are having problems with this plugin, please talk about them in the', 'cookie-notice').' <a href="http://dfactory.eu/support/" target="_blank" title="'.__('Support forum', 'cookie-notice').'">'.__('Support forum', 'cookie-notice').'</a></p>
|
196 |
+
<hr />
|
197 |
+
<h4 class="inner">'.__('Do you like this plugin?', 'cookie-notice').'</h4>
|
198 |
+
<p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/cookie-notice" target="_blank" title="'.__('Rate it 5', 'cookie-notice').'">'.__('Rate it 5', 'cookie-notice').'</a> '.__('on WordPress.org', 'cookie-notice').'<br />'.
|
199 |
+
__('Blog about it & link to the', 'cookie-notice').' <a href="http://dfactory.eu/plugins/cookie-notice/" target="_blank" title="'.__('plugin page', 'cookie-notice').'">'.__('plugin page', 'cookie-notice').'</a><br />'.
|
200 |
+
__('Check out our other', 'cookie-notice').' <a href="http://dfactory.eu/plugins/" target="_blank" title="'.__('WordPress plugins', 'cookie-notice').'">'.__('WordPress plugins', 'cookie-notice').'</a>
|
201 |
+
</p>
|
202 |
+
<hr />
|
203 |
+
<p class="df-link inner">Created by <a href="http://www.dfactory.eu" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="'.plugins_url('/images/logo-dfactory.png' , __FILE__ ).'" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress" /></a></p>
|
204 |
+
</div>
|
205 |
+
</div>
|
206 |
<form action="options.php" method="post">';
|
207 |
|
208 |
wp_nonce_field('update-options');
|
213 |
echo '
|
214 |
</form>
|
215 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
<div class="clear"></div>
|
217 |
</div>';
|
218 |
}
|
css/admin.css
CHANGED
@@ -1,13 +1,21 @@
|
|
1 |
-
|
2 |
-
.
|
3 |
-
.
|
4 |
-
.
|
5 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
#cn_colors label { min-width: 10em; display:inline-block; }
|
7 |
#cn_colors div { vertical-align:middle; }
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
.df-credits
|
12 |
-
.
|
13 |
-
|
1 |
+
/* Cookie Notice settings */
|
2 |
+
.df-credits { float: right; width: 280px; background: #fff; margin: 20px -300px 20px 20px; position: relative; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
|
3 |
+
.df-credits .inner { padding-left: 10px; padding-right: 10px; }
|
4 |
+
.df-credits h3 { font-size: 14px; line-height: 1.4; margin: 0; padding: 8px 12px; border-bottom: 1px solid #eee; }
|
5 |
+
.df-credits .df-link { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-style:italic; padding-bottom: 10px; margin: 0; }
|
6 |
+
.df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 4px; }
|
7 |
+
.cookie-notice-settings { margin-right: 300px; }
|
8 |
+
.cookie-notice-settings hr, .df-credits hr { border: solid #eee; border-width: 1px 0 0; clear: both; height: 0; }
|
9 |
+
.cookie-notice-settings form { float: left; min-width: 463px; width: 100%; }
|
10 |
+
.cookie-notice-settings fieldset span.description { margin-bottom: 8px; margin-top: 4px; display: block; }
|
11 |
+
.cookie-notice-settings .ui-button { margin-bottom: 5px; }
|
12 |
+
.cookie-notice-settings .description { font-size: 13px; margin-bottom: 8px; }
|
13 |
+
|
14 |
#cn_colors label { min-width: 10em; display:inline-block; }
|
15 |
#cn_colors div { vertical-align:middle; }
|
16 |
+
|
17 |
+
/* All Mobile Sizes (devices and browser) */
|
18 |
+
@media only screen and (max-width: 959px) {
|
19 |
+
.df-credits { width: 100%; float: none; margin: 20px 0; }
|
20 |
+
.cookie-notice-settings { margin-right: 0; }
|
21 |
+
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
|
|
4 |
Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.8.1
|
7 |
-
Stable tag: 1.2.
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
@@ -48,6 +48,10 @@ No questions yet.
|
|
48 |
|
49 |
== Changelog ==
|
50 |
|
|
|
|
|
|
|
|
|
51 |
= 1.2.0 =
|
52 |
* Fix: Cookie not saving in IE
|
53 |
* Fix: Notice hidden under Admin bar bug
|
@@ -68,7 +72,6 @@ Initial release
|
|
68 |
|
69 |
== Upgrade Notice ==
|
70 |
|
71 |
-
= 1.2.
|
72 |
-
* Fix:
|
73 |
-
*
|
74 |
-
* Tweak: Improved WPML & Polylang compatibility
|
4 |
Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.8.1
|
7 |
+
Stable tag: 1.2.1
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
48 |
|
49 |
== Changelog ==
|
50 |
|
51 |
+
= 1.2.1 =
|
52 |
+
* Fix: Read more linking to default site language in WPML & Polylang
|
53 |
+
* Tweak: UI improvements for WP 3.8
|
54 |
+
|
55 |
= 1.2.0 =
|
56 |
* Fix: Cookie not saving in IE
|
57 |
* Fix: Notice hidden under Admin bar bug
|
72 |
|
73 |
== Upgrade Notice ==
|
74 |
|
75 |
+
= 1.2.1 =
|
76 |
+
* Fix: Read more linking to default site language in WPML & Polylang
|
77 |
+
* Tweak: UI improvements for WP 3.8
|
|