Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-09-15 03:23:54 -07:00
parent 217cd123c3
commit 7173fc8d87
47 changed files with 900 additions and 510 deletions

33
404.php
View File

@ -1,31 +1,28 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php commpress_blogpost_class(); ?>">
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<h2 class="pagetitle">Page Not Found</h2>

View File

@ -5,32 +5,24 @@ Template Name: Comic Calendar Archive
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
@ -96,7 +88,7 @@ $month['11'] = array('month' => 'November', 'days' => '30');
$month['12'] = array('month' => 'December', 'days' => '31');
?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
@ -113,14 +105,11 @@ foreach ( $years as $year ) {
<a href="<?php echo add_query_arg('archive_year', $year) ?>"><strong><?php echo $year ?></strong></a> |
<?php } } ?>
</div>
<div class="cpcal-cals">
<?php $i=1; while($i<=12) {
$calendar_directory = get_option('comicpress-calendar_directory');
?>
<?php if (!empty($calendar_directory) && $calendar_directory != 'none') { ?>
<div class="cpcal-month" style="height: 257px;" id="<?php echo $month[$i]['month'] ?>">
if (!empty($calendar_directory) && $calendar_directory != 'none') { ?>
<div class="cpcal-month" style="height: 257px;" id="<?php echo $month[$i]['month'] ?>">
<?php if (file_exists(get_template_directory().'/images/cal/'.$calendar_directory.'/'.$archive_year)) { ?>
<?php if (count($monthfile = glob(get_template_directory().'/images/cal/'.$calendar_directory.'/'.$archive_year.'/'.strtolower($month[$i]['month']).'.*')) > 0) {
if (is_array($monthfile)) $monthfile = reset($monthfile); ?>
@ -137,14 +126,14 @@ foreach ( $years as $year ) {
<?php } ?>
<?php } ?>
<?php } else { ?>
<div class="cpcal-month" style="height: 137px;" id="<?php echo $month[$i]['month'] ?>">
<div class="cpcal-month" style="height: 137px;" id="<?php echo $month[$i]['month'] ?>">
<?php } ?>
<div class="cpcal-monthtitle"><?php echo $month[$i]['month']." ".$archive_year ?></div>
<div class="cpcal-monthtitle"><?php echo $month[$i]['month']." ".$archive_year ?></div>
<?php foreach(array("S", "M", "T", "W", "T", "F", "S") as $dow) { ?>
<div class="cpcal-dayletter"><?php echo $dow ?></div>
<div class="cpcal-dayletter"><?php echo $dow ?></div>
<?php } ?>
<div class="clear"></div>
<?php $day=1; while($day<=$month[$i]['days']) {
<div class="clear"></div>
<?php $day=1; while($day<=$month[$i]['days']) {
if ($day == 1) { ?>
<div style="width:<?php echo $firstDayMargins[$i]; ?>px;height:15px;float:left;"></div>
<?php } ?>
@ -160,9 +149,7 @@ foreach ( $years as $year ) {
++$i ?>
</div>
<?php } ?>
<br class="clear-margins" />
</div>
</div>
<div class="post-page-foot"></div>
</div>

View File

@ -5,34 +5,29 @@ Template Name: Comic Storyline with Thumbs
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php commpress_blogpost_class(); ?>">
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>

View File

@ -5,34 +5,29 @@ Template Name: Comic Storyline Archive
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php commpress_blogpost_class(); ?>">
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>

View File

@ -14,34 +14,29 @@ Template Name: Comic Year Archive
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php commpress_blogpost_class(); ?>">
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>

View File

@ -5,34 +5,29 @@ Template Name: Comic Archive
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php commpress_blogpost_class(); ?>">
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>

View File

@ -1,44 +1,39 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php
global $archive_display_order;
if (empty($archive_display_order)) $archive_display_order = 'desc';
$tmp_search = new WP_Query($query_string.'&order='.$archive_display_order.'&show_posts=-1&posts_per_page=-1');
$count = $tmp_search->post_count;
?>
?>
<?php if (!$count) $count = "no"; ?>
<div class="searchresults">Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.</div>
<?php if (have_posts()) : ?>
<?php $posts = query_posts($query_string.'&order='.$archive_display_order); ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
@ -67,7 +62,7 @@
<?php while (have_posts()) : the_post() ?>
<?php global $archive_comic_width; if (in_comic_category()) { ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-comic-head"></div>
<div class="post-comic">
<div class="post-info">
@ -95,7 +90,7 @@
<div class="post-comic-foot"></div>
</div>
<?php } else { ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-head"></div>
<div class="post">
<div class="post-info">
@ -134,7 +129,7 @@
<?php endwhile; ?>
<?php else : ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-head"></div>
<div class="post">
<h3>No entries found.</h3>

View File

@ -5,34 +5,29 @@ Template Name: Archives
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php commpress_blogpost_class(); ?>">
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<div id="archivepage">

View File

@ -1,31 +1,23 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
@ -40,7 +32,7 @@
if (empty($curauth)) { ?>
<h2>No such author.</h2>
<?php } else { ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<div class="userpage-avatar">

View File

@ -5,30 +5,24 @@ Template Name: Blog
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php }
@ -44,10 +38,10 @@ Template Name: Blog
endwhile;
comicpress_pagination(); ?>
comicpress_pagination();
<?php endif; ?>
<?php get_sidebar('underblog'); ?>
endif; ?>
<?php get_sidebar('underblog'); ?>
</div>
</div>

View File

@ -9,30 +9,24 @@ Templete Author Email: philip@frumph.net
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
@ -40,7 +34,7 @@ Templete Author Email: philip@frumph.net
<?php if (!empty($comicnum)): ?>
<?php $temppost = $post; ?>
<?php $post = & get_post( $comicnum ); ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<div style="float:right;">
@ -115,7 +109,7 @@ Templete Author Email: philip@frumph.net
</div>
<?php else: ?>
<?php if (have_posts()) : while (have_posts()) : the_post() ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>">
<h2 class="pagetitle"><?php the_title() ?></h2>

View File

@ -1,18 +1,18 @@
<?php
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if ( post_password_required() ) { ?>
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
<?php
return;
}
<?php
return;
} ?>
if ( have_comments() ) : ?>
<div <?php comment_class(); ?>>
<?php if ( have_comments() ) : ?>
<?php if ( ! empty($comments_by_type['comment']) ) : ?>
<div class="commentsrsslink">[ <?php comments_rss_link('Comments RSS'); ?> ]</div>
<h3 id="comments"><?php comments_number('Discussion &not;', 'Discussion &not;', 'Discussion (%) &not;' );?></h3>
@ -80,67 +80,56 @@ if ( have_comments() ) : ?>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments">Comments are closed.</p>
<?php endif; ?>
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments">Comments are closed.</p>
<?php endif; ?>
<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
<div id="respond">
<div id="respond">
<h3><?php comment_form_title( 'Comment &not;', 'Reply to %s &not;' ); ?></h3>
<h3><?php comment_form_title( 'Comment &not;', 'Reply to %s &not;' ); ?></h3>
<div class="cancel-comment-reply">
<small><?php cancel_comment_reply_link(); ?></small>
</div>
<div class="cancel-comment-reply">
<small><?php cancel_comment_reply_link(); ?></small>
</div>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
<label for="author"><small>NAME &mdash; <a href="http://gravatar.com">Get an avatar</a></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email"><small>EMAIL <?php if ($req) echo "&mdash; Required / not published"; ?> </small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small>WEBSITE</small></label></p>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
<label for="author"><small>NAME &mdash; <a href="http://gravatar.com">Get an avatar</a></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email"><small>EMAIL <?php if ($req) echo "&mdash; Required / not published"; ?> </small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small>WEBSITE</small></label></p>
<?php endif; ?>
<?php do_action('comment_form', $post->ID); ?>
<p><textarea name="comment" id="comment" cols="50" rows="6" tabindex="4"></textarea></p>
<button type="submit" class="button">Submit Comment</button>
<?php global $disable_comment_note;
if ($disable_comment_note != 'yes') { ?>
<div class="comment-note">NOTE - You can use these tags:<br /><?php echo allowed_tags(); ?></div>
<?php } ?>
<?php comment_id_fields(); ?>
</form>
<?php endif; ?>
</div>
<?php endif; ?>
<?php do_action('comment_form', $post->ID); ?>
<p><textarea name="comment" id="comment" cols="50" rows="6" tabindex="4"></textarea></p>
<button type="submit" class="button">Submit Comment</button>
<?php global $disable_comment_note;
if ($disable_comment_note != 'yes') { ?>
<div class="comment-note">NOTE - You can use these tags:<br /><?php echo allowed_tags(); ?></div>
<?php } ?>
<?php comment_id_fields(); ?>
<div class="clear"></div>
</form>
<?php endif; // If registration required and not logged in ?>
</div>
</div>
<?php endif; ?>

View File

@ -5,7 +5,7 @@ if (function_exists('id_get_comment_number')) {
remove_filter('comments_number','id_get_comment_number');
}
$comicpress_version = '2.8.1.7';
$comicpress_version = '2.8.1.8';
// Remove the wptexturizer from changing the quotes and squotes.
// remove_filter('the_title', 'wptexturize');

128
functions/classes.php Normal file
View File

@ -0,0 +1,128 @@
<?php
/**
* Body Classes
* function function comicpress_body_class
*
* This has two functions, the first being it adds the browser type as a class
* in the <body> tag where you can then do .ie #page and do things specific
* for each browser type as well as a few other classes that the normal body_class
* does not yet support.
*
* The second is you can write code specific for a particular browser.
*
* example: if (reset(browser_body_class()) == 'ie') {
*
* the reset() portion resets the array to a string.
*
*/
add_filter('body_class','comicpress_body_class');
function comicpress_body_class($classes = '') {
global $current_user, $is_lynx, $is_gecko, $is_IE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone, $post, $wp_query, $cp_theme_layout;
$current_user = get_currentuserinfo();
if (!empty($current_user)) {
$user_login = addslashes($current_user->user_login);
$classes[] = 'user-'.$user_login;
} else {
$classes[] = 'user-guest';
}
if($is_lynx) $classes[] = 'lynx';
elseif($is_gecko) $classes[] = 'gecko';
elseif($is_opera) $classes[] = 'opera';
elseif($is_NS4) $classes[] = 'ns4';
elseif($is_safari) $classes[] = 'safari';
elseif($is_chrome) $classes[] = 'chrome';
elseif($is_IE) $classes[] = 'ie';
else $classes[] = 'unknown';
if($is_iphone) $classes[] = 'iphone';
// Hijacked from the hybrid theme, http://themehybrid.com/
if (is_single()) {
foreach ( (array)get_the_category( $wp_query->post->ID ) as $cat ) :
$classes[] = 'single-category-' . sanitize_html_class( $cat->slug, $cat->term_id );
endforeach;
$classes[] = 'single-author-' . get_the_author_meta( 'user_nicename', $wp_query->post->post_author );
}
if ( is_sticky( $wp_query->post->ID ) ) {
$classes[] = 'single-sticky';
}
// NOT hijacked from anything, doi! people should do this.
$rightnow = date('gi');
$ampm = date('a');
$classes[] = $ampm;
if ($ampm == 'am') {
if ((int)$rightnow < 30) $classes[] = 'midnight';
if ((int)$rightnow < 560) $classes[] = 'night';
if ((int)$rightnow > 559 && (int)$rightnow < 1130) $classes[] = 'morning';
if ((int)$rightnow > 1129) $classes[]='noon';
} else {
if ((int)$rightnow < 30) $classes[] = 'noon';
if ((int)$rightnow < 560) $classes[] = 'day';
if ((int)$rightnow > 559 && (int)$rightnow < 1130) $classes[] = 'evening';
if ((int)$rightnow > 1129) $classes[]='midnight';
}
if ( is_attachment() ) {
$classes[] = 'attachment attachment-' . $wp_query->post->ID;
$mime_type = explode( '/', get_post_mime_type() );
foreach ( $mime_type as $type ) :
$classes[] = 'attachment-' . $type;
endforeach;
}
$classes[] = 'layout-'.$cp_theme_layout;
return $classes;
}
function comicpress_blogpost_class($class = '') {
global $post;
static $post_alt;
$args = array(
'entry_tax' => array( 'category', 'post_tag' )
);
/* Microformats. */
$classes[] = 'hentry';
/* Post alt class. */
$classes[] = 'post-' . ++$post_alt;
if ( $post_alt % 2 )
$classes[] = 'odd';
else
$classes[] = 'even alt';
/* Sticky class (only on home/blog page). */
if( is_sticky() && is_home() )
$classes[] = 'sticky';
/* Author class. */
if ( !is_attachment() )
$classes[] = 'post-author-' . sanitize_html_class( get_the_author_meta( 'user_nicename' ), get_the_author_meta( 'ID' ) );
/* Password-protected posts. */
if ( post_password_required() )
$classes[] = 'protected';
/* User-created classes. */
if ( !empty( $class ) ) :
if ( !is_array( $class ) )
$class = preg_split( '#\s+#', $class );
$classes = array_merge( $classes, $class );
endif;
/* Join all the classes into one string and echo them. */
$class = join( ' ', $classes );
echo apply_filters( 'comicpress_blogpost_class', $class );
}
?>

View File

@ -8,7 +8,7 @@
function display_blog_post() {
global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar, $themepack_directory; ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-head"></div>
<div class="post" id="post-<?php the_ID() ?>">
<div class="post-info">

View File

@ -17,7 +17,7 @@ function display_comic_post() {
<?php if ( get_permalink() != $last_comic ) { ?><div class="nav-last"><a href="<?php echo $last_comic ?>">Last &rsaquo;&rsaquo;</a></div><?php } ?>
</div>
<div class="clear"></div>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-comic-head"></div>
<div class="post-comic">
<div class="post-info">

View File

@ -33,9 +33,9 @@ function comicpress_showmood_edit_post() {
$moods_directory = get_option('comicpress-moods_directory');
if (!empty($moods_directory) && $moods_directory != 'none') { ?>
<div id="mooddiv" class="postbox">
<h3><?php _e("Available Moods", 'commpress') ?></h3>
<h3><?php _e("Available Moods", 'comicpress') ?></h3>
<div class="inside" style="overflow: hidden">
Available Moods here, you can set which mood images to use in the commpress Options.<br />
Available Moods here, you can set which mood images to use in the comicpress Options.<br />
<br />
<?php

View File

@ -1,6 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
<head profile="http://gmpg.org/xfn/11">
<title><?php
bloginfo('name');

View File

@ -1,35 +1,29 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (have_posts()) : while (have_posts()) : the_post() ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>">
<h2 class="pagetitle">
@ -79,7 +73,7 @@
<div class="post-page-foot"></div>
</div>
<?php endwhile; else: ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<p>Sorry, no image matched your criteria.</p>

View File

@ -1,20 +1,18 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (!(is_paged())) { ?>
@ -35,14 +33,10 @@
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
@ -60,21 +54,15 @@
} else { ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php if (!is_cp_theme_layout('v3c')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php }
}
if (function_exists('the_project_wonderful_ad')) { ?>
<div class="blogpwad">
<center>

View File

@ -5,32 +5,24 @@ Template Name: Links
?>
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php }
@ -40,7 +32,7 @@ Template Name: Links
?>
<?php while (have_posts()) : the_post() ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<h2 class="pagetitle"><?php the_title() ?></h2>

View File

@ -1,37 +1,29 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (have_posts()) : while (have_posts()) : the_post() ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>">
<h2 class="pagetitle"><?php the_title() ?></h2>

View File

@ -1,31 +1,23 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
@ -44,7 +36,7 @@ $count = $tmp_search->post_count;
while (have_posts()) : the_post() ?>
<?php if (in_comic_category()) { ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-comic-head"></div>
<div class="post-comic">
<div class="post-info">
@ -77,7 +69,7 @@ $count = $tmp_search->post_count;
<div class="post-comic-foot"></div>
</div>
<?php } else { ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-head"></div>
<div class="post">
<div class="post-info">
@ -115,7 +107,7 @@ $count = $tmp_search->post_count;
<?php endwhile; ?>
<?php else : ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<h3>No transcripts found.</h3>

View File

@ -1,31 +1,23 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
@ -44,7 +36,8 @@ $count = $tmp_search->post_count;
while (have_posts()) : the_post() ?>
<?php global $archive_comic_width; if (in_comic_category()) { ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-comic-head"></div>
<div class="post-comic">
<div class="post-info">
@ -70,8 +63,10 @@ $count = $tmp_search->post_count;
</div>
<div class="post-comic-foot"></div>
</div>
<?php } else { ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-head"></div>
<div class="post">
<div class="post-info">
@ -114,7 +109,7 @@ $count = $tmp_search->post_count;
<?php endwhile; ?>
<?php else : ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<h3>No entries found.</h3>

View File

@ -1,20 +1,18 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php while (have_posts()) : the_post();
if (in_comic_category()) { ?>
@ -29,16 +27,12 @@
<?php } endwhile; ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php if (function_exists('the_project_wonderful_ad')) { ?>
@ -64,7 +58,7 @@
<?php get_sidebar('underblog'); ?>
</center>
<?php endwhile; else: ?>
<div class="<?php commpress_blogpost_class(); ?>">
<div class="<?php comicpress_blogpost_class(); ?>">
<div class="post-head"></div>
<div class="post">
<p>Sorry, no posts matched your criteria.</p>

View File

@ -328,22 +328,22 @@ h3, h3 a {
list-style: none;
position: absolute;
left: -9999px;
width: 175px;
width: 195px;
line-height: 1;
}
#menu li li {
width: 165px;
width: 185px;
padding: 4px 5px;
color: #fff;
}
#menu li li a {
width: 174px;
width: 194px;
padding: 0;
color: #fff;
border: none;
}
#menu li ul ul {
margin: -17px 0 0 170px;
margin: -17px 0 0 190px;
}
#menu li ul li:hover a, #menu li ul li li:hover a, #menu li ul li li li:hover a, #menu li ul li li li:hover a {
color: #fff; /*Submenu highlighted text color */
@ -376,12 +376,13 @@ h3, h3 a {
}
#comic {
padding: 5px;
padding: 5px 0;
text-align: center;
z-index: 100;
}
#comic-foot {
padding-bottom: 5px;
}
/* THE FOOTER */
@ -464,6 +465,7 @@ a.navi-comments:hover span {
/* Wraps the content area */
#content-wrapper {
padding: 5px 0;
}
#content {
@ -472,32 +474,24 @@ a.navi-comments:hover span {
}
.narrowcolumn {
width: 570px;
margin: 0 auto;
float: left;
width: 560px;
margin: 0 5px;
}
.widecolumn {
margin: 0 auto;
width: 760px;
margin: 0 5px;
}
.column {
margin: 0 5px 0 5px;
}
.post, .post-comic, .post-page {
clear: both;
text-align: left;
padding: 0 5px;
padding: 5px;
}
.post-head, .post-page-head, .post-comic-head {
}
.post-head, .post-page-head {
padding:10px 0 0 0;
}
.post-foot, .post-comic-foot, .post-page-foot {
}
@ -516,7 +510,6 @@ a.navi-comments:hover span {
.post-author-gravatar {
float: right;
margin-left: 2px;
}
.post-mood {
@ -778,14 +771,12 @@ ul.children {
#sidebar-left {
float: left;
width: 210px;
margin-top: 5px;
}
/* Right Sidebar Themes */
#sidebar-right {
float: right;
width: 210px;
margin-top: 5px;
}
#sidebar-overcomic {
@ -802,9 +793,8 @@ ul.children {
.sidebar {
font-size: 11px;
margin: 0 5px 0 5px;
overflow: hidden;
padding: 0 0 5px 0;
margin: 0 5px;
}
.sidebar h2, .sidebar h2 a {
@ -812,16 +802,16 @@ ul.children {
font-size: 16px;
}
.sidebar .widget {
margin-bottom: 10px;
}
.sidebar ul {
margin: 0;
margin: 0 0 10px 0;
padding: 0;
list-style: none;
}
.sidebar ul li ul {
margin: 0;
}
.sidebar ul li {
margin: 0;
padding: 0;
@ -887,7 +877,6 @@ ul.children {
background:#fff;
padding:10px;
border:1px solid #999;
margin:10px 0;
}
#wp-calendar {
@ -1229,6 +1218,12 @@ li.pingback div p, li.trackback div p {
width: 152px;
}
.cpcal-cals {
width: 516px;
margin: 0 auto;
padding-left: 5px;
}
.cpcal-month {
width: 157px;
padding: 5px 0 5px 5px;

View File

@ -212,10 +212,6 @@ body {
/* THE COMIC */
#comic-head {
padding-top: 5px;
}
#comic {
background: #fff;
border: 1px solid #999;
@ -224,11 +220,6 @@ body {
padding: 5px;
}
#comic-foot {
padding-bottom: 5px;
}
/* COMMENT LINK */
.comment-link {

View File

@ -156,23 +156,27 @@ h1 a:hover, h2 a:hover, h3 a:hover {
background: url('menu.png') 0 -50px;
}
.nav a { color: #fff; }
.nav a:hover { color: #fff000; }
#blogheader {
border-color: #3d5875;
border-width: 2px;
}
#content-wrapper {
padding-top: 10px;
padding-top: 5px;
}
#comic-foot {
text-align: center;
}
.photo {
margin-top: 2px;
.post-author-gravatar {
margin-top: 5px;
border: solid 1px #000;
}
.post-head, .post-page-head, .post-comic-head {
padding-top: 5px;
}
.post, .post-page, .post-comic {
background: #bcc7d2;
-moz-border-radius: 10px 10px 0 0;
@ -210,8 +214,6 @@ h1 a:hover, h2 a:hover, h3 a:hover {
color: #fff;
}
.nav { display: none; }
.odd .post-foot, .odd .post-page-foot, .odd .post-page-foot, .odd .post-comic-foot {
height: 40px;
background: url('post-bottom-odd.png') top center no-repeat;

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

View File

@ -0,0 +1,7 @@
<strong>ThemePack</strong>: slickblack<br />
<strong>Author</strong>: Philip M. Hofer (Frumph)<br />
<strong>Layouts</strong>: standard, 3c, gn, v, v3c<br />
<br />
<strong>Installation Notes</strong>:<br />
None.
<br />

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -0,0 +1,374 @@
/*
ThemePack Name: slickblack
ThemePack URI: http://comicpress.org
Description:
Author: Philip M. Hofer (Frumph)
Author URI: http://frumph.net/
Version: 0.1.0
.
The CSS, XHTML and design is released under GPL v3:
http://www.opensource.org/licenses/gpl-3.0.html
.
*/
/* STANDARD TAGS */
body {
background: #333 url('transparent-bg.gif') repeat;
color: #ccc;
}
#header {width: 780px; height: 140px; background: url('header.png') top left no-repeat; overflow: hidden;}
#header h1 {padding: 0;}
#header h1 a {display: block; width: 980px; height: 140px; text-indent: -9999px;}
#header .description {display: none;}
a {
color: #b4d3df;
}
a:hover {
color: #00b6ff;
}
h1, h1 a, h2, h2 a, h3, h3 a {
color: #eee;
}
.button {
background: #aaa url('menu.png');
color: #fff;
font-family: 'Arial', sans-serif;
font-size: 13px;
line-height: 13px;
border: 1px solid #999;
cursor: pointer;
}
.button a {
color: #fff;
}
.button:hover {
color: #fff000;
background: #f00 url('menu.png') 0 -75px;
}
#pagewrap-right {
width: 778px;
}
#content-wrapper {
background: #555;
border: solid 1px #000;
}
.narrowcolumn {
width: 556px;
background: #333;
border: solid 1px #000;
}
#menubar {
background: transparent;
margin-bottom: -1px;
}
#menu a {
padding: 0 20px;
background: url('tab.png') no-repeat;
border-right: solid 1px #000;
margin-right: 2px;
}
#menu .current_page_item a {
padding: 0 20px;
border-right: 1px solid #000;
margin-right: 2px;
background: url('tab-active.png') no-repeat;
}
#menu li:hover, #menu li.sfhover {
background: url('tab-highlight.png') no-repeat;
z-index: 1000;
}
#comic {
background: #222;
border: solid 1px #000;
padding: 0;
}
.layout-v3c #comic img, .layout-v #comic img {
border: 0;
}
.layout-gn #comic, .layout-standard #comic {
padding: 5px;
margin: 0 5px;
}
.sidebar h2 {
border: solid 1px #000;
padding-left: 5px;
background: url('postdetailsbg.gif') repeat-x;
color: #fff;
line-height: normal;
}
.sidebar li a {
color: #ccc;
font-size: 12px;
}
.sidebar li a:hover {
color: #b4d3df;
}
#wp-calendar-wrap {
background: #222;
border: solid 1px #000;
}
#wp-calendar td a {
color: #b4d3df;
}
#comic img {
border: solid 1px #000;
}
/* WIDGETS */
.archive-dropdown-wrap {
background: url('browse-search.png') no-repeat;
}
.archive-dropdown-wrap:hover {
background-position: 0 -23px;
}
.archive-dropdown {
margin: 0;
padding: 0;
width: 166px;
height: 23px;
font-size: 12px;
font-family: 'Arial' , sans-serif;
border: none;
opacity: 0;
filter: alpha(opacity=0);
cursor: pointer;
}
/* Pagination */
#wp-paginav {
background: url('menu.png');
text-align: left;
border: 1px 0 0 0 solid #000;
}
#paginav {
padding: 0;
margin: 0;
list-style: none;
float: left;
line-height: 25px;
font-size: 13px;
border-right: 1px solid #222;
}
#paginav .paginav-pages, #paginav .paginav-extend {
padding: 0 15px 0 15px;
}
#paginav a {
padding: 0px 10px 0 10px;
display: block;
color: #777;
text-decoration: none;
}
#paginav ul {
margin: 0;
padding: 0;
list-style: none;
}
#paginav li {
float: left;
}
#paginav li a {
border-left: 1px solid #111;
border-right: 1px solid #444;
color: #eee;
}
#paginav .paginav-next, #paginav .paginav-previous {
font-size: 20px;
}
#paginav .paginav-current, #paginav .current {
padding: 0px 10px 0 10px;
color: #fff;
border-left: 1px solid #222;
background: url('menu.png') 0 -150px;
}
#paginav li:hover a {
border-left: 1px solid #333;
border-right: 1px solid #555;
color: #fff;
background: url('menu.png') 0 -75px;
}
/* SEARCH */
#s-search, #s-transcript {
width: 138px;
padding: 4px 0 0 5px;
font-size: 12px;
height: 19px;
font-family: 'Arial' , sans-serif;
color: #fff;
border: none;
float: left;
background: url('browse-search.png') 0 -46px no-repeat;
}
#s-search:hover, #s-search:focus, #s-transcript:hover, #s-transcript:focus {
color: #fff;
background-position: 0 -69px;
}
#searchform button, #searchform-transcript button {
padding: 0;
margin: 0;
border: none;
height: 23px;
width: 23px;
line-height: 0;
font-size: 0;
cursor: pointer;
text-indent: -9999px;
background: url('browse-search.png') -143px -46px no-repeat;
}
#searchform button:hover, #searchform-transcript button:hover {
background-position: -143px -69px;
}
#searchform button:hover, #searchform-transcript button:-moz-focus-inner {
border: 0;
}
.searchresults {
float: right;
padding: 5px;
}
/* MENUNAV */
.menunav-rss {
width: 25px;
height: 25px;
margin: 0 0 0 4px;
padding: 0;
display: block;
float: left;
text-indent: -9999px;
overflow: hidden;
background: url('menu-nav.png') no-repeat;
}
.menunav-rss:hover {
background: Transparent url('menu-nav.png') 0 -25px no-repeat;
}
.menunav-prev, .menunav-next {
display: block;
float: left;
}
.menunav a:hover {
background: #fff;
}
.menunav-prev {
margin: 0 0 0 5px;
}
.menunav-prev a, .menunav-next a {
width: 25px;
height: 25px;
display: block;
text-indent: -9999px;
overflow: hidden;
}
.menunav-prev a {
background: transparent url('menu-nav.png') -25px 0 no-repeat;
}
.menunav-prev a:hover {
background: transparent url('menu-nav.png') -25px -25px no-repeat;
}
.menunav-next a {
background: url('menu-nav.png') -50px 0 no-repeat;
}
.menunav-next a:hover {
background: transparent url('menu-nav.png') -50px -25px no-repeat;
}
/* For submenu dropdowns - this order must be maintained */
#menu ul {
padding: 0;
margin: 0;
list-style: none;
position: absolute;
left: -9999px;
width: 185px;
line-height: 1;
}
#menu li li {
width: 175px;
padding: 4px 5px;
color: #fff;
}
#menu li li a {
width: 184px;
padding: 0;
color: #fff;
border: none;
}
#menu li ul ul {
margin: -17px 0 0 180px;
}
#menu li ul li:hover a, #menu li ul li li:hover a, #menu li ul li li li:hover a, #menu li ul li li li:hover a {
color: #fff; /*Submenu highlighted text color */
}
#menu li:hover li a, #menu li li:hover li a, #menu li li li:hover li a, #menu li li li li:hover li a {
color: #fff; /*Submenu text color */
border: none;
background: none;
}
#menu li li:hover {
background: #f00; /*Submenu highlighted background color */
}
#menu li:hover ul ul, #menu li:hover ul ul ul, #menu li:hover ul ul ul ul, #menu li.sfhover ul ul, #menu li.sfhover ul ul ul, #menu li.sfhover ul ul ul ul {
left: -9999px;
}
#menu li:hover ul, #menu li li:hover ul, #menu li li li:hover ul, #menu li li li li:hover ul, #menu li.sfhover ul, #menu li li.sfhover ul, #menu li li li.sfhover ul, #menu li li li li.sfhover ul {
left: auto;
background: #555 url('tab-sub.jpg') top repeat-x; /* Submenu background color */
border-left: solid 1px #000;
border-right: solid 1px #000;
border-bottom: solid 1px #000;
border-top: dotted 1px #000;
text-transform: none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 B

View File

@ -32,10 +32,6 @@ h1 a:hover, h2 a:hover, h3 a:hover {
color: #ff0000;
}
#comic-head {
padding-top: 10px;
}
#comic img {
border: solid 1px #000;
}
@ -56,6 +52,7 @@ h1 a:hover, h2 a:hover, h3 a:hover {
-webkit-border-radius: 0 0 10px 10px;
border-radius: 0 0 10px 10px;
text-align: center;
margin-bottom: 5px;
}
#header {width: 980px; height: 140px; background: url('header.png') top center no-repeat; overflow: hidden;}
@ -175,22 +172,22 @@ h1 a:hover, h2 a:hover, h3 a:hover {
list-style: none;
position: absolute;
left: -9999px;
width: 175px;
width: 195px;
line-height: 1;
}
#menu li li {
width: 165px;
width: 185px;
padding: 4px 5px;
color: #fff;
}
#menu li li a {
width: 174px;
width: 194px;
padding: 0;
color: #fff;
border: none;
}
#menu li ul ul {
margin: -17px 0 0 170px;
margin: -17px 0 0 190px;
}
#menu li ul li:hover a, #menu li ul li li:hover a, #menu li ul li li li:hover a, #menu li ul li li li:hover a {
color: #fff; /*Submenu highlighted text color */
@ -222,14 +219,12 @@ h1 a:hover, h2 a:hover, h3 a:hover {
.narrowcolumn {
width: 558px;
margin-top: 5px;
background: #111;
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
border: solid 1px #333;
padding-bottom: 5px;
}
.button {
@ -529,7 +524,11 @@ h1 a:hover, h2 a:hover, h3 a:hover {
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
margin: 0 0 10px 0;
}
#wp-calendar a:hover {
background: #fff000;
color: #000;
}
.wp-calendar-thumb img {
@ -539,6 +538,22 @@ h1 a:hover, h2 a:hover, h3 a:hover {
border-radius: 10px;
}
.cpcal-day {
color: #888;
border: solid 1px #eee;
}
.cpcal-monthtitle, .cpcal-dayletter {
color: #444;
}
.cpcal-day a {
color: #000;
}
.cpcal-day a:hover {
}
/* SIDEBAR */
.sidebar h2 {

View File

@ -33,6 +33,7 @@ body {
}
#content-wrapper {
padding: 0;
background: #dedede;
}
@ -47,14 +48,22 @@ body {
background: #fff;
}
#pagewrap-right {
width: 778px;
}
.narrowcolumn {
width: 568px;
width: 558px;
}
.narrowcolumn, .widecolumn {
background: #efefef;
}
.page .narrowcolumn, .page .widecolumn {
margin-top: 5px;
}
#header h1 a, #header .description {
color: #fff;
}
@ -76,13 +85,7 @@ body {
border-bottom: solid 1px #000;
}
#sidebar-left {
padding-top: 0;
}
#sidebar-right {
padding-top: 5px;
}
.page .narrowcolumn { padding-top: 5px; }
#comic-head {
padding: 0;
@ -98,6 +101,10 @@ body {
border: 0;
}
.sidebar {
padding: 5px 0;
}
#sidebar-undercomic, #comic-foot {
background: #fff;
}

View File

@ -10,7 +10,8 @@ Author URI: http://webcomicplanet.com/
*/
function comicpress_comic_bookmark() {
global $post, $wp_query; ?>
global $post, $wp_query;
if (is_home() || is_single()) { ?>
<div class="comic-bookmark">
<script language="javascript" type="text/javascript">
<!--
@ -44,7 +45,7 @@ global $post, $wp_query; ?>
document.write('<a href="#" onClick="gto();return false;"><img src="'+gt+'" alt="Goto Tag" border="0" id="gtc"></a>');
document.write('<a href="#" onClick="bmc();return false;"><img src="'+ct+'" alt="Clear Tag" border="0" id="rmc"></a>');
document.write('<a href="#" onMouseOver="document.getElementById(\'bmh\').style.visibility=\'visible\';" onMouseOut="document.getElementById(\'bmh\').style.visibility=\'hidden\';" onClick="return false;"><img src="'+imgInfo+'" alt="" border="0"></a>');
<?php } elseif (is_single() & in_comic_category()) { ?>
<?php } elseif (is_single() && in_comic_category()) { ?>
document.write('<a href="#" onClick="bm();return false;"><img src="'+imgTag+'" alt="Tag This Page" border="0"></a>');
document.write('<a href="#" onClick="gto();return false;"><img src="'+gt+'" alt="Goto Tag" border="0" id="gtc"></a>');
document.write('<a href="#" onClick="bmc();return false;"><img src="'+ct+'" alt="Clear Tag" border="0" id="rmc"></a>');
@ -109,6 +110,7 @@ global $post, $wp_query; ?>
</script>
</div>
<?php }
}
class widget_comicpress_bookmark extends WP_Widget {