Plugin Directory

Changeset 748934


Ignore:
Timestamp:
07/31/2013 08:52:24 PM (13 years ago)
Author:
bhengh
Message:

Updating to 0.45.10 (three bug fixes)

Location:
sermon-browser/trunk
Files:
4 edited

Legend:

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

    r737860 r748934  
    375375    $end_verse = trim($end['verse']);
    376376    if ($add_link) {
    377         $start_book = "<a href=\"".sb_get_book_link($start_book, $relative_link)."\">{$start_book}</a>";
    378         $end_book = "<a href=\"".sb_get_book_link($end_book, $relative_link)."\">{$end_book}</a>";
     377        $start_book = "<a href=\"".sb_get_book_link(trim($start['book']), $relative_link)."\">{$start_book}</a>";
     378        $end_book = "<a href=\"".sb_get_book_link(trim($end['book']), $relative_link)."\">{$end_book}</a>";
    379379    }
    380380    if ($start_book == $end_book) {
     
    622622            $cnt[$tag->name] = 1;
    623623    }
     624    unset($cnt['']);
    624625    $fontrange = $maxfont - $minfont;
    625626    $maxcnt = 0;
     
    627628    foreach ($cnt as $cur) {
    628629        if ($cur > $maxcnt) $maxcnt = $cur;
    629         if ($cur < $mincnt) $minct = $cur;
     630        if ($cur < $mincnt) $mincnt = $cur;
    630631    }
    631632    $cntrange = $maxcnt + 1 - $mincnt;
  • sermon-browser/trunk/sb-includes/sb-install.php

    r723323 r748934  
    145145    sb_update_option('search_output', strtr(sb_default_multi_template(), sb_search_results_dictionary()));
    146146    sb_update_option('single_output', strtr(sb_default_single_template(), sb_sermon_page_dictionary()));
    147     $books = sb_get_default('bible_books');
     147    $books = sb_get_default('eng_bible_books');
    148148    foreach ($books as $book)
    149149        $wpdb->query("INSERT INTO {$wpdb->prefix}sb_books VALUES (null, '{$book}')");
  • sermon-browser/trunk/sb-includes/upgrade.php

    r385616 r748934  
    147147            sb_update_option('db_version', '1.6');
    148148        case '1.6' :
    149             sb_update_option('mp3_shortcode', '[audio:%SERMONURL%]');
     149            sb_update_option('mp3_shortcode', '[audio mp3="%SERMONURL%"]');
    150150            sb_update_option('db_version', '1.7');
    151151            return;
  • sermon-browser/trunk/sermon.php

    r737860 r748934  
    55Description: Upload sermons to your website, where they can be searched, listened to, and downloaded. Easy to use with comprehensive help and tutorials.
    66Author: Mark Barnes
    7 Version: 0.45.9
     7Version: 0.45.10
    88Author URI: http://www.4-14.org.uk/
    99
     
    5454* @package common_functions
    5555*/
    56 define('SB_CURRENT_VERSION', '0.45.9');
     56define('SB_CURRENT_VERSION', '0.45.10');
    5757define('SB_DATABASE_VERSION', '1.7');
    5858sb_define_constants();
Note: See TracChangeset for help on using the changeset viewer.