Changeset 748934
- Timestamp:
- 07/31/2013 08:52:24 PM (13 years ago)
- Location:
- sermon-browser/trunk
- Files:
-
- 4 edited
-
sb-includes/frontend.php (modified) (3 diffs)
-
sb-includes/sb-install.php (modified) (1 diff)
-
sb-includes/upgrade.php (modified) (1 diff)
-
sermon.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sermon-browser/trunk/sb-includes/frontend.php
r737860 r748934 375 375 $end_verse = trim($end['verse']); 376 376 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>"; 379 379 } 380 380 if ($start_book == $end_book) { … … 622 622 $cnt[$tag->name] = 1; 623 623 } 624 unset($cnt['']); 624 625 $fontrange = $maxfont - $minfont; 625 626 $maxcnt = 0; … … 627 628 foreach ($cnt as $cur) { 628 629 if ($cur > $maxcnt) $maxcnt = $cur; 629 if ($cur < $mincnt) $minc t = $cur;630 if ($cur < $mincnt) $mincnt = $cur; 630 631 } 631 632 $cntrange = $maxcnt + 1 - $mincnt; -
sermon-browser/trunk/sb-includes/sb-install.php
r723323 r748934 145 145 sb_update_option('search_output', strtr(sb_default_multi_template(), sb_search_results_dictionary())); 146 146 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'); 148 148 foreach ($books as $book) 149 149 $wpdb->query("INSERT INTO {$wpdb->prefix}sb_books VALUES (null, '{$book}')"); -
sermon-browser/trunk/sb-includes/upgrade.php
r385616 r748934 147 147 sb_update_option('db_version', '1.6'); 148 148 case '1.6' : 149 sb_update_option('mp3_shortcode', '[audio :%SERMONURL%]');149 sb_update_option('mp3_shortcode', '[audio mp3="%SERMONURL%"]'); 150 150 sb_update_option('db_version', '1.7'); 151 151 return; -
sermon-browser/trunk/sermon.php
r737860 r748934 5 5 Description: Upload sermons to your website, where they can be searched, listened to, and downloaded. Easy to use with comprehensive help and tutorials. 6 6 Author: Mark Barnes 7 Version: 0.45. 97 Version: 0.45.10 8 8 Author URI: http://www.4-14.org.uk/ 9 9 … … 54 54 * @package common_functions 55 55 */ 56 define('SB_CURRENT_VERSION', '0.45. 9');56 define('SB_CURRENT_VERSION', '0.45.10'); 57 57 define('SB_DATABASE_VERSION', '1.7'); 58 58 sb_define_constants();
Note: See TracChangeset
for help on using the changeset viewer.