WordPress.org

Plugin Directory

Changeset 51345 for sermon-browser/trunk


Ignore:
Timestamp:
06/21/08 00:49:17 (6 years ago)
Author:
mark8barnes
Message:
 
Location:
sermon-browser/trunk
Files:
4 edited

Legend:

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

    r51332 r51345  
    2828    '[itunes_podcast]' => '<?php echo str_replace("http://", "itpc://", get_option("sb_podcast")) ?>', 
    2929    '[itunes_podcast_for_search]' => '<?php echo str_replace("http://", "itpc://", sb_podcast_url()) ?>', 
    30     '[podcasticon]' => '<img alt="Subscribe to full podcast" title="Subscribe to full podcast" class="podcasticon" src="<?php echo get_bloginfo("wpurl") ?>/wp-content/plugins/sermonbrowser/icons/podcast.png"/>', 
    31     '[podcasticon_for_search]' => '<img alt="Subscribe to custom podcast" title="Subscribe to custom podcast" class="podcasticon" src="<?php echo get_bloginfo("wpurl") ?>/wp-content/plugins/sermonbrowser/icons/podcast_custom.png"/>', 
     30    '[podcasticon]' => '<img alt="Subscribe to full podcast" title="Subscribe to full podcast" class="podcasticon" src="<?php echo get_bloginfo("wpurl") ?>/wp-content/plugins/sermon-browser/icons/podcast.png"/>', 
     31    '[podcasticon_for_search]' => '<img alt="Subscribe to custom podcast" title="Subscribe to custom podcast" class="podcasticon" src="<?php echo get_bloginfo("wpurl") ?>/wp-content/plugins/sermon-browser/icons/podcast_custom.png"/>', 
    3232    '[creditlink]' => '<div id="poweredbysermonbrowser">Powered by <a href="http://www.4-14.org.uk/sermon-browser">Sermon Browser</a></div>', 
    3333); 
  • sermon-browser/trunk/frontend.php

    r51332 r51345  
    222222        header('Content-Type: application/rss+xml'); 
    223223        echo '<?xml version="1.0" encoding="UTF-8"?>'; 
    224         include($wordpressRealPath.'/wp-content/plugins/sermonbrowser/podcast.php'); 
     224        include($wordpressRealPath.'/wp-content/plugins/sermon-browser/podcast.php'); 
    225225        die(); 
    226226    } 
     
    241241        $clr = true; 
    242242        $sermon = sb_get_single_sermon((int) $_GET['sermon_id']); 
    243         include($wordpressRealPath.'/wp-content/plugins/sermonbrowser/single.php'); 
     243        include($wordpressRealPath.'/wp-content/plugins/sermon-browser/single.php'); 
    244244    } else { 
    245245        $clr = false; 
     
    260260        $_REQUEST['page'] ? $_REQUEST['page'] : 1            
    261261        ); 
    262         include($wordpressRealPath.'/wp-content/plugins/sermonbrowser/multi.php');       
     262        include($wordpressRealPath.'/wp-content/plugins/sermon-browser/multi.php');      
    263263    }            
    264264    $content = str_replace('[sermons]', ob_get_contents(), $content); 
     
    287287?> 
    288288    <link rel="alternate" type="application/rss+xml" title="<?php _e('Sermon podcast', $sermon_domain) ?>" href="<?php echo get_option('sb_podcast') ?>" /> 
    289     <link rel="stylesheet" href="<?php echo $url ?>/wp-content/plugins/sermonbrowser/datepicker.css" type="text/css"/> 
    290     <link rel="stylesheet" href="<?php echo $url ?>/wp-content/plugins/sermonbrowser/style.css" type="text/css"/> 
     289    <link rel="stylesheet" href="<?php echo $url ?>/wp-content/plugins/sermon-browser/datepicker.css" type="text/css"/> 
     290    <link rel="stylesheet" href="<?php echo $url ?>/wp-content/plugins/sermon-browser/style.css" type="text/css"/> 
    291291    <script type="text/javascript" src="<?php echo $url ?>/wp-includes/js/jquery/jquery.js"></script> 
    292     <script type="text/javascript" src="<?php echo $url ?>/wp-content/plugins/sermonbrowser/datePicker.js"></script> 
     292    <script type="text/javascript" src="<?php echo $url ?>/wp-content/plugins/sermon-browser/datePicker.js"></script> 
    293293<?php 
    294294} 
     
    443443function sb_print_url($url) { 
    444444    global $siteicons, $default_site_icon ,$filetypes; 
    445     $icon_url = get_bloginfo('wpurl').'/wp-content/plugins/sermonbrowser/icons/'; 
     445    $icon_url = get_bloginfo('wpurl').'/wp-content/plugins/sermon-browser/icons/'; 
    446446    $uicon = $default_site_icon; 
    447447    foreach ($siteicons as $site => $icon) { 
  • sermon-browser/trunk/multi.php

    r51332 r51345  
    22    <h2>Filters</h2>         
    33    <?php sb_print_filters() ?> 
    4     <div style="clear:both"><div class="podcastcustom"><a href="<?php echo sb_podcast_url() ?>"><img alt="Subscribe to custom podcast" title="Subscribe to custom podcast" class="podcasticon" src="<?php echo get_bloginfo("wpurl") ?>/wp-content/plugins/sermonbrowser/icons/podcast_custom.png"/></a><span><a href="<?php echo sb_podcast_url() ?>">Subscribe to custom podcast</a></span><br />(new sermons that match this <b>search</b>)</div><div class="podcastall"><a href="<?php echo get_option("sb_podcast") ?>"><img alt="Subscribe to full podcast" title="Subscribe to full podcast" class="podcasticon" src="<?php echo get_bloginfo("wpurl") ?>/wp-content/plugins/sermonbrowser/icons/podcast.png"/></a><span><a href="<?php echo get_option("sb_podcast") ?>">Subscribe to full podcast</a></span><br />(<b>all</b> new sermons)</div> 
     4    <div style="clear:both"><div class="podcastcustom"><a href="<?php echo sb_podcast_url() ?>"><img alt="Subscribe to custom podcast" title="Subscribe to custom podcast" class="podcasticon" src="<?php echo get_bloginfo("wpurl") ?>/wp-content/plugins/sermon-browser/icons/podcast_custom.png"/></a><span><a href="<?php echo sb_podcast_url() ?>">Subscribe to custom podcast</a></span><br />(new sermons that match this <b>search</b>)</div><div class="podcastall"><a href="<?php echo get_option("sb_podcast") ?>"><img alt="Subscribe to full podcast" title="Subscribe to full podcast" class="podcasticon" src="<?php echo get_bloginfo("wpurl") ?>/wp-content/plugins/sermon-browser/icons/podcast.png"/></a><span><a href="<?php echo get_option("sb_podcast") ?>">Subscribe to full podcast</a></span><br />(<b>all</b> new sermons)</div> 
    55</div> 
    66    <h2>Sermons (<?php sb_print_sermons_count() ?>)</h2>     
  • sermon-browser/trunk/sermon.php

    r51338 r51345  
    2727// Localization and set-up 
    2828require_once('dictionary.php'); // Template functions 
    29 $sermon_domain = 'sermonbrowser'; 
    30 load_plugin_textdomain($sermon_domain, 'wp-content/plugins/sermonbrowser'); 
     29$sermon_domain = 'sermon-browser'; 
     30load_plugin_textdomain($sermon_domain, 'wp-content/plugins/sermon-browser'); 
    3131include_once('filetypes.php'); // User-defined icons 
    3232include('frontend.php'); // Everything related to displaying sermons 
     
    158158                <td><?php echo stripslashes($sermon->ssname) ?></td> 
    159159                <td style="text-align:center"> 
    160                     <a href="<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/new_sermon.php&mid=<?php echo $sermon->id ?>"><?php _e('Edit', $sermon_domain) ?></a> | <a onclick="return confirm('Are you sure?')" href="<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php&mid=<?php echo $sermon->id ?>"><?php _e('Delete', $sermon_domain) ?></a> 
     160                    <a href="<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/new_sermon.php&mid=<?php echo $sermon->id ?>"><?php _e('Edit', $sermon_domain) ?></a> | <a onclick="return confirm('Are you sure?')" href="<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php&mid=<?php echo $sermon->id ?>"><?php _e('Delete', $sermon_domain) ?></a> 
    161161                </td> 
    162162            </tr> 
     
    430430    add_menu_page(__('Sermons', $sermon_domain), __('Sermons', $sermon_domain), 'edit_posts', __FILE__, 'sb_manage_sermons'); 
    431431    add_submenu_page(__FILE__, __('Sermons', $sermon_domain), __('Sermons', $sermon_domain), 'edit_posts', __FILE__, 'sb_manage_sermons'); 
    432     add_submenu_page(__FILE__, __('New Sermon', $sermon_domain), __('New Sermon', $sermon_domain), 'publish_posts', 'sermonbrowser/new_sermon.php', 'sb_new_sermon'); 
    433     add_submenu_page(__FILE__, __('Preachers', $sermon_domain), __('Preachers', $sermon_domain), 'manage_categories', 'sermonbrowser/preachers.php', 'sb_manage_preachers'); 
    434     add_submenu_page(__FILE__, __('Series &amp; Services', $sermon_domain), __('Series &amp; Services', $sermon_domain), 'manage_categories', 'sermonbrowser/manage.php', 'sb_manage_everything'); 
    435     add_submenu_page(__FILE__, __('Uploads', $sermon_domain), __('Uploads', $sermon_domain), 'upload_files', 'sermonbrowser/uploads.php', 'sb_uploads'); 
    436     add_submenu_page(__FILE__, __('Options', $sermon_domain), __('Options', $sermon_domain), 'manage_options', 'sermonbrowser/options.php', 'sb_options'); 
    437     add_submenu_page(__FILE__, __('Help', $sermon_domain), __('Help', $sermon_domain), 'read', 'sermonbrowser/help.php', 'sb_help'); 
     432    add_submenu_page(__FILE__, __('New Sermon', $sermon_domain), __('New Sermon', $sermon_domain), 'publish_posts', 'sermon-browser/new_sermon.php', 'sb_new_sermon'); 
     433    add_submenu_page(__FILE__, __('Preachers', $sermon_domain), __('Preachers', $sermon_domain), 'manage_categories', 'sermon-browser/preachers.php', 'sb_manage_preachers'); 
     434    add_submenu_page(__FILE__, __('Series &amp; Services', $sermon_domain), __('Series &amp; Services', $sermon_domain), 'manage_categories', 'sermon-browser/manage.php', 'sb_manage_everything'); 
     435    add_submenu_page(__FILE__, __('Uploads', $sermon_domain), __('Uploads', $sermon_domain), 'upload_files', 'sermon-browser/uploads.php', 'sb_uploads'); 
     436    add_submenu_page(__FILE__, __('Options', $sermon_domain), __('Options', $sermon_domain), 'manage_options', 'sermon-browser/options.php', 'sb_options'); 
     437    add_submenu_page(__FILE__, __('Help', $sermon_domain), __('Help', $sermon_domain), 'read', 'sermon-browser/help.php', 'sb_help'); 
    438438} 
    439439 
     
    533533        update_option('sb_sermon_single_form', base64_encode($single)); 
    534534        update_option('sb_sermon_style', base64_encode($style)); 
    535         $fh = @fopen($wordpressRealPath.'/wp-content/plugins/sermonbrowser/multi.php', 'w'); 
     535        $fh = @fopen($wordpressRealPath.'/wp-content/plugins/sermon-browser/multi.php', 'w'); 
    536536        if ($fh) { 
    537537            fwrite($fh, strtr(stripslashes($multi), $mdict)); 
     
    542542            echo '</b></div>';           
    543543        } 
    544         $fh = @fopen($wordpressRealPath.'/wp-content/plugins/sermonbrowser/single.php', 'w'); 
     544        $fh = @fopen($wordpressRealPath.'/wp-content/plugins/sermon-browser/single.php', 'w'); 
    545545        if ($fh) { 
    546546            fwrite($fh, strtr(stripslashes($single), $sdict)); 
     
    551551            echo '</b></div>';           
    552552        } 
    553         $fh = @fopen($wordpressRealPath.'/wp-content/plugins/sermonbrowser/style.css', 'w'); 
     553        $fh = @fopen($wordpressRealPath.'/wp-content/plugins/sermon-browser/style.css', 'w'); 
    554554        if ($fh) { 
    555555            fwrite($fh, $style); 
     
    735735            @unlink($wordpressRealPath.get_option('sb_sermon_upload_dir').'images/'.mysql_real_escape_string($_POST['old'])); 
    736736        } 
    737         if(!$error) echo "<script>document.location = '$url/wp-admin/admin.php?page=sermonbrowser/preachers.php&saved=true';</script>"; 
     737        if(!$error) echo "<script>document.location = '$url/wp-admin/admin.php?page=sermon-browser/preachers.php&saved=true';</script>"; 
    738738    } 
    739739     
     
    799799?> 
    800800    <div class="wrap"> 
    801         <h2><?php _e('Manage Preachers', $sermon_domain) ?> (<a href="<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/preachers.php&act=new"><?php _e('add new', $sermon_domain) ?></a>)</h2> 
     801        <h2><?php _e('Manage Preachers', $sermon_domain) ?> (<a href="<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/preachers.php&act=new"><?php _e('add new', $sermon_domain) ?></a>)</h2> 
    802802        <table class="widefat"> 
    803803            <thead> 
     
    816816                        <td><img src="<?php echo empty($preacher->image) ? '' : $url.get_option('sb_sermon_upload_dir').'images/'.$preacher->image ?>"></td> 
    817817                        <td align="center"> 
    818                             <a href="<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/preachers.php&act=edit&pid=<?php echo $preacher->id ?>"><?php _e('Edit', $sermon_domain) ?></a> | <a onclick="return confirm('Are you sure?')" href="<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/preachers.php&act=kill&pid=<?php echo $preacher->id ?>"><?php _e('Delete', $sermon_domain) ?></a> 
     818                            <a href="<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/preachers.php&act=edit&pid=<?php echo $preacher->id ?>"><?php _e('Edit', $sermon_domain) ?></a> | <a onclick="return confirm('Are you sure?')" href="<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/preachers.php&act=kill&pid=<?php echo $preacher->id ?>"><?php _e('Delete', $sermon_domain) ?></a> 
    819819                        </td> 
    820820                    </tr> 
     
    877877            } 
    878878            if (s != null) { 
    879                 jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {sname: s, sermon: 1}, function(r) {              
     879                jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {sname: s, sermon: 1}, function(r) {                 
    880880                    if (r) { 
    881881                        sz = s.match(/(.*?)@(.*)/)[1]; 
     
    901901            var ss = prompt("New series' name?", "Series' name"); 
    902902            if (ss != null) { 
    903                 jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {ssname: ss, sermon: 1}, function(r) { 
     903                jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {ssname: ss, sermon: 1}, function(r) { 
    904904                    if (r) { 
    905905                        jQuery('#Series-list').append('\ 
     
    920920        } 
    921921        function deleteSeries(id) { 
    922             jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {ssname: 'dummy', ssid: id, del: 1, sermon: 1}, function(r) { 
     922            jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {ssname: 'dummy', ssid: id, del: 1, sermon: 1}, function(r) { 
    923923                if (r) { 
    924924                    jQuery('#rowSeries' + id).fadeOut(function() { 
     
    929929        } 
    930930        function deleteServices(id) { 
    931             jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {sname: 'dummy', sid: id, del: 1, sermon: 1}, function(r) { 
     931            jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {sname: 'dummy', sid: id, del: 1, sermon: 1}, function(r) { 
    932932                if (r) { 
    933933                    jQuery('#rowServices' + id).fadeOut(function() { 
     
    940940            var ss = prompt("New series' name?", old); 
    941941            if (ss != null) { 
    942                 jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {ssid: id, ssname: ss, sermon: 1}, function(r) { 
     942                jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {ssid: id, ssname: ss, sermon: 1}, function(r) { 
    943943                    if (r) { 
    944944                        jQuery('#Series' + id).text(ss); 
     
    956956            } 
    957957            if (s != null) { 
    958                 jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {sid: id, sname: s, sermon: 1}, function(r) { 
     958                jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {sid: id, sname: s, sermon: 1}, function(r) { 
    959959                    if (r) { 
    960960                        sz = s.match(/(.*?)@(.*)/)[1]; 
     
    11101110            var f = prompt("New file name?", old); 
    11111111            if (f != null) { 
    1112                 jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/uploads.php', {fid: id, oname: old, fname: f, sermon: 1}, function(r) { 
     1112                jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/uploads.php', {fid: id, oname: old, fname: f, sermon: 1}, function(r) { 
    11131113                    if (r) { 
    11141114                        if (r == 'renamed') { 
     
    11271127        } 
    11281128        function kill(id, f) { 
    1129             jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/uploads.php', {fname: f, fid: id, del: 1, sermon: 1}, function(r) { 
     1129            jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/uploads.php', {fname: f, fid: id, del: 1, sermon: 1}, function(r) { 
    11301130                if (r) { 
    11311131                    if (r == 'deleted') { 
     
    11531153        } 
    11541154        function fetchU(st) { 
    1155             jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/uploads.php', {fetchU: st + 1, sermon: 1}, function(r) { 
     1155            jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/uploads.php', {fetchU: st + 1, sermon: 1}, function(r) { 
    11561156                if (r) { 
    11571157                    jQuery('#the-list-u').html(r);                   
     
    11721172        } 
    11731173        function fetchL(st) { 
    1174             jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/uploads.php', {fetchL: st + 1, sermon: 1}, function(r) { 
     1174            jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/uploads.php', {fetchL: st + 1, sermon: 1}, function(r) { 
    11751175                if (r) { 
    11761176                    jQuery('#the-list-l').html(r);                   
     
    11911191        } 
    11921192        function findNow() { 
    1193             jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/uploads.php', {search: jQuery('#search').val(), sermon: 1}, function(r) { 
     1193            jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/uploads.php', {search: jQuery('#search').val(), sermon: 1}, function(r) { 
    11941194                if (r) { 
    11951195                    jQuery('#the-list-s').html(r);                                       
     
    14011401    <script> 
    14021402        function fetch(st) { 
    1403             jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {fetch: st + 1, sermon: 1, title: jQuery('#search').val(), preacher: jQuery('#preacher option[@selected]').val(), series: jQuery('#series option[@selected]').val() }, function(r) { 
     1403            jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {fetch: st + 1, sermon: 1, title: jQuery('#search').val(), preacher: jQuery('#preacher option[@selected]').val(), series: jQuery('#series option[@selected]').val() }, function(r) { 
    14041404                if (r) { 
    14051405                    jQuery('#the-list').html(r);                     
     
    14731473                        <td><?php echo stripslashes($sermon->ssname) ?></td> 
    14741474                        <td style="text-align:center"> 
    1475                             <a href="<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/new_sermon.php&mid=<?php echo $sermon->id ?>"><?php _e('Edit', $sermon_domain) ?></a> | <a onclick="return confirm('Are you sure?')" href="<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php&mid=<?php echo $sermon->id ?>"><?php _e('Delete', $sermon_domain) ?></a> 
     1475                            <a href="<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/new_sermon.php&mid=<?php echo $sermon->id ?>"><?php _e('Edit', $sermon_domain) ?></a> | <a onclick="return confirm('Are you sure?')" href="<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php&mid=<?php echo $sermon->id ?>"><?php _e('Delete', $sermon_domain) ?></a> 
    14761476                        </td> 
    14771477                    </tr> 
     
    15951595        } 
    15961596        // everything is fine, get out of here! 
    1597         if(!$error) echo "<script>document.location = '$url/wp-admin/admin.php?page=sermonbrowser/sermon.php&saved=true';</script>"; 
     1597        if(!$error) echo "<script>document.location = '$url/wp-admin/admin.php?page=sermon-browser/sermon.php&saved=true';</script>"; 
    15981598    }        
    15991599     
     
    16381638    } 
    16391639?> 
    1640     <link rel="stylesheet" href="<?php echo $url ?>/wp-content/plugins/sermonbrowser/style.css" type="text/css"> 
    1641     <link rel="stylesheet" href="<?php echo $url ?>/wp-content/plugins/sermonbrowser/datepicker.css" type="text/css"> 
     1640    <link rel="stylesheet" href="<?php echo $url ?>/wp-content/plugins/sermon-browser/style.css" type="text/css"> 
     1641    <link rel="stylesheet" href="<?php echo $url ?>/wp-content/plugins/sermon-browser/datepicker.css" type="text/css"> 
    16421642    <script type="text/javascript" src="<?php echo $url ?>/wp-includes/js/jquery/jquery.js"></script> 
    1643     <script type="text/javascript" src="<?php echo $url ?>/wp-content/plugins/sermonbrowser/datePicker.js"></script> 
    1644     <script type="text/javascript" src="<?php echo $url ?>/wp-content/plugins/sermonbrowser/64.js"></script> 
     1643    <script type="text/javascript" src="<?php echo $url ?>/wp-content/plugins/sermon-browser/datePicker.js"></script> 
     1644    <script type="text/javascript" src="<?php echo $url ?>/wp-content/plugins/sermon-browser/64.js"></script> 
    16451645    <script type="text/javascript">      
    16461646        var timeArr = new Array(); 
     
    16501650            var p = prompt("New preacher's name?", "Preacher's name"); 
    16511651            if (p != null) { 
    1652                 jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {pname: p, sermon: 1}, function(r) { 
     1652                jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {pname: p, sermon: 1}, function(r) { 
    16531653                    if (r) { 
    16541654                        jQuery('#preacher option:first').before('<option value="' + r + '">' + p + '</option>'); 
     
    16711671            } 
    16721672            if (s != null) { 
    1673                 jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {sname: s, sermon: 1}, function(r) { 
     1673                jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {sname: s, sermon: 1}, function(r) { 
    16741674                    if (r) { 
    16751675                        jQuery('#service option:first').before('<option value="' + r + '">' + s.match(/(.*?)@/)[1] + '</option>');   
     
    16841684            var ss = prompt("New series' name?", "Series' name"); 
    16851685            if (ss != null) { 
    1686                 jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermonbrowser/sermon.php', {ssname: ss, sermon: 1}, function(r) { 
     1686                jQuery.post('<?php echo $url ?>/wp-admin/admin.php?page=sermon-browser/sermon.php', {ssname: ss, sermon: 1}, function(r) { 
    16871687                    if (r) { 
    16881688                        jQuery('#series option:first').before('<option value="' + r + '">' + ss + '</option>');          
     
    20742074        <h2><?php _e('Help page', $sermon_domain) ?></h2> 
    20752075        <h3>Screencasts</h3> 
    2076         <p>If you need help with using sermonbrowser for the first time, these five minute screencast tutorials should be your first port of call:</p> 
     2076        <p>If you need help with using Sermon Browser for the first time, these five minute screencast tutorials should be your first port of call:</p> 
    20772077        <ul> 
    20782078            <li><a href="http://www.4-14.org.uk/sermonbrowser-tutorial/tutorial-1.html" target="_blank">Installation and Overview</a>.</li> 
Note: See TracChangeset for help on using the changeset viewer.