WordPress.org

Plugin Directory

Changeset 67002 for sermon-browser/trunk


Ignore:
Timestamp:
10/01/08 00:45:02 (6 years ago)
Author:
mark8barnes
Message:
 
Location:
sermon-browser/trunk
Files:
5 edited

Legend:

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

    r57080 r67002  
    6363        '[ylttext]' => '<?php for ($i = 0; $i < count($sermon["Sermon"]->start); $i++): echo sb_add_bible_text ($sermon["Sermon"]->start[$i], $sermon["Sermon"]->end[$i], "ylt"); endfor ?>', 
    6464        '[webtext]' => '<?php for ($i = 0; $i < count($sermon["Sermon"]->start); $i++): echo sb_add_bible_text ($sermon["Sermon"]->start[$i], $sermon["Sermon"]->end[$i], "web"); endfor ?>', 
     65        '[akjvtext]' => '<?php for ($i = 0; $i < count($sermon["Sermon"]->start); $i++): echo sb_add_bible_text ($sermon["Sermon"]->start[$i], $sermon["Sermon"]->end[$i], "akjv"); endfor ?>', 
     66        '[hnvtext]' => '<?php for ($i = 0; $i < count($sermon["Sermon"]->start); $i++): echo sb_add_bible_text ($sermon["Sermon"]->start[$i], $sermon["Sermon"]->end[$i], "hnv"); endfor ?>', 
    6567        '[biblepassage]' => '<?php for ($i = 0; $i < count($sermon["Sermon"]->start); $i++): sb_print_bible_passage ($sermon["Sermon"]->start[$i], $sermon["Sermon"]->end[$i]); endfor ?>', 
    6668        '[editlink]' => '<?php sb_edit_link($_GET["sermon_id"]) ?>', 
  • sermon-browser/trunk/sb-includes/frontend.php

    r58027 r67002  
    2323        $pageid = $wpdb->get_var("SELECT ID FROM {$wpdb->posts} WHERE post_content LIKE '%[sermons]%' AND post_status = 'publish' AND post_date < NOW();"); 
    2424        $display_url = get_permalink($pageid); 
     25        if ($display_url == sb_get_value('wordpress_url')|$display_url =="") { // Hack to force true permalink even if page used for front page. 
     26            $display_url = sb_get_value('wordpress_url')."/?page_id=".$pageid; 
     27        } 
    2528    } 
    2629    return $display_url; 
     
    148151    } 
    149152    else { 
    150         $books = sb_bible_books(); 
     153        $books = sb_get_value('bible_books'); 
    151154        $r1 = array_search($start['book'], $books)+1; 
    152155        $r2 = $start['chapter']; 
     
    863866 
    864867?>   
    865     <form method="post" id="sermon-filter"> 
     868    <form method="post" id="sermon-filter" action="<?php echo sb_display_url(); ?>"> 
    866869        <div style="clear:both"> 
    867870            <table class="sermonbrowser"> 
  • sermon-browser/trunk/sb-includes/readme.txt

    r57080 r67002  
    196196* **[ylttext]** - Displays the full text of the YLT Bible for all passages linked to that sermon. 
    197197* **[webtext]** - Displays the full text of the WEB Bible for all passages linked to that sermon. 
     198* **[akjvtext]** - Displays the full text of the AKJV Bible for all passages linked to that sermon. 
     199* **[hnvtext]** - Displays the full text of the HNV Bible for all passages linked to that sermon. 
    198200* **[biblepassage]** - Displays the reference of the bible passages for that sermon. Useful for utilising other bible plugins (see FAQ). 
  • sermon-browser/trunk/sb-includes/style.php

    r57227 r67002  
    3838 
    3939?> 
    40  
  • sermon-browser/trunk/sermon.php

    r58027 r67002  
    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.35 
     7Version: 0.36 
    88Author URI: http://www.4-14.org.uk/ 
    99 
     
    2828 ** Set up                            ** 
    2929 **************************************/ 
    30 define('SB_CURRENT_VERSION', '0.35'); 
     30define('SB_CURRENT_VERSION', '0.36'); 
    3131define('SB_DATABASE_VERSION', '1.5'); 
    3232$directories = explode(DIRECTORY_SEPARATOR,dirname(__FILE__)); 
     
    21302130            <li><b>[sameday_sermon]</b> - Displays a link to other sermons preached on that day</li> 
    21312131            <li><b>[tags]</b> - Displays the tags for that sermons</li> 
    2132             <li><b>[esvtext]</b> - Displays the full text of the ESV Bible for all passages linked to that sermon.</li> 
    2133             <li><b>[asvtext]</b> - Displays the full text of the ASV Bible for all passages linked to that sermon.</li> 
    2134             <li><b>[kjvtext]</b> - Displays the full text of the KJV Bible for all passages linked to that sermon.</li> 
    2135             <li><b>[ylttext]</b> - Displays the full text of the YLT Bible for all passages linked to that sermon.</li> 
    2136             <li><b>[webtext]</b> - Displays the full text of the WEB Bible for all passages linked to that sermon.</li> 
     2132            <li><b>[esvtext]</b> - Displays the full text of the <a href="http://www.gnpcb.org/esv/">ESV Bible</a> for all passages linked to that sermon.</li> 
     2133            <li><b>[asvtext]</b> - Displays the full text of the <a href="http://en.wikipedia.org/wiki/American_Standard_Version">ASV Bible</a> for all passages linked to that sermon.</li> 
     2134            <li><b>[kjvtext]</b> - Displays the full text of the <a href="http://en.wikipedia.org/wiki/Authorized_King_James_Version">KJV</a> Bible for all passages linked to that sermon.</li> 
     2135            <li><b>[ylttext]</b> - Displays the full text of the <a href="http://en.wikipedia.org/wiki/Young%27s_Literal_Translation">YLT</a> Bible for all passages linked to that sermon.</li> 
     2136            <li><b>[webtext]</b> - Displays the full text of the <a href="http://ebible.org/bible/web/">WEB</a> Bible for all passages linked to that sermon.</li> 
     2137            <li><b>[webtext]</b> - Displays the full text of the <a href="http://www.angelfire.com/al4/allenkc/akjv/">AKJV</a> Bible for all passages linked to that sermon.</li> 
     2138            <li><b>[webtext]</b> - Displays the full text of the <a href="http://ebible.org/bible/hnv/">HNV</a> Bible for all passages linked to that sermon.</li> 
    21372139            <li><b>[biblepassage]</b> - Displays the reference of the bible passages for that sermon. Useful for utilising other bible plugins (see <a href="#otherversions">FAQ</a>).</li> 
    21382140    </div> 
     
    24262428    return false; 
    24272429} 
    2428  
    24292430// Recursive mkdir function 
    24302431function sb_mkdir($pathname, $mode=0777) { 
     
    25462547} 
    25472548             
    2548  
    25492549 
    25502550/*************************************** 
     
    26412641    </table> 
    26422642    [esvtext] 
    2643     <!--[creditlink]--> 
     2643    [creditlink] 
    26442644</div> 
    26452645HERE; 
Note: See TracChangeset for help on using the changeset viewer.