Plugin Directory

Changeset 190383


Ignore:
Timestamp:
01/06/2010 12:51:56 AM (16 years ago)
Author:
DamienOh
Message:
 
Location:
wp-popup-scheduler/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-popup-scheduler/trunk/readme.txt

    r189192 r190383  
    22Contributors: Damien Oh
    33Donate link: http://maketecheasier.com/wordpress-plugins/wordpress-popup-scheduler
    4 Stable tag: tag/1.2.8.1
     4Stable tag: tag/1.2.8.2
    55Tags: popup, popup scheduler,
    66Requires at least: 2.3.0
    7 Tested up to: 2.9
     7Tested up to: 2.9.1
    88
    99Description: A multi purpose popup scheduler that blog owner can use to deliver their message effectively to their readers.
     
    4646
    4747== Logs ==
     481.2.8.2 - Fixed a forward slashes bug in the content area
    48491.2.8.1 - Fixed a bug where users cannot use apostrophe in the content.
    49501.2.8 - Added autoscroll feature. WP2.8.4 compatible
  • wp-popup-scheduler/trunk/wp-popup-scheduler.php

    r189192 r190383  
    55Plugin URI: http://maketecheasier.com/
    66Description: 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.1
     7Version: 1.2.8.2
    88Author: Damien Oh
    99Author URI: http://maketecheasier.com/about
     
    538538    $popup_content ="";
    539539    $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>';
    541541    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>';
    543543    }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>';
    545545    }
    546546    $cur_url = retrieveURL();
     
    610610}
    611611
     612function popup_addslashes($str)
     613{
     614    $str1 = addslashes($str);
     615    $str1 = str_replace('/','\/',$str1);
     616    return $str1;
     617}
    612618function retrieveURL() {
    613619    $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
Note: See TracChangeset for help on using the changeset viewer.