From 31c3e97d2677db3b3d1dcd5ed7ed1472856fbf19 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Thu, 1 Oct 2009 18:30:23 -0700 Subject: [PATCH] stuff stuff Signed-off-by: Philip M. Hofer (Frumph) --- 404.php | 2 +- archive-comic-calendar.php | 24 ++++++++++----------- archive-comic-storyline-thumbs.php | 2 +- archive-comic-storyline.php | 2 +- archive.php | 31 ++++++++++++++++----------- archives.php | 4 ++-- author.php | 6 +++--- functions.php | 34 ++++++++++++++++++------------ functions/displayblogpost.php | 6 +++--- functions/displaycomicpost.php | 2 +- index.php | 11 +++++----- layout-foot.php | 1 - search-transcript.php | 12 +++++------ search.php | 23 ++++++++++---------- widgets/menubar.php | 4 +++- 15 files changed, 90 insertions(+), 74 deletions(-) diff --git a/404.php b/404.php index a1f1ea2..9a13435 100644 --- a/404.php +++ b/404.php @@ -5,7 +5,7 @@

Page Not Found

-

Click here to return to the home page or try a search:

+


diff --git a/archive-comic-calendar.php b/archive-comic-calendar.php index 6aa818e..40952c8 100644 --- a/archive-comic-calendar.php +++ b/archive-comic-calendar.php @@ -53,18 +53,18 @@ function leapYear($yr) { } $leapYear = leapYear($archive_year); -$month['1'] = array('month' => 'January', 'days' => '31'); -$month['2'] = array('month' => 'February', 'days' => $leapYear); -$month['3'] = array('month' => 'March', 'days' => '31'); -$month['4'] = array('month' => 'April', 'days' => '30'); -$month['5'] = array('month' => 'May', 'days' => '31'); -$month['6'] = array('month' => 'June', 'days' => '30'); -$month['7'] = array('month' => 'July', 'days' => '31'); -$month['8'] = array('month' => 'August', 'days' => '31'); -$month['9'] = array('month' => 'September', 'days' => '30'); -$month['10'] = array('month' => 'October', 'days' => '31'); -$month['11'] = array('month' => 'November', 'days' => '30'); -$month['12'] = array('month' => 'December', 'days' => '31'); +$month['1'] = array('month' => __('January','comicpress'), 'days' => '31'); +$month['2'] = array('month' => __('February','comicpress'), 'days' => $leapYear); +$month['3'] = array('month' => __('March','comicpress'), 'days' => '31'); +$month['4'] = array('month' => __('April','comicpress'), 'days' => '30'); +$month['5'] = array('month' => __('May','comicpress'), 'days' => '31'); +$month['6'] = array('month' => __('June','comicpress'), 'days' => '30'); +$month['7'] = array('month' => __('July','comicpress'), 'days' => '31'); +$month['8'] = array('month' => __('August','comicpress'), 'days' => '31'); +$month['9'] = array('month' => __('September','comicpress'), 'days' => '30'); +$month['10'] = array('month' => __('October','comicpress'), 'days' => '31'); +$month['11'] = array('month' => __('November','comicpress'), 'days' => '30'); +$month['12'] = array('month' => __('December','comicpress'), 'days' => '31'); ?>
diff --git a/archive-comic-storyline-thumbs.php b/archive-comic-storyline-thumbs.php index c69511f..ea057d7 100644 --- a/archive-comic-storyline-thumbs.php +++ b/archive-comic-storyline-thumbs.php @@ -63,7 +63,7 @@ Template Name: Comic Storyline with Thumbs } } } else { ?> -
  • Storyline Support is not currently enabled on this site.



    Note to the Administrator:
    To enable storyline support and manage storyline categories make sure you are running the latest version of the ComicPress Manager plugin and check your storyline settings from it's administration menu.
  • +



  • ComicPress Manager

  • diff --git a/archive-comic-storyline.php b/archive-comic-storyline.php index 851ee15..bc0cdc8 100644 --- a/archive-comic-storyline.php +++ b/archive-comic-storyline.php @@ -65,7 +65,7 @@ Template Name: Comic Storyline Archive } } } else { ?> -
  • Storyline Support is not currently enabled on this site.



    Note to the Administrator:
    To enable storyline support and manage storyline categories make sure you are running the latest version of the ComicPress Manager plugin and check your storyline settings from it's administration menu.
  • +



  • ComicPress Manager

  • diff --git a/archive.php b/archive.php index 17a796c..2291d7c 100644 --- a/archive.php +++ b/archive.php @@ -24,19 +24,19 @@ -

    Archive for ‘

    +

    -

    Posts Tagged ‘

    +

    -

    Archive for

    +

    -

    Archive for

    +

    -

    Archive for

    +

    -

    Author Archive

    +

    -

    Archives

    +


    @@ -71,7 +71,14 @@

    - By on
    +
    + +
    • ', multiple) ?>
    + + +
    + +
    @@ -99,9 +106,9 @@

    - By on
    +
    - Posted In:
    +
    @@ -109,14 +116,14 @@
    - ');?> + '); ?>
    diff --git a/archives.php b/archives.php index f0f3873..3987261 100644 --- a/archives.php +++ b/archives.php @@ -10,9 +10,9 @@ Template Name: Archives
    -

    Archives by Month:

    +

    -

    Archives by Subject:

    +


    diff --git a/author.php b/author.php index a47a962..ed1ab7b 100644 --- a/author.php +++ b/author.php @@ -9,7 +9,7 @@ $curauth = get_userdata(get_query_var('author')); } if (empty($curauth)) { ?> -

    No such author.

    +

    @@ -20,7 +20,7 @@

    display_name; ?>

    - Registered on user_registered)); ?>
    + user_registered)); ?>

    user_url)) { ?>Website: user_url; ?>
    aim)) { ?>AIM: aim; ?>
    @@ -37,7 +37,7 @@
    -

    Posts by nickname; ?> (ID); ?>) ¬

    +

    nickname; ?> (ID); ?>) ¬

      diff --git a/functions.php b/functions.php index 8bbf989..f219386 100644 --- a/functions.php +++ b/functions.php @@ -1,5 +1,13 @@ 'Left Sidebar','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Right Sidebar','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Above Header','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Header','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Menubar','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Over Comic','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Left of Comic','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Right of Comic','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Under Comic','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Over Blog','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Blog','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Under Blog','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); - register_sidebar(array('name'=>'Footer','before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Left Sidebar','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Right Sidebar','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Above Header','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Header','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Menubar','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Over Comic','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Left of Comic','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Right of Comic','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Under Comic','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Over Blog','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Blog','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Under Blog','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); + register_sidebar(array('name'=>__('Footer','comicpress'),'before_widget' => '
      • ','after_widget' => '
      ','before_title' => '

      ', 'after_title' => '

      ' )); } function storyline_category_list() { diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php index d714844..9d39ed9 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -11,8 +11,8 @@ function display_blog_post() {
      @@ -34,7 +34,7 @@ function display_blog_post() {

      By on
      - Posted In:
      +
      diff --git a/functions/displaycomicpost.php b/functions/displaycomicpost.php index 72581ad..cfe386d 100644 --- a/functions/displaycomicpost.php +++ b/functions/displaycomicpost.php @@ -37,7 +37,7 @@ function display_comic_post() {
      • ', multiple) ?>
      - Posted In:
      +
      diff --git a/index.php b/index.php index 7801c18..6cf717a 100644 --- a/index.php +++ b/index.php @@ -63,17 +63,16 @@
      - + - - +
      - + + +
      diff --git a/layout-foot.php b/layout-foot.php index 6f359dd..7133b55 100644 --- a/layout-foot.php +++ b/layout-foot.php @@ -8,7 +8,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) { -
      diff --git a/search-transcript.php b/search-transcript.php index 085517b..8515a58 100644 --- a/search-transcript.php +++ b/search-transcript.php @@ -7,8 +7,8 @@ $tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_pa $count = $tmp_search->post_count; ?> -
      Found result.
      -

      Transcript search for ‘

      +
      +

      @@ -37,7 +37,7 @@ $count = $tmp_search->post_count;
      - '); ?> + '); ?>
      @@ -66,7 +66,7 @@ $count = $tmp_search->post_count;

      By on
      - Posted In:
      +
      @@ -90,8 +90,8 @@ $count = $tmp_search->post_count;
      -

      No transcripts found.

      -

      Try another search?

      +

      +


      diff --git a/search.php b/search.php index e30602e..086009f 100644 --- a/search.php +++ b/search.php @@ -7,8 +7,9 @@ $tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_pa $count = $tmp_search->post_count; ?> -
      Found result.
      -

      Search for ‘

      + +
      +

      @@ -32,7 +33,7 @@ $count = $tmp_search->post_count;

      - By on
      +
      @@ -61,12 +62,12 @@ $count = $tmp_search->post_count;

      - By on
      +
      - - This is a page. + post_type == 'page') { ?> + - Posted In:
      +
      @@ -75,14 +76,14 @@ $count = $tmp_search->post_count;

      - ');?> + '); ?>
      @@ -97,8 +98,8 @@ $count = $tmp_search->post_count;
      -

      No entries found.

      -

      Try another search?

      +

      +


      diff --git a/widgets/menubar.php b/widgets/menubar.php index 08c9c00..a80afef 100644 --- a/widgets/menubar.php +++ b/widgets/menubar.php @@ -46,11 +46,13 @@ global $contact_in_menubar,$enable_search_in_menubar,$enable_rss_in_menubar,$ena
      term_id; $menulinks = wp_list_bookmarks('echo=0&title_li=&categorize=0&title_before=&title_after=&category_name=menubar'); $menulinks = preg_replace('#
    1. ]*)>#', '
    2. ]*)>#', '