Changeset 190383
- Timestamp:
- 01/06/2010 12:51:56 AM (16 years ago)
- Location:
- wp-popup-scheduler/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-popup-scheduler.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-popup-scheduler/trunk/readme.txt
r189192 r190383 2 2 Contributors: Damien Oh 3 3 Donate link: http://maketecheasier.com/wordpress-plugins/wordpress-popup-scheduler 4 Stable tag: tag/1.2.8. 14 Stable tag: tag/1.2.8.2 5 5 Tags: popup, popup scheduler, 6 6 Requires at least: 2.3.0 7 Tested up to: 2.9 7 Tested up to: 2.9.1 8 8 9 9 Description: A multi purpose popup scheduler that blog owner can use to deliver their message effectively to their readers. … … 46 46 47 47 == Logs == 48 1.2.8.2 - Fixed a forward slashes bug in the content area 48 49 1.2.8.1 - Fixed a bug where users cannot use apostrophe in the content. 49 50 1.2.8 - Added autoscroll feature. WP2.8.4 compatible -
wp-popup-scheduler/trunk/wp-popup-scheduler.php
r189192 r190383 5 5 Plugin URI: http://maketecheasier.com/ 6 6 Description: Wp Popup Scheduler allows you to add a popup box to your blog. You can customize the popup to suit your blog theme and schedule it to popup as and when you like it. 7 Version: 1.2.8. 17 Version: 1.2.8.2 8 8 Author: Damien Oh 9 9 Author URI: http://maketecheasier.com/about … … 538 538 $popup_content =""; 539 539 $closetext = '<span style="color:'.$WPS['closetext_color'].'">'.$WPS['close_text'].'</span>'; 540 $popup_title = '<span style="color:'.$WPS['headline_color'].'">'. addslashes($WPS['popup_title']).'</span>';540 $popup_title = '<span style="color:'.$WPS['headline_color'].'">'.popup_addslashes($WPS['popup_title']).'</span>'; 541 541 if($display_effect == "lightbox") 542 { $popup_content = '<div class="wps_closewin_text"><a href="" onclick="document.getElementById(\\\'WPS_popup_message\\\').style.visibility=\\\'hidden\\\';document.getElementById(\\\'lightbox_div\\\').style.visibility=\\\'hidden\\\';return false;">'.$closetext.'</a></div><div class="wps_headline"><h2 align="'.$WPS['headline_align'].'">'.$popup_title.'</h2></div><div class="wps_body">'.htmlspecialchars_decode( addslashes($WPS['display_message'])).'</div>';542 { $popup_content = '<div class="wps_closewin_text"><a href="" onclick="document.getElementById(\\\'WPS_popup_message\\\').style.visibility=\\\'hidden\\\';document.getElementById(\\\'lightbox_div\\\').style.visibility=\\\'hidden\\\';return false;">'.$closetext.'</a></div><div class="wps_headline"><h2 align="'.$WPS['headline_align'].'">'.$popup_title.'</h2></div><div class="wps_body">'.htmlspecialchars_decode(popup_addslashes($WPS['display_message'])).'</div>'; 543 543 }else 544 { $popup_content = '<div class="wps_closewin_text"><a href="" onclick="document.getElementById(\\\'WPS_popup_message\\\').style.visibility=\\\'hidden\\\';return false;">'.$closetext.'</a></div><div class="wps_headline"><h2 align="'.$WPS['headline_align'].'">'.$popup_title.'</h2></div><div class="wps_body">'.htmlspecialchars_decode( addslashes($WPS['display_message'])).'</div>';544 { $popup_content = '<div class="wps_closewin_text"><a href="" onclick="document.getElementById(\\\'WPS_popup_message\\\').style.visibility=\\\'hidden\\\';return false;">'.$closetext.'</a></div><div class="wps_headline"><h2 align="'.$WPS['headline_align'].'">'.$popup_title.'</h2></div><div class="wps_body">'.htmlspecialchars_decode(popup_addslashes($WPS['display_message'])).'</div>'; 545 545 } 546 546 $cur_url = retrieveURL(); … … 610 610 } 611 611 612 function popup_addslashes($str) 613 { 614 $str1 = addslashes($str); 615 $str1 = str_replace('/','\/',$str1); 616 return $str1; 617 } 612 618 function retrieveURL() { 613 619 $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
Note: See TracChangeset
for help on using the changeset viewer.