diff --git a/404.php b/404.php index 451346b..8c52180 100644 --- a/404.php +++ b/404.php @@ -1,22 +1,5 @@ - -
-
- - - - -
- - - -
-
- - - -
- + @@ -39,21 +22,5 @@
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/archive-comic-calendar.php b/archive-comic-calendar.php index 804f14c..4c4081f 100644 --- a/archive-comic-calendar.php +++ b/archive-comic-calendar.php @@ -4,32 +4,7 @@ Template Name: Comic Calendar Archive */ ?> - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- +
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/archive-comic-storyline-thumbs.php b/archive-comic-storyline-thumbs.php index f6f2f35..8e510f0 100644 --- a/archive-comic-storyline-thumbs.php +++ b/archive-comic-storyline-thumbs.php @@ -4,32 +4,7 @@ Template Name: Comic Storyline with Thumbs */ ?> - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- +
@@ -98,21 +73,5 @@ Template Name: Comic Storyline with Thumbs
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/archive-comic-storyline.php b/archive-comic-storyline.php index c7bd284..86e57bb 100644 --- a/archive-comic-storyline.php +++ b/archive-comic-storyline.php @@ -4,32 +4,7 @@ Template Name: Comic Storyline Archive */ ?> - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- +
@@ -100,21 +75,5 @@ Template Name: Comic Storyline Archive
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/archive-comic-year.php b/archive-comic-year.php index 96dce09..0fb87f5 100644 --- a/archive-comic-year.php +++ b/archive-comic-year.php @@ -13,32 +13,7 @@ Template Name: Comic Year Archive if (empty($archive_year)) $archive_year = date('Y'); ?> - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- +
@@ -73,21 +48,5 @@ Template Name: Comic Year Archive
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/archive-comic.php b/archive-comic.php index d762508..9ffece5 100644 --- a/archive-comic.php +++ b/archive-comic.php @@ -4,32 +4,7 @@ Template Name: Comic Archive */ ?> - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- +
@@ -61,21 +36,5 @@ Template Name: Comic Archive
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/archive.php b/archive.php index 22bd5df..6496a46 100644 --- a/archive.php +++ b/archive.php @@ -1,30 +1,5 @@ - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- +
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/archives.php b/archives.php index a5464b3..f34b872 100644 --- a/archives.php +++ b/archives.php @@ -4,32 +4,7 @@ Template Name: Archives */ ?> - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- +
@@ -47,21 +22,5 @@ Template Name: Archives
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/author.php b/author.php index 6f64fb0..b841d4f 100644 --- a/author.php +++ b/author.php @@ -1,30 +1,5 @@ - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- +
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/blog.php b/blog.php index 9309f03..4c51b17 100644 --- a/blog.php +++ b/blog.php @@ -4,34 +4,9 @@ Template Name: Blog */ ?> - -
-
- - - - -
- - - -
-
- + - -
- - - - - - -
-
-
- - - - -
-
- - - -
- - -
-
-
+ \ No newline at end of file diff --git a/buystrip.php b/buystrip.php index 6b2cc33..590aeae 100644 --- a/buystrip.php +++ b/buystrip.php @@ -8,32 +8,7 @@ Templete Author Email: philip@frumph.net if (isset($_REQUEST['comic'])) $comicnum = (int)$_REQUEST['comic']; ?> - -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- + @@ -131,21 +106,5 @@ Templete Author Email: philip@frumph.net
- - - - -
-
- - - -
- - -
-
-
+ diff --git a/comicpress-options.php b/comicpress-options.php index 573463b..46d2cf8 100644 --- a/comicpress-options.php +++ b/comicpress-options.php @@ -425,7 +425,7 @@ function comicpress_admin() { case "comicpress-excerpt_or_content_search": ?> Would you like to have users see the entire content or just an excerpt when searching?

- +    diff --git a/favicon.ico b/favicon.ico deleted file mode 100644 index 65aebf9..0000000 Binary files a/favicon.ico and /dev/null differ diff --git a/footer.php b/footer.php index 15eea83..a237841 100644 --- a/footer.php +++ b/footer.php @@ -18,7 +18,7 @@
-
+
diff --git a/functions.php b/functions.php index 7047884..1570814 100644 --- a/functions.php +++ b/functions.php @@ -5,7 +5,7 @@ if (function_exists('id_get_comment_number')) { remove_filter('comments_number','id_get_comment_number'); } -$comicpress_version = '2.8.1.8'; +$comicpress_version = '2.8.1.9'; // Remove the wptexturizer from changing the quotes and squotes. // remove_filter('the_title', 'wptexturize'); @@ -767,4 +767,14 @@ function cp_copyright_year() { return $output; } +function comicpress_check_themepack_file($filename = '') { + global $themepack_directory; + if (empty($filename)) return false; + if ( ($themepack_directory != 'none' && !empty($themepack_directory) ) && file_exists(get_template_directory() . '/themepack/'.$themepack_directory.'/'.$filename) ) { + include(get_template_directory() . '/themepack/' .$themepack_directory. '/'.$filename); + return true; + } + return false; +} + ?> \ No newline at end of file diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php index efb75ac..8aac140 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -44,9 +44,7 @@ function display_blog_post() { comment_status) { - if ( ($themepack_directory != 'none' && !empty($themepack_directory) ) && file_exists(get_template_directory() . '/themepack/'.$themepack_directory.'/commentlink.php') ) { - include(get_template_directory() . '/themepack/' .$themepack_directory. '/commentlink.php'); - } else { ?> + if (comicpress_check_themepack_file('commentlink.php') == false) { ?> - @@ -38,7 +37,6 @@ > - @@ -46,14 +44,16 @@ -
-
+
+
-
-
+
+
+ + + + +
+ + +
+
+
diff --git a/layout-head.php b/layout-head.php new file mode 100644 index 0000000..9c5dd84 --- /dev/null +++ b/layout-head.php @@ -0,0 +1,26 @@ +
+
+ + + + +
+ + + +
+
+ + + +
+
+ + + + + + +
+
+ \ No newline at end of file diff --git a/links.php b/links.php index c29ef08..26689a9 100644 --- a/links.php +++ b/links.php @@ -4,32 +4,9 @@ Template Name: Links */ ?> + -
-
- - - - -
- - - -
-
- - - -
- - - - - - -
-
- ]*)>#', '
  • ', $bookmarks); $bookmarks = preg_replace('#
      ]*)>#', '
        ', $bookmarks); @@ -53,21 +30,5 @@ Template Name: Links
  • - - - - -
    -
    - - - -
    - - -
    -
    -
    + \ No newline at end of file diff --git a/page.php b/page.php index 6d69212..6bea46f 100644 --- a/page.php +++ b/page.php @@ -1,30 +1,5 @@ - -
    -
    - - - - -
    - - - -
    -
    - - - -
    - - - - - - -
    -
    - +
    @@ -47,22 +22,5 @@
    - - - - -
    -
    - - - -
    - - -
    - -
    -
    + \ No newline at end of file diff --git a/search-transcript.php b/search-transcript.php index 8b4ab98..c011af7 100644 --- a/search-transcript.php +++ b/search-transcript.php @@ -1,30 +1,5 @@ - -
    -
    - - - - -
    - - - -
    -
    - - - -
    - - - - - - -
    -
    - + post_count;
    - - - - -
    -
    - - - -
    - - -
    -
    -
    -
    + \ No newline at end of file diff --git a/search.php b/search.php index 3bc7c01..16dabb4 100644 --- a/search.php +++ b/search.php @@ -1,30 +1,5 @@ - -
    -
    - - - - -
    - - - -
    -
    - - - -
    - - - - - - -
    -
    - + post_count;
    - - - - -
    -
    - - - -
    - - -
    -
    -
    + \ No newline at end of file diff --git a/single.php b/single.php index 0d7fcb5..0e2d419 100644 --- a/single.php +++ b/single.php @@ -28,7 +28,8 @@ -
    +
    +
    @@ -76,21 +77,5 @@
    - - - - -
    -
    - - - -
    - - -
    -
    -
    + \ No newline at end of file diff --git a/themepack/twopointfive/style.css b/themepack/twopointfive/style.css index 13165a1..559d569 100644 --- a/themepack/twopointfive/style.css +++ b/themepack/twopointfive/style.css @@ -68,23 +68,24 @@ body { color: #fff; } -#page { - padding: 0 20px; - background: url('classic-background-narrow.png') top center repeat-y; -} -#page-wide { - padding: 0 20px; - background: url('classic-background-wide.png') top center repeat-y; -} - -#page-wrap { +#page, #page-wide { background: #ddd; border-left: solid 1px #000; border-right: solid 1px #000; border-bottom: solid 1px #000; } +#page-wrap { + padding: 0 10px; + background: url('classic-background-narrow.png') top center repeat-y; +} + +#page-wrap-wide { + padding: 0 10px; + background: url('classic-background-wide.png') top center repeat-y; +} + .page .narrowcolumn { padding-top: 5px; } #comic-head { diff --git a/widgets/menubar.php b/widgets/menubar.php index 7c6caed..33e9939 100644 --- a/widgets/menubar.php +++ b/widgets/menubar.php @@ -11,81 +11,79 @@ Author URI: http://webcomicplanet.com/ function comicpress_menubar() { - global $contact_in_menubar,$enable_search_in_menubar,$enable_rss_in_menubar,$enable_navigation_in_menubar,$disable_dynamic_menubar_links, $themepack_directory; - if (file_exists(get_template_directory() . '/'.$themepack_directory.'/menubar.php') || function_exists('suckerfish')) { +global $contact_in_menubar,$enable_search_in_menubar,$enable_rss_in_menubar,$enable_navigation_in_menubar,$disable_dynamic_menubar_links, $themepack_directory; + if (comicpress_check_themepack_file('menubar.php') == false) { if (function_exists('suckerfish')) { suckerfish(); - } else { - include(get_template_directory() . '/'.$themepack_directory.'/menubar.php'); - } - } else { ?> -