ITRO Popup Plugin - Version 4.5.6

Version Description

Admin style in proper css file. Shortcodes now work.

Download this release

Release Info

Developer ITRO
Plugin Icon 128x128 ITRO Popup Plugin
Version 4.5.6
Comparing to
See all releases

Code changes from version 4.5.5 to 4.5.6

admin/popup-admin.php CHANGED
@@ -135,7 +135,6 @@ if( isset($_POST['delete_data_hidden']) && $_POST['delete_data_hidden'] == 'Y' )
135
  }
136
  }
137
 
138
- itro_admin_style();
139
  /* Put an settings updated message on the screen */
140
  if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isset($_POST['delete_data_hidden']) && $_POST['delete_data_hidden'] == 'Y' ) {
141
  ?>
@@ -207,7 +206,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
207
  <span style="float:left;" ><?php _e("Popup seconds:", 'itro-plugin' ); ?> <img style="vertical-align:super; cursor:help" src="<?php echo itroImages . 'question_mark.png' ; ?>" title="<?php _e("Set seconds until the popup automatically close. Set it to zero to disable countdown.",'itro-plugin');?>" ></span>
208
  &nbsp;&nbsp;&nbsp;
209
  <?php itro_slidebar( $opt_name[0] , $opt_val[0] , 0 , 120 , 1, 0, '') ?>
210
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:10px;" id="<?php echo $opt_name[0]; ?>" name="<?php echo $opt_name[0]; ?>" value="<?php echo $opt_val[0]; ?>" size="1">
211
  </div>
212
 
213
  <!-- popup delay!-->
@@ -215,7 +214,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
215
  <span style="float:left;" ><?php _e("Popup delay:", 'itro-plugin' ); ?> <img style="vertical-align:super; cursor:help" src="<?php echo itroImages . 'question_mark.png' ; ?>" title="<?php _e("Set seconds before the popup will be displayed",'itro-plugin');?>" ></span>
216
  &nbsp;&nbsp;&nbsp;
217
  <?php itro_slidebar( $opt_name[23] , $opt_val[23] , 0 , 120 , 1, 0, '') ?>
218
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:10px;" id="<?php echo $opt_name[23]; ?>" name="<?php echo $opt_name[23]; ?>" value="<?php echo $opt_val[23]; ?>" size="1">
219
  </div>
220
 
221
  <!-- next time visualization !-->
@@ -223,7 +222,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
223
  <span style="float:left;" ><?php _e("Next visualization (hours):", 'itro-plugin' ); ?> <img style="vertical-align:super; cursor:help" src="<?php echo itroImages . 'question_mark.png' ; ?>" title="<?php _e("Set time for the next visualization of popup, to prevent annoying repeated visualizations, when someone visit pages",'itro-plugin');?>" ></span>
224
  &nbsp;&nbsp;&nbsp;
225
  <?php itro_slidebar( $opt_name[2] , $opt_val[2] , 0 , 720 , 6, 0, '') ?>
226
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:10px;" id="<?php echo $opt_name[2]; ?>" name="<?php echo $opt_name[2]; ?>" value="<?php echo $opt_val[2]; ?>" size="1">
227
  </div>
228
 
229
  <input value="<?php _e("Delete cookie", 'itro-plugin' ); ?>" type="button" class="button" onclick="itro_set_cookie('popup_cookie','one_time_popup',-100); jQuery('#cookie_msg').stop(true, true); jQuery('#cookie_msg').fadeIn(function() {jQuery('#cookie_msg').fadeOut(6000);});">
@@ -248,8 +247,8 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
248
  &nbsp;&nbsp;&nbsp;
249
  <?php itro_slidebar( $opt_name[3] , $opt_val[3] , 0 , 1500 , 10, 0, 'px') ?>
250
  <?php itro_slidebar( $opt_name[3] , $opt_val[3] , 0 , 100 , 1, 0, 'perc') ?>
251
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:7px;<?php if( itro_get_option('select_' . $opt_name[3]) != 'px' ) { echo 'display:none;'; } ?>" id="<?php echo 'px_' . $opt_name[3]; ?>" name="<?php echo 'px_' . $opt_name[3]; ?>" value="<?php echo $px_opt_val[3]; ?>" size="1">
252
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:7px;<?php if( itro_get_option('select_' . $opt_name[3]) != 'perc' ) { echo 'display:none;'; } ?>" id="<?php echo 'perc_' . $opt_name[3]; ?>" name="<?php echo 'perc_' . $opt_name[3]; ?>" value="<?php echo $perc_opt_val[3]; ?>" size="1">
253
  <select id="select_<?php echo $opt_name[3]; ?>" name="select_<?php echo $opt_name[3]; ?>" style="position:relative; left:7px;">
254
  <option value="px" onClick="itro_enable_<?php echo $opt_name[3]; ?>('px')" <?php if(itro_get_option('select_' . $opt_name[3])=='px') {echo 'selected="select"';} ?>>px</option>
255
  <option value="perc" onClick="itro_enable_<?php echo $opt_name[3]; ?>('perc')" <?php if(itro_get_option('select_' . $opt_name[3])=='perc') {echo 'selected="select"';} ?>>%</option>
@@ -262,8 +261,8 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
262
  &nbsp;&nbsp;&nbsp;
263
  <?php itro_slidebar( $opt_name[17] , $opt_val[17] , 0 , 750 , 5, 0, 'px') ?>
264
  <?php itro_slidebar( $opt_name[17] , $opt_val[17] , 0 , 100 , 1, 0, 'perc') ?>
265
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:7px;<?php if( itro_get_option('select_' . $opt_name[17]) != 'px' ) { echo 'display:none;'; } ?>" id="<?php echo 'px_' . $opt_name[17]; ?>" name="<?php echo 'px_' . $opt_name[17]; ?>" value="<?php echo $px_opt_val[17]; ?>" size="1">
266
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:7px;<?php if( itro_get_option('select_' . $opt_name[17]) != 'perc' ) { echo 'display:none;'; } ?>" id="<?php echo 'perc_' . $opt_name[17]; ?>" name="<?php echo 'perc_' . $opt_name[17]; ?>" value="<?php echo $perc_opt_val[17]; ?>" size="1">
267
  <select id="select_<?php echo $opt_name[17]; ?>" name="select_<?php echo $opt_name[17]; ?>" style="position:relative; left:7px;">
268
  <option value="px" onClick="itro_enable_<?php echo $opt_name[17]; ?>('px')" <?php if(itro_get_option('select_' . $opt_name[17])=='px') {echo 'selected="select"';} ?>>px</option>
269
  <option value="perc" onClick="itro_enable_<?php echo $opt_name[17]; ?>('perc')" <?php if(itro_get_option('select_' . $opt_name[17])=='perc') {echo 'selected="select"';} ?>>%</option>
@@ -283,7 +282,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
283
  <span style="float:left;" ><?php _e("Popup border radius(px):", 'itro-plugin' ); ?></span>
284
  &nbsp;&nbsp;&nbsp;
285
  <?php itro_slidebar( $opt_name[20] , $opt_val[20] , 0 , 200 , 1, 0, '') ?>
286
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:10px;" id="<?php echo $opt_name[20]; ?>" name="<?php echo $opt_name[20]; ?>" value="<?php echo $opt_val[20]; ?>" size="1">
287
  </div>
288
 
289
  <!-- border width !-->
@@ -291,7 +290,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
291
  <span style="float:left;" ><?php _e("Popup border width(px):", 'itro-plugin' ); ?></span>
292
  &nbsp;&nbsp;&nbsp;
293
  <?php itro_slidebar( $opt_name[27] , $opt_val[27] , 0 , 50 , 1, 0, '') ?>
294
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:10px;" id="<?php echo $opt_name[27]; ?>" name="<?php echo $opt_name[27]; ?>" value="<?php echo $opt_val[27]; ?>" size="1">
295
  </div>
296
 
297
  <!-- popup padding !-->
@@ -299,7 +298,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
299
  <span style="float:left;" ><?php _e("Popup padding(px):", 'itro-plugin' ); ?></span>
300
  &nbsp;&nbsp;&nbsp;
301
  <?php itro_slidebar( $opt_name[31] , $opt_val[31] , 0 , 100 , 1, 0, '') ?>
302
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:10px;" id="<?php echo $opt_name[31]; ?>" name="<?php echo $opt_name[31]; ?>" value="<?php echo $opt_val[31]; ?>" size="1">
303
  </div>
304
 
305
  <!-- background image !-->
@@ -333,7 +332,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
333
  <span style="float:left;" ><?php _e("Popup top margin(px):", 'itro-plugin' ); ?></span>
334
  &nbsp;&nbsp;&nbsp;
335
  <?php itro_slidebar( $opt_name[1] , $opt_val[1] , 0 , 750 , 5, 0, '') ?>
336
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:10px;" id="<?php echo $opt_name[1]; ?>" name="<?php echo $opt_name[1]; ?>" value="<?php echo $opt_val[1]; ?>" size="1">
337
  </div>
338
  <?php echo itro_show_hide(array('top_margin_slider'), $opt_name[30], 'table',false, array('yellow',300)); ?>
339
 
@@ -343,7 +342,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
343
  <span style="float:left;" ><?php _e("Background opacity", 'itro-plugin' ); ?> <img style="vertical-align:super; cursor:help" src="<?php echo itroImages . 'question_mark.png' ; ?>" title="<?php _e("Set the opacity of opaque background under the popup.",'itro-plugin');?>" ></span>
344
  &nbsp;&nbsp;&nbsp;
345
  <?php itro_slidebar( $opt_name[25] , $opt_val[25] , 0 , 1 , 0.05 , 2 , '' ) ?>
346
- <input type="text" style="color: #f6931f; font-weight: bold; position:relative; left:10px;" id="<?php echo $opt_name[25]; ?>" name="<?php echo $opt_name[25]; ?>" value="<?php echo $opt_val[25];?>" size="1">
347
  </div>
348
  <script type="text/javascript">
349
  document.getElementById("<?php echo $opt_name[25]; ?>_slider_container").addEventListener("mousedown", update, false);
@@ -436,7 +435,7 @@ if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isse
436
  <!-- A simple not annoying banner, please do not remove, we use it to quickly comunicate with you about premium and free! !-->
437
  <p class="wpstyle" onClick="jQuery('#premium_ads').toggle('blind');"><?php _e('ITRO Popup messages', 'itro-plugin'); ?> </p>
438
  <div id="premium_ads" style="text-align: center;">
439
- <a target="_blank" href="http://www.itro.eu/ccount12/click.php?id=5"><img title="TRY IT FOR FREE!!!" src="http://www.itroteam.com/plugins/premium_banner.png"></a>
440
  </div>
441
 
442
  <input type="hidden" name="<?php echo $submitted_form; ?>" value="Y">
135
  }
136
  }
137
 
 
138
  /* Put an settings updated message on the screen */
139
  if( isset($_POST[ $submitted_form ]) && $_POST[ $submitted_form ] == 'Y' || isset($_POST['delete_data_hidden']) && $_POST['delete_data_hidden'] == 'Y' ) {
140
  ?>
206
  <span style="float:left;" ><?php _e("Popup seconds:", 'itro-plugin' ); ?> <img style="vertical-align:super; cursor:help" src="<?php echo itroImages . 'question_mark.png' ; ?>" title="<?php _e("Set seconds until the popup automatically close. Set it to zero to disable countdown.",'itro-plugin');?>" ></span>
207
  &nbsp;&nbsp;&nbsp;
208
  <?php itro_slidebar( $opt_name[0] , $opt_val[0] , 0 , 120 , 1, 0, '') ?>
209
+ <input type="text" class="itro_text_input" id="<?php echo $opt_name[0]; ?>" name="<?php echo $opt_name[0]; ?>" value="<?php echo $opt_val[0]; ?>" size="1">
210
  </div>
211
 
212
  <!-- popup delay!-->
214
  <span style="float:left;" ><?php _e("Popup delay:", 'itro-plugin' ); ?> <img style="vertical-align:super; cursor:help" src="<?php echo itroImages . 'question_mark.png' ; ?>" title="<?php _e("Set seconds before the popup will be displayed",'itro-plugin');?>" ></span>
215
  &nbsp;&nbsp;&nbsp;
216
  <?php itro_slidebar( $opt_name[23] , $opt_val[23] , 0 , 120 , 1, 0, '') ?>
217
+ <input type="text" class="itro_text_input" id="<?php echo $opt_name[23]; ?>" name="<?php echo $opt_name[23]; ?>" value="<?php echo $opt_val[23]; ?>" size="1">
218
  </div>
219
 
220
  <!-- next time visualization !-->
222
  <span style="float:left;" ><?php _e("Next visualization (hours):", 'itro-plugin' ); ?> <img style="vertical-align:super; cursor:help" src="<?php echo itroImages . 'question_mark.png' ; ?>" title="<?php _e("Set time for the next visualization of popup, to prevent annoying repeated visualizations, when someone visit pages",'itro-plugin');?>" ></span>
223
  &nbsp;&nbsp;&nbsp;
224
  <?php itro_slidebar( $opt_name[2] , $opt_val[2] , 0 , 720 , 6, 0, '') ?>
225
+ <input type="text" class="itro_text_input" id="<?php echo $opt_name[2]; ?>" name="<?php echo $opt_name[2]; ?>" value="<?php echo $opt_val[2]; ?>" size="1">
226
  </div>
227
 
228
  <input value="<?php _e("Delete cookie", 'itro-plugin' ); ?>" type="button" class="button" onclick="itro_set_cookie('popup_cookie','one_time_popup',-100); jQuery('#cookie_msg').stop(true, true); jQuery('#cookie_msg').fadeIn(function() {jQuery('#cookie_msg').fadeOut(6000);});">
247
  &nbsp;&nbsp;&nbsp;
248
  <?php itro_slidebar( $opt_name[3] , $opt_val[3] , 0 , 1500 , 10, 0, 'px') ?>
249
  <?php itro_slidebar( $opt_name[3] , $opt_val[3] , 0 , 100 , 1, 0, 'perc') ?>
250
+ <input type="text" class="itro_text_input" style="<?php if( itro_get_option('select_' . $opt_name[3]) != 'px' ) { echo 'display:none;'; } ?>" id="<?php echo 'px_' . $opt_name[3]; ?>" name="<?php echo 'px_' . $opt_name[3]; ?>" value="<?php echo $px_opt_val[3]; ?>" size="1">
251
+ <input type="text" class="itro_text_input" style="<?php if( itro_get_option('select_' . $opt_name[3]) != 'perc' ) { echo 'display:none;'; } ?>" id="<?php echo 'perc_' . $opt_name[3]; ?>" name="<?php echo 'perc_' . $opt_name[3]; ?>" value="<?php echo $perc_opt_val[3]; ?>" size="1">
252
  <select id="select_<?php echo $opt_name[3]; ?>" name="select_<?php echo $opt_name[3]; ?>" style="position:relative; left:7px;">
253
  <option value="px" onClick="itro_enable_<?php echo $opt_name[3]; ?>('px')" <?php if(itro_get_option('select_' . $opt_name[3])=='px') {echo 'selected="select"';} ?>>px</option>
254
  <option value="perc" onClick="itro_enable_<?php echo $opt_name[3]; ?>('perc')" <?php if(itro_get_option('select_' . $opt_name[3])=='perc') {echo 'selected="select"';} ?>>%</option>
261
  &nbsp;&nbsp;&nbsp;
262
  <?php itro_slidebar( $opt_name[17] , $opt_val[17] , 0 , 750 , 5, 0, 'px') ?>
263
  <?php itro_slidebar( $opt_name[17] , $opt_val[17] , 0 , 100 , 1, 0, 'perc') ?>
264
+ <input type="text" class="itro_text_input" style="<?php if( itro_get_option('select_' . $opt_name[17]) != 'px' ) { echo 'display:none;'; } ?>" id="<?php echo 'px_' . $opt_name[17]; ?>" name="<?php echo 'px_' . $opt_name[17]; ?>" value="<?php echo $px_opt_val[17]; ?>" size="1">
265
+ <input type="text" class="itro_text_input" style="<?php if( itro_get_option('select_' . $opt_name[17]) != 'perc' ) { echo 'display:none;'; } ?>" id="<?php echo 'perc_' . $opt_name[17]; ?>" name="<?php echo 'perc_' . $opt_name[17]; ?>" value="<?php echo $perc_opt_val[17]; ?>" size="1">
266
  <select id="select_<?php echo $opt_name[17]; ?>" name="select_<?php echo $opt_name[17]; ?>" style="position:relative; left:7px;">
267
  <option value="px" onClick="itro_enable_<?php echo $opt_name[17]; ?>('px')" <?php if(itro_get_option('select_' . $opt_name[17])=='px') {echo 'selected="select"';} ?>>px</option>
268
  <option value="perc" onClick="itro_enable_<?php echo $opt_name[17]; ?>('perc')" <?php if(itro_get_option('select_' . $opt_name[17])=='perc') {echo 'selected="select"';} ?>>%</option>
282
  <span style="float:left;" ><?php _e("Popup border radius(px):", 'itro-plugin' ); ?></span>
283
  &nbsp;&nbsp;&nbsp;
284
  <?php itro_slidebar( $opt_name[20] , $opt_val[20] , 0 , 200 , 1, 0, '') ?>
285
+ <input type="text" class="itro_text_input" id="<?php echo $opt_name[20]; ?>" name="<?php echo $opt_name[20]; ?>" value="<?php echo $opt_val[20]; ?>" size="1">
286
  </div>
287
 
288
  <!-- border width !-->
290
  <span style="float:left;" ><?php _e("Popup border width(px):", 'itro-plugin' ); ?></span>
291
  &nbsp;&nbsp;&nbsp;
292
  <?php itro_slidebar( $opt_name[27] , $opt_val[27] , 0 , 50 , 1, 0, '') ?>
293
+ <input type="text" class="itro_text_input" id="<?php echo $opt_name[27]; ?>" name="<?php echo $opt_name[27]; ?>" value="<?php echo $opt_val[27]; ?>" size="1">
294
  </div>
295
 
296
  <!-- popup padding !-->
298
  <span style="float:left;" ><?php _e("Popup padding(px):", 'itro-plugin' ); ?></span>
299
  &nbsp;&nbsp;&nbsp;
300
  <?php itro_slidebar( $opt_name[31] , $opt_val[31] , 0 , 100 , 1, 0, '') ?>
301
+ <input type="text" class="itro_text_input" id="<?php echo $opt_name[31]; ?>" name="<?php echo $opt_name[31]; ?>" value="<?php echo $opt_val[31]; ?>" size="1">
302
  </div>
303
 
304
  <!-- background image !-->
332
  <span style="float:left;" ><?php _e("Popup top margin(px):", 'itro-plugin' ); ?></span>
333
  &nbsp;&nbsp;&nbsp;
334
  <?php itro_slidebar( $opt_name[1] , $opt_val[1] , 0 , 750 , 5, 0, '') ?>
335
+ <input type="text" class="itro_text_input" id="<?php echo $opt_name[1]; ?>" name="<?php echo $opt_name[1]; ?>" value="<?php echo $opt_val[1]; ?>" size="1">
336
  </div>
337
  <?php echo itro_show_hide(array('top_margin_slider'), $opt_name[30], 'table',false, array('yellow',300)); ?>
338
 
342
  <span style="float:left;" ><?php _e("Background opacity", 'itro-plugin' ); ?> <img style="vertical-align:super; cursor:help" src="<?php echo itroImages . 'question_mark.png' ; ?>" title="<?php _e("Set the opacity of opaque background under the popup.",'itro-plugin');?>" ></span>
343
  &nbsp;&nbsp;&nbsp;
344
  <?php itro_slidebar( $opt_name[25] , $opt_val[25] , 0 , 1 , 0.05 , 2 , '' ) ?>
345
+ <input type="text" class="itro_text_input" id="<?php echo $opt_name[25]; ?>" name="<?php echo $opt_name[25]; ?>" value="<?php echo $opt_val[25];?>" size="1">
346
  </div>
347
  <script type="text/javascript">
348
  document.getElementById("<?php echo $opt_name[25]; ?>_slider_container").addEventListener("mousedown", update, false);
435
  <!-- A simple not annoying banner, please do not remove, we use it to quickly comunicate with you about premium and free! !-->
436
  <p class="wpstyle" onClick="jQuery('#premium_ads').toggle('blind');"><?php _e('ITRO Popup messages', 'itro-plugin'); ?> </p>
437
  <div id="premium_ads" style="text-align: center;">
438
+ <a target="_blank" href="http://www.itro.eu"><img title="TRY IT FOR FREE!!!" src="http://www.itroteam.com/plugins/premium_banner.png"></a>
439
  </div>
440
 
441
  <input type="hidden" name="<?php echo $submitted_form; ?>" value="Y">
css/itro-admin-style.css ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Admin pages styles */
2
+ .wpstyle
3
+ {
4
+ background: linear-gradient(to top, rgb(236, 236, 236), rgb(249, 249, 249)) repeat scroll 0% 0% rgb(241, 241, 241);
5
+ padding: 7px 10px;
6
+ font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
7
+ border-radius: 3px 3px 3px 3px;
8
+ color: rgb(70, 70, 70);
9
+ border-bottom-color: rgb(223, 223, 223);
10
+ text-shadow: 0px 1px 0px rgb(255, 255, 255);
11
+ box-shadow: 0px 1px 0px rgb(255, 255, 255);
12
+ border-bottom-width: 1px;
13
+ border-bottom-style: solid;
14
+ -moz-user-select: none;
15
+ cursor: pointer;
16
+ }
17
+
18
+ .itro_text_input
19
+ {
20
+ width: 45px !important;
21
+ color: #f6931f !important;
22
+ font-weight: bold !important;
23
+ position: relative !important;
24
+ left: 10px !important;
25
+ }
26
+
27
+ #wp-custom_html-editor-container #custom_html_ifr
28
+ {
29
+ width: 510px !important;
30
+ }
31
+
32
+ #leftColumn
33
+ {
34
+ float:left;
35
+ width:510px;
36
+ }
37
+
38
+ #rightColumn
39
+ {
40
+ float:right;
41
+ margin-right:10%;
42
+ width:510px;
43
+ }
44
+
45
+ #rightColumn2
46
+ {
47
+ clear:right;
48
+ float:right;
49
+ margin-right:10%;
50
+ width:510px;
51
+ }
52
+
53
+ #customHtmlForm
54
+ {
55
+ overflow: show;
56
+ }
57
+
58
+ #donateForm
59
+ {
60
+ }
css/{itro-style.php → itro-style-functions.php} RENAMED
@@ -133,60 +133,4 @@ function itro_style() { ?>
133
  </style>
134
  <?php
135
  }
136
-
137
- function itro_admin_style ()
138
- { ?>
139
- <style>
140
- .wpstyle
141
- {
142
- background: linear-gradient(to top, rgb(236, 236, 236), rgb(249, 249, 249)) repeat scroll 0% 0% rgb(241, 241, 241);
143
- padding: 7px 10px;
144
- font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
145
- border-radius: 3px 3px 3px 3px;
146
- color: rgb(70, 70, 70);
147
- border-bottom-color: rgb(223, 223, 223);
148
- text-shadow: 0px 1px 0px rgb(255, 255, 255);
149
- box-shadow: 0px 1px 0px rgb(255, 255, 255);
150
- border-bottom-width: 1px;
151
- border-bottom-style: solid;
152
- -moz-user-select: none;
153
- cursor: pointer;
154
- }
155
-
156
- #wp-custom_html-editor-container #custom_html_ifr
157
- {
158
- width: 510px !important;
159
- }
160
-
161
- #leftColumn
162
- {
163
- float:left;
164
- width:510px;
165
- }
166
-
167
- #rightColumn
168
- {
169
- float:right;
170
- margin-right:10%;
171
- width:510px;
172
- }
173
-
174
- #rightColumn2
175
- {
176
- clear:right;
177
- float:right;
178
- margin-right:10%;
179
- width:510px;
180
- }
181
-
182
- #customHtmlForm
183
- {
184
- overflow: show;
185
- }
186
-
187
- #donateForm
188
- {
189
- }
190
- </style>
191
- <?php
192
- } ?>
133
  </style>
134
  <?php
135
  }
136
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.eu
11
- Version: 4.5.5
12
  Author URI: http://www.itro.eu/
13
  */
14
 
15
  global $ITRO_VER;
16
- $ITRO_VER = 4.55;
17
 
18
  define('itroPath', plugins_url() . '/itro-popup/');
19
  define('itroImages', plugins_url() . '/itro-popup/images/');
@@ -22,7 +22,7 @@ include_once ('functions/core-function.php');
22
  include_once ('functions/database-function.php');
23
  include_once ('functions/js-function.php');
24
  include_once ('templates/itro-popup-template.php');
25
- include_once ('css/itro-style.php');
26
  load_plugin_textdomain('itro-plugin', false, basename( dirname( __FILE__ ) ) . '/languages' );
27
 
28
  global $post;
@@ -43,6 +43,7 @@ function itro_admin_scripts()
43
  function itro_load_admin_styles()
44
  {
45
  wp_enqueue_style('thickbox');
 
46
  }
47
 
48
  function itro_load_script()
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.eu
11
+ Version: 4.5.6
12
  Author URI: http://www.itro.eu/
13
  */
14
 
15
  global $ITRO_VER;
16
+ $ITRO_VER = 4.56;
17
 
18
  define('itroPath', plugins_url() . '/itro-popup/');
19
  define('itroImages', plugins_url() . '/itro-popup/images/');
22
  include_once ('functions/database-function.php');
23
  include_once ('functions/js-function.php');
24
  include_once ('templates/itro-popup-template.php');
25
+ include_once ('css/itro-style-functions.php');
26
  load_plugin_textdomain('itro-plugin', false, basename( dirname( __FILE__ ) ) . '/languages' );
27
 
28
  global $post;
43
  function itro_load_admin_styles()
44
  {
45
  wp_enqueue_style('thickbox');
46
+ wp_enqueue_style('itro-admin-style', itroPath . 'css/itro-admin-style.css');
47
  }
48
 
49
  function itro_load_script()
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.itro.eu/index.php/donate/
4
  Tags: popup, popup message, popup box, popup ads, popup advertising, jquery popup, popup jquery, automatic popup, age restriction, popup block, popup violence, age validation popup, adult, adult content, content warning, content warning popup, fancy box, fancy popup, custom popup, advertising popup, pop-up, lightbox, lightbox popup
5
  Requires at least: 3.0.1
6
  Tested up to: 3.8
7
- Stable tag: 4.5.5
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -32,7 +32,7 @@ ITRO Popup Plugin - The BEST WP Popup Plugin
32
  ★ Great and fast support for all your problem with our popup plugin.
33
  ★ All in a very easy way to use!
34
 
35
- WANT MORE FEATURES? Try ITRO Popup Premium for free!
36
  [TRY IT FOR FREE!](http://www.itro.eu/)
37
 
38
  ITRO Popup is a very lightweight Plugin for Wordpress which allow users to add a fully-customizable and perfectly centered popup.
@@ -54,20 +54,21 @@ DONATE NOW! - KEEP IT FREE! [DONATE NOW](http://www.itro.eu/?page_id=396)
54
 
55
  For any problem, please contact us at our site: [CONTACT US](http://www.itro.eu/?page_id=247)
56
 
57
- ITRO Premium - more than popups...
 
58
 
59
- ON-CLICK POPUP to display the pop-up by clicking everything you want (texts, images, links, buttons…)
60
- RESPONSIVE POPUP for perfect visualization on every mobile device.
61
- SHORTCODE for popup visualization and to add contact form everywhere you want also without popups, and more...
62
- MAILCHIMP INTEGRATION fast and easy, via API Key and List ID.
63
- LINK CLICKS COUNTER is your little Analytics system! Want to control how impressive are your ads and messages? Do it by monitoring number of clicks on your specific link.
64
- CONTACT POPUP with fully customizable contact form (fields such as “Email” or “Name”…, field positioning, send button text, etc…) and SMTP Auth autoresponder, a secure way to send email which saves your e-address to be signed in ESP (Email Service Provider) spamming black-list.
65
- SUPPORT REQUEST MANAGEMENT SYSTEM allows you to easily manage requests sent by your visitors via contact form. This system prevent clients spamming you and much more. All integrated with Contact Popup, Autoresponder, and MailChimp.
66
- AUTORESPONDER to send only to your subscribers everithing you want, such as discount codes or secret links for file download. You can also set an email sending limit for free email account (@live, @gmail…) to avoid the account block from your mail provider.
67
- POPUP ANIMATION (bounce, explode, fold, etc… jQery no flash) to make you message more effective or simply more funny!
68
- SOCIAL POPUP to grow up you social pages subscribers! ( currently only Facebook integration).
69
- SHORTCODES work in the popup!
70
- ★ VIDEO EMBEDDING for a fast integration of your Youtube and Vimeo videos by simply inserting your video ID. The video automatically fit on popup dimension and you can select the aspect ratio.
71
 
72
  [TRY IT FOR FREE!](http://www.itro.eu/)
73
 
@@ -97,6 +98,9 @@ DONATE NOW! - HELP US TO DEVELOP FOR YOU! [DONATE NOW](http://www.itro.eu/?page_
97
  no screenshot avaliable
98
 
99
  == Changelog ==
 
 
 
100
  = 4.5.5 =
101
  New paypal donation form.
102
 
@@ -259,12 +263,8 @@ bug fixed: color table now works in admin pannel.
259
  First released version.
260
 
261
  == Upgrade Notice ==
262
- = 4.5.3 =
263
- Added French translation, deleted send_header function with IE metadata for compatibility,
264
- English errors found. Minor bug fixed.
265
-
266
- = 4.5.2 =
267
- Admin bug fixed for delete data on uninstall. Age validatition and popup delay bug fixed.
268
 
269
  == Notes ==
270
  FOR TUTORIAL AND FAQ VISIT THE OFFICIAL SITE [CLICK HERE!](http://www.itro.eu/?page_id=390)
4
  Tags: popup, popup message, popup box, popup ads, popup advertising, jquery popup, popup jquery, automatic popup, age restriction, popup block, popup violence, age validation popup, adult, adult content, content warning, content warning popup, fancy box, fancy popup, custom popup, advertising popup, pop-up, lightbox, lightbox popup
5
  Requires at least: 3.0.1
6
  Tested up to: 3.8
7
+ Stable tag: 4.5.6
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
32
  ★ Great and fast support for all your problem with our popup plugin.
33
  ★ All in a very easy way to use!
34
 
35
+ WANT MORE FEATURES? Try ITRO Wordpress Marketing for free!
36
  [TRY IT FOR FREE!](http://www.itro.eu/)
37
 
38
  ITRO Popup is a very lightweight Plugin for Wordpress which allow users to add a fully-customizable and perfectly centered popup.
54
 
55
  For any problem, please contact us at our site: [CONTACT US](http://www.itro.eu/?page_id=247)
56
 
57
+ Want a more powerful marketing tools?
58
+ Try ITRO Wordpress Marketing PRO with a 7 days free trial.
59
 
60
+ MULTIPLE POPUPS
61
+ ON-CLICK POPUP
62
+ RESPONSIVE POPUP
63
+ SHORTCODES (on click popup, automatic popup, contact forms...)
64
+ MAILCHIMP INTEGRATION with autoresponder different for each contact form
65
+ LINK CLICKS COUNTER (or DOWNLOAD COUNTER)
66
+ CONTACT POPUPS
67
+ SUPPORT REQUEST MANAGEMENT SYSTEM
68
+ SMTP AUTH AUTORESPONDER
69
+ ★ POPUP ANIMATIONS
70
+ SOCIAL POPUPS
71
+ ★ VIDEO EMBEDDING (Youtube and Vimeo)
72
 
73
  [TRY IT FOR FREE!](http://www.itro.eu/)
74
 
98
  no screenshot avaliable
99
 
100
  == Changelog ==
101
+ = 4.5.6 =
102
+ Admin style in proper css file. Shortcodes now work.
103
+
104
  = 4.5.5 =
105
  New paypal donation form.
106
 
263
  First released version.
264
 
265
  == Upgrade Notice ==
266
+ = 4.5.6 =
267
+ Admin style in proper css file. Shortcodes now work.
 
 
 
 
268
 
269
  == Notes ==
270
  FOR TUTORIAL AND FAQ VISIT THE OFFICIAL SITE [CLICK HERE!](http://www.itro.eu/?page_id=390)
templates/itro-popup-template.php CHANGED
@@ -28,7 +28,7 @@ function itro_popup_template()
28
  }?>
29
  <div id="popup_content"><?php
30
  $custom_field = stripslashes(itro_get_field('custom_html')); /* insert custom html code */
31
- echo str_replace("\r\n",'',$custom_field); /* return the string whitout new line */
32
  if ( itro_get_option('age_restriction') == 'yes' )
33
  {?>
34
  <p id="age_button_area" align="center">
28
  }?>
29
  <div id="popup_content"><?php
30
  $custom_field = stripslashes(itro_get_field('custom_html')); /* insert custom html code */
31
+ echo do_shortcode( str_replace("\r\n",'',$custom_field) ); /* return the string whitout new line */
32
  if ( itro_get_option('age_restriction') == 'yes' )
33
  {?>
34
  <p id="age_button_area" align="center">