WordPress.org

Plugin Directory

Changeset 83055 for sermon-browser/trunk


Ignore:
Timestamp:
12/30/08 12:12:13 (5 years ago)
Author:
mark8barnes
Message:
 
Location:
sermon-browser/trunk
Files:
2 edited

Legend:

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

    r79270 r83055  
    8585function sb_first_mp3($sermon, $stats= TRUE) { 
    8686    $user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; 
    87     if (stripos($user_agent, 'itunes')===TRUE | stripos($user_agent, 'FeedBurner')===TRUE) 
     87    if (stripos($user_agent, 'itunes')!==FALSE | stripos($user_agent, 'feedburner')!==FALSE) 
    8888        $stats = FALSE; 
    8989    $stuff = sb_get_stuff($sermon, true); 
  • sermon-browser/trunk/sermon.php

    r79270 r83055  
    55Description: Add sermons to your Wordpress blog. Main coding by <a href="http://codeandmore.com/">Tien Do Xuan</a>. Design and additional coding 
    66Author: Mark Barnes 
    7 Version: 0.40 
     7Version: 0.40.1 
    88Author URI: http://www.4-14.org.uk/ 
    99 
     
    3030 
    3131//Set global constants 
    32 define('SB_CURRENT_VERSION', '0.40'); 
     32define('SB_CURRENT_VERSION', '0.40.1'); 
    3333define('SB_DATABASE_VERSION', '1.5'); 
    3434 
    35   
    3635add_action('init', 'sb_sermon_init');                           // Initialise the plugin 
    3736add_action('template_redirect', 'sb_hijack');                   // Check for file download or feed output 
     
    26932692    } 
    26942693} 
    2695              
     2694 
     2695// stripos function for PHP <5 
     2696if (!function_exists("stripos")) { 
     2697    function stripos($haystack, $needle, $offset=0) { 
     2698        return strpos(strtolower($haystack), strtolower($needle), $offset); 
     2699    } 
     2700} 
    26962701 
    26972702/*************************************** 
Note: See TracChangeset for help on using the changeset viewer.