WordPress.org

Plugin Directory


Ignore:
Timestamp:
04/12/09 23:10:10 (5 years ago)
Author:
mark8barnes
Message:
 
Location:
sermon-browser/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sermon-browser/trunk/sb-includes/frontend.php

    r109985 r110084  
    574574// Print link to attached files 
    575575function sb_print_url($url) { 
    576     // Replacement htmlspecialchars_decode for PHP < 5.1 
    577     if (!function_exists("htmlspecialchars_decode")) { 
    578         function htmlspecialchars_decode($string, $quote_style = ENT_COMPAT) { 
    579             return strtr($string, array_flip(get_html_translation_table(HTML_SPECIALCHARS, $quote_style))); 
    580         } 
    581     } 
    582576    global $siteicons, $default_site_icon ,$filetypes; 
    583577    $pathinfo = pathinfo($url); 
    584578    $ext = $pathinfo['extension']; 
    585579    if (substr($url,0,7) == "http://") { 
    586         $url=sb_display_url().htmlspecialchars_decode(sb_query_char()).'show&url='.URLencode($url); 
     580        $url=sb_display_url().sb_query_char(FALSE).'show&url='.URLencode($url); 
    587581    } else { 
    588582        if (strtolower($ext) == 'mp3' && function_exists('ap_insert_player_widgets')) { 
    589             $url=sb_display_url().htmlspecialchars_decode(sb_query_char()).'show&file_name='.URLencode($url); 
     583            $url=sb_display_url().sb_query_char(FALSE).'show&file_name='.URLencode($url); 
    590584        } else { 
    591             $url=sb_display_url().htmlspecialchars_decode(sb_query_char()).'download&file_name='.URLencode($url); 
    592         } 
    593     } 
    594     $icon_url = sb_get_value('plugin_url').'/sb-includes/icons/'; 
     585            $url=sb_display_url().sb_query_char(FALSE).'download&file_name='.URLencode($url); 
     586        } 
     587    }   $icon_url = sb_get_value('plugin_url').'/sb-includes/icons/'; 
    595588    $uicon = $default_site_icon; 
    596589    foreach ($siteicons as $site => $icon) { 
  • sermon-browser/trunk/sermon.php

    r109985 r110084  
    55Description: Add sermons to your Wordpress blog. Coding by <a href="http://codeandmore.com/">Tien Do Xuan</a> and  
    66Author: Mark Barnes 
    7 Version: 0.42.1 
     7Version: 0.42.2 
    88Author URI: http://www.4-14.org.uk/ 
    99 
     
    3030 
    3131//Set global constants 
    32 define('SB_CURRENT_VERSION', '0.42.1'); 
     32define('SB_CURRENT_VERSION', '0.42.2'); 
    3333define('SB_DATABASE_VERSION', '1.5'); 
    3434 
Note: See TracChangeset for help on using the changeset viewer.