Version Description
Code maintenance. Opaque background not showing with popup delay setted bug fixed. Use of wpdb query instead of sql direct command on uninstall.
Download this release
Release Info
Developer | ITRO |
Plugin | ITRO Popup Plugin |
Version | 4.4.4 |
Comparing to | |
See all releases |
Code changes from version 4.4.3 to 4.4.4
- css/itro-style.php +0 -2
- functions/core-function.php +3 -3
- mc-main.php +2 -2
- readme.txt +8 -9
- uninstall.php +2 -5
css/itro-style.php
CHANGED
@@ -105,7 +105,6 @@ function itro_style() { ?>
|
|
105 |
}
|
106 |
|
107 |
#itro_opaco{
|
108 |
-
opacity:0.6;
|
109 |
position:fixed;
|
110 |
background-color: <?php echo itro_get_option('opaco_bg_color'); ?>;
|
111 |
font-size: 10px;
|
@@ -118,7 +117,6 @@ function itro_style() { ?>
|
|
118 |
right: 0px;
|
119 |
top: 0px;
|
120 |
bottom: 0px;
|
121 |
-
<?php if( itro_get_option('popup_delay') != 0 ) { echo 'visibility:hidden;'; } ?>
|
122 |
opacity: <?php echo itro_get_option('popup_bg_opacity'); ?> ;
|
123 |
filter:alpha(opacity = <?php echo ( itro_get_option('popup_bg_opacity') * 100); ?>); /* For IE8 and earlier */
|
124 |
}<?php
|
105 |
}
|
106 |
|
107 |
#itro_opaco{
|
|
|
108 |
position:fixed;
|
109 |
background-color: <?php echo itro_get_option('opaco_bg_color'); ?>;
|
110 |
font-size: 10px;
|
117 |
right: 0px;
|
118 |
top: 0px;
|
119 |
bottom: 0px;
|
|
|
120 |
opacity: <?php echo itro_get_option('popup_bg_opacity'); ?> ;
|
121 |
filter:alpha(opacity = <?php echo ( itro_get_option('popup_bg_opacity') * 100); ?>); /* For IE8 and earlier */
|
122 |
}<?php
|
functions/core-function.php
CHANGED
@@ -19,12 +19,12 @@ function itro_plugin_menu() {
|
|
19 |
|
20 |
function itro_init()
|
21 |
{
|
22 |
-
/* --------- initialize database */
|
23 |
-
itro_db_init();
|
24 |
-
|
25 |
/* -----load sample popup settings */
|
26 |
if( get_option("itro_curr_ver") == NULL )
|
27 |
{
|
|
|
|
|
|
|
28 |
itro_update_option('popup_time',20);
|
29 |
itro_update_option('cookie_time_exp',0);
|
30 |
itro_update_option('popup_background','#FFFFFF');
|
19 |
|
20 |
function itro_init()
|
21 |
{
|
|
|
|
|
|
|
22 |
/* -----load sample popup settings */
|
23 |
if( get_option("itro_curr_ver") == NULL )
|
24 |
{
|
25 |
+
/* --------- initialize database */
|
26 |
+
itro_db_init();
|
27 |
+
|
28 |
itro_update_option('popup_time',20);
|
29 |
itro_update_option('cookie_time_exp',0);
|
30 |
itro_update_option('popup_background','#FFFFFF');
|
mc-main.php
CHANGED
@@ -8,12 +8,12 @@ Plugin URI: http://www.itro.eu/
|
|
8 |
Description: EN - Show a perfecly centered customizable popup and a popup-system for age-restricted site and allow to insert own HTML code. IT - Visualizza un popup perfettamente centrato e personalizzabile con possibile blocco per i siti con restrizioni di eta' e permette di inserire il proprio codice HTML.
|
9 |
Author: I.T.RO.(c) Sez. Informatica
|
10 |
E-mail: support.itro@live.com
|
11 |
-
Version: 4.4.
|
12 |
Author URI: http://www.itro.eu/
|
13 |
*/
|
14 |
|
15 |
global $ITRO_VER;
|
16 |
-
$ITRO_VER = 4.
|
17 |
define('itroLocalPath', __DIR__);
|
18 |
define('itroPath', plugins_url() . '/itro-popup/');
|
19 |
define('itroImages', plugins_url() . '/itro-popup/images/');
|
8 |
Description: EN - Show a perfecly centered customizable popup and a popup-system for age-restricted site and allow to insert own HTML code. IT - Visualizza un popup perfettamente centrato e personalizzabile con possibile blocco per i siti con restrizioni di eta' e permette di inserire il proprio codice HTML.
|
9 |
Author: I.T.RO.(c) Sez. Informatica
|
10 |
E-mail: support.itro@live.com
|
11 |
+
Version: 4.4.4
|
12 |
Author URI: http://www.itro.eu/
|
13 |
*/
|
14 |
|
15 |
global $ITRO_VER;
|
16 |
+
$ITRO_VER = 4.44;
|
17 |
define('itroLocalPath', __DIR__);
|
18 |
define('itroPath', plugins_url() . '/itro-popup/');
|
19 |
define('itroImages', plugins_url() . '/itro-popup/images/');
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.itro.eu/index.php/donate/
|
|
4 |
Tags: popup, age restriction, block, violence, age validation, adult, adult content, content warning, wp editor, fancy box, fancy popup, custom popup, advertising popup, ads, ads popup, pop-up, lightbox, lightbox popup,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 3.3
|
7 |
-
Stable tag: 4.4.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -75,6 +75,10 @@ DONATE NOW! - HELP US TO DEVELOP FOR YOU! [DONATE NOW](http://www.itro.eu/?page_
|
|
75 |
no screenshot avaliable
|
76 |
|
77 |
== Changelog ==
|
|
|
|
|
|
|
|
|
78 |
= 4.4.3 =
|
79 |
Code maintenance, some js errors fixed in admin page.
|
80 |
|
@@ -214,14 +218,9 @@ bug fixed: color table now works in admin pannel.
|
|
214 |
First released version.
|
215 |
|
216 |
== Upgrade Notice ==
|
217 |
-
= 4.4.
|
218 |
-
Code maintenance
|
219 |
-
|
220 |
-
Bug on first installation fixed (preview page not working)
|
221 |
-
= 4.4.1 =
|
222 |
-
Code maintenance. Some bug for popup visualization fixed.
|
223 |
-
= 4.4 =
|
224 |
-
Popup can be disabled for mobile devices. Close cross can be changed for dark or light background.
|
225 |
|
226 |
== Notes ==
|
227 |
FOR TUTORIAL AND FAQ VISIT THE OFFICIAL SITE [CLICK HERE!](http://www.itro.eu/?page_id=390)
|
4 |
Tags: popup, age restriction, block, violence, age validation, adult, adult content, content warning, wp editor, fancy box, fancy popup, custom popup, advertising popup, ads, ads popup, pop-up, lightbox, lightbox popup,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 3.3
|
7 |
+
Stable tag: 4.4.4
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
75 |
no screenshot avaliable
|
76 |
|
77 |
== Changelog ==
|
78 |
+
= 4.4.4 =
|
79 |
+
Code maintenance. Opaque background not showing with popup delay setted bug fixed.
|
80 |
+
Use of wpdb query instead of sql direct command on uninstall.
|
81 |
+
|
82 |
= 4.4.3 =
|
83 |
Code maintenance, some js errors fixed in admin page.
|
84 |
|
218 |
First released version.
|
219 |
|
220 |
== Upgrade Notice ==
|
221 |
+
= 4.4.4 =
|
222 |
+
Code maintenance. Opaque background not showing with popup delay setted bug fixed.
|
223 |
+
Use of wpdb query instead of sql direct command on uninstall.
|
|
|
|
|
|
|
|
|
|
|
224 |
|
225 |
== Notes ==
|
226 |
FOR TUTORIAL AND FAQ VISIT THE OFFICIAL SITE [CLICK HERE!](http://www.itro.eu/?page_id=390)
|
uninstall.php
CHANGED
@@ -11,12 +11,9 @@ else
|
|
11 |
|
12 |
delete_option('itro_curr_ver');
|
13 |
delete_option('itro_prev_ver');
|
14 |
-
delete_option('delete_data');
|
15 |
|
16 |
-
$
|
17 |
-
|
18 |
-
mysqli_query($con, 'DROP TABLE wp_itro_plugin_option');
|
19 |
-
mysqli_query($con, 'DROP TABLE wp_itro_plugin_field');
|
20 |
}
|
21 |
}
|
22 |
?>
|
11 |
|
12 |
delete_option('itro_curr_ver');
|
13 |
delete_option('itro_prev_ver');
|
|
|
14 |
|
15 |
+
$wpdb->query("DROP TABLE wp_itro_plugin_option");
|
16 |
+
$wpdb->query("DROP TABLE wp_itro_plugin_field");
|
|
|
|
|
17 |
}
|
18 |
}
|
19 |
?>
|