renamed cp_theme_style to cp_theme_layout for better clarity

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-09-07 06:37:15 -07:00
parent bff1a3a13b
commit eac8f95f1a
32 changed files with 333 additions and 202 deletions

18
404.php
View File

@ -1,27 +1,27 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -38,11 +38,11 @@
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -5,18 +5,18 @@ Template Name: Comic Calendar Archive
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
@ -81,13 +81,13 @@ $month['11'] = array('month' => 'November', 'days' => '30');
$month['12'] = array('month' => 'December', 'days' => '31'); $month['12'] = array('month' => 'December', 'days' => '31');
?> ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -167,11 +167,11 @@ foreach ( $years as $year ) {
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -5,28 +5,28 @@ Template Name: Comic Storyline with Thumbs
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -97,11 +97,11 @@ Template Name: Comic Storyline with Thumbs
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -5,28 +5,28 @@ Template Name: Comic Storyline Archive
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -99,11 +99,11 @@ Template Name: Comic Storyline Archive
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -14,28 +14,28 @@ Template Name: Comic Year Archive
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -72,11 +72,11 @@ Template Name: Comic Year Archive
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -5,28 +5,28 @@ Template Name: Comic Archive
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -60,11 +60,11 @@ Template Name: Comic Archive
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -1,27 +1,27 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -146,11 +146,11 @@
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -5,28 +5,28 @@ Template Name: Archives
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -45,11 +45,11 @@ Template Name: Archives
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -1,29 +1,29 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -85,11 +85,11 @@
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -5,28 +5,28 @@ Template Name: Blog
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } <?php }
@ -50,11 +50,11 @@ Template Name: Blog
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -9,28 +9,28 @@ Templete Author Email: philip@frumph.net
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -127,11 +127,11 @@ Templete Author Email: philip@frumph.net
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -25,9 +25,9 @@ $options = array (
"type" => "comicpress-custom_css"), "type" => "comicpress-custom_css"),
array( array(
"id" => "comicpress-cp_theme_style", "id" => "comicpress-cp_theme_layout",
"default" => "standard", "default" => "standard",
"type" => "comicpress-cp_theme_style"), "type" => "comicpress-cp_theme_layout"),
array( array(
"id" => "comicpress-buy_print_email", "id" => "comicpress-buy_print_email",

View File

@ -95,7 +95,7 @@ function comicpress_admin() {
<?php <?php
foreach ($options as $value) { foreach ($options as $value) {
switch ( $value['type'] ) { switch ( $value['type'] ) {
case "comicpress-cp_theme_style": ?> case "comicpress-cp_theme_layout": ?>
<tr> <tr>
<th scope="row"><strong>Choose which theme layout you want to use.</strong><br /><br />This is the layout in which your theme will be presented.<br /><br /></th> <th scope="row"><strong>Choose which theme layout you want to use.</strong><br /><br />This is the layout in which your theme will be presented.<br /><br /></th>
<td valign="top"> <td valign="top">
@ -379,6 +379,7 @@ function comicpress_admin() {
<td valign="top"> <td valign="top">
<label> <label>
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>"> <select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
<option class="level-0" value="none" <?php if ($current_cal_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
<?php <?php
foreach ($avatar_directories as $avatar_dirs) { foreach ($avatar_directories as $avatar_dirs) {
if (is_dir($avatar_dirs)) { if (is_dir($avatar_dirs)) {

View File

@ -19,9 +19,9 @@
<?php global $disable_page_restraints; if ($disable_page_restraints == 'no') { ?> <?php global $disable_page_restraints; if ($disable_page_restraints == 'no') { ?>
</div><!-- Ends "page" --> </div><!-- Ends "page" -->
<?php } ?> <?php } ?>
<div id="page-bottom"></div>
<?php wp_footer() ?> <?php wp_footer() ?>
</body> </body>
</html> </html>

View File

@ -54,7 +54,7 @@ if (get_option('upload_path') !== false) {
'buy_print_us_ship' => 'buy_print_us_ship', 'buy_print_us_ship' => 'buy_print_us_ship',
'buy_print_int_ship' => 'buy_print_int_ship', 'buy_print_int_ship' => 'buy_print_int_ship',
'custom_css' => 'custom_css', 'custom_css' => 'custom_css',
'cp_theme_style' => 'cp_theme_style', 'cp_theme_layout' => 'cp_theme_layout',
'transcript_in_posts' => 'transcript_in_posts', 'transcript_in_posts' => 'transcript_in_posts',
'enable_widgetarea_use_sidebar_css' => 'enable_widgetarea_use_sidebar_css', 'enable_widgetarea_use_sidebar_css' => 'enable_widgetarea_use_sidebar_css',
'enable_custom_image_header' => 'enable_custom_image_header', 'enable_custom_image_header' => 'enable_custom_image_header',
@ -97,14 +97,15 @@ if (empty($themepack_directory)) $themepack_directory = 'silver';
if (empty($graphicnav_directory)) $graphicnav_directory = 'default'; if (empty($graphicnav_directory)) $graphicnav_directory = 'default';
if (empty($moods_directory)) $moods_directory = 'default'; if (empty($moods_directory)) $moods_directory = 'default';
if (empty($calendar_directory)) $calendar_directory = 'default'; if (empty($calendar_directory)) $calendar_directory = 'default';
if (empty($cp_theme_layout)) $cp_theme_layout='standard';
function is_cp_theme_style($choices) { function is_cp_theme_layout($choices) {
global $cp_theme_style; global $cp_theme_layout;
if (empty($cp_theme_style)) $cp_theme_style='standard'; if (empty($cp_theme_layout)) $cp_theme_layout='standard';
$choices = explode(",", $choices); $choices = explode(",", $choices);
foreach ($choices as $choice) { foreach ($choices as $choice) {
if ($choice == $cp_theme_style) { if ($choice == $cp_theme_layout) {
return true; return true;
} }
} }

105
functions/avatars.php Normal file
View File

@ -0,0 +1,105 @@
<?php
/**
* Retrieve the avatar for a user who provided a user ID or email address.
*
* @since 2.5
* @param int|string|object $id_or_email A user ID, email address, or comment object
* @param int $size Size of the avatar image
* @param string $default URL to a default image to use if no avatar is available
* @param string $alt Alternate text to use in image tag. Defaults to blank
* @return string <img> tag for the user's avatar
*/
function comicpress_get_avatar( $id_or_email, $size = '64', $alt = false) {
if ( ! get_option('show_avatars') )
return false;
if ( false === $alt)
$safe_alt = '';
else
$safe_alt = attribute_escape( $alt );
if ( !is_numeric($size) )
$size = '96';
$email = '';
if ( is_numeric($id_or_email) ) {
$id = (int) $id_or_email;
$user = get_userdata($id);
if ( $user )
$email = $user->user_email;
} elseif ( is_object($id_or_email) ) {
if ( isset($id_or_email->comment_type) && '' != $id_or_email->comment_type && 'comment' != $id_or_email->comment_type )
return false; // No avatar for pingbacks or trackbacks
if ( !empty($id_or_email->user_id) ) {
$id = (int) $id_or_email->user_id;
$user = get_userdata($id);
if ( $user)
$email = $user->user_email;
} elseif ( !empty($id_or_email->comment_author_email) ) {
$email = $id_or_email->comment_author_email;
}
} else {
$email = $id_or_email;
}
if ( empty($default) ) {
$default = comicpress_random_default_avatar((string)$id_or_email);
if ( empty($default) || $default == 'none' ) {
$avatar_default = get_option('avatar_default');
if ( empty($avatar_default) )
$default = 'mystery';
else
$default = $avatar_default;
}
}
if ( 'mystery' == $default )
$default = "http://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s={$size}"; // ad516503a11cd5ca435acc9bb6523536 == md5('unknown@gravatar.com')
elseif ( 'blank' == $default )
$default = includes_url('images/blank.gif');
elseif ( !empty($email) && 'gravatar_default' == $default )
$default = '';
elseif ( 'gravatar_default' == $default )
$default = "http://www.gravatar.com/avatar/s={$size}";
elseif ( empty($email) )
$default = "http://www.gravatar.com/avatar/?d=$default&amp;s={$size}";
elseif ( strpos($default, 'http://') === 0 )
$default = add_query_arg( 's', $size, $default );
if ( !empty($email) ) {
$out = 'http://www.gravatar.com/avatar/';
$out .= md5( strtolower( $email ) );
$out .= '?s='.$size;
$out .= '&amp;d=' . urlencode( $default );
$rating = get_option('avatar_rating');
if ( !empty( $rating ) )
$out .= "&amp;r={$rating}";
$avatar = "<img alt='{$safe_alt}' src='{$out}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' title='{$safe_alt}' />";
} else {
$avatar = "<img alt='{$safe_alt}' src='{$default}' class='avatar avatar-{$size} photo avatar-default' height='{$size}' width='{$size}' title='{$safe_alt}' />";
}
return apply_filters('comicpress_get_avatar', $avatar, $id_or_email, $size, $default, $alt);
}
function comicpress_random_default_avatar($id_or_email = '') {
$current_avatar_directory = get_option('comicpress-avatar_directory');
if (empty($current_avatar_directory)) $current_avatar_directory = 'default';
$count = count($results = glob(get_template_directory() . '/images/avatars/'.$current_avatar_directory.'/*'));
$default = '';
$checknum = hexdec(substr(md5($id_or_email),0,5)) % $count;
if ($count > 0) {
$default = basename($results[(int)$checknum]);
} else {
return false;
}
return get_bloginfo('stylesheet_directory').'/images/avatars/'.$current_avatar_directory.'/'.$default;
}
?>

View File

@ -7,7 +7,7 @@
*/ */
function display_blog_post() { function display_blog_post() {
global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar; ?> global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar, $themepack_directory; ?>
<div class="post-head"></div> <div class="post-head"></div>
<div class="post" id="post-<?php the_ID() ?>"> <div class="post" id="post-<?php the_ID() ?>">
<div class="post-info"> <div class="post-info">
@ -40,9 +40,15 @@ function display_blog_post() {
<?php the_tags('&#9492; Tags: ', ', ', '<br />'); ?> <?php the_tags('&#9492; Tags: ', ', ', '<br />'); ?>
</div> </div>
<?php } ?> <?php } ?>
<?php if (!is_single()) { ?> <?php if (!is_single()) {
<?php if ('open' == $post->comment_status) { ?><div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> No Comments ', '<span class="comment-balloon">1</span> Comment ', '<span class="comment-balloon">%</span> Comments '); ?></div><?php } ?> if ('open' == $post->comment_status) {
<?php } ?> 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 { ?>
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> No Comments ', '<span class="comment-balloon">1</span> Comment ', '<span class="comment-balloon">%</span> Comments '); ?></div>
<?php }
}
} ?>
<div class="clear"></div> <div class="clear"></div>
<?php if ($enable_related_posts == 'yes') echo related_posts_shortcode(); ?> <?php if ($enable_related_posts == 'yes') echo related_posts_shortcode(); ?>
</div> </div>

View File

@ -7,7 +7,7 @@
*/ */
function display_comic_post() { function display_comic_post() {
global $post, $wp_query, $transcript_in_posts, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar, $disable_categories_in_posts, $disable_tags_in_posts; global $post, $wp_query, $transcript_in_posts, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar, $disable_categories_in_posts, $disable_tags_in_posts, $themepack_directory;;
$first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink(); $first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink();
?> ?>
<div class="nav"> <div class="nav">
@ -50,7 +50,16 @@ function display_comic_post() {
<?php the_tags('&#9492; Tags: ', ', ', '<br />'); ?> <?php the_tags('&#9492; Tags: ', ', ', '<br />'); ?>
</div> </div>
<?php } ?> <?php } ?>
<?php if ('open' == $post->comment_status) { ?><div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> No Comments ', '<span class="comment-balloon">1</span> Comment ', '<span class="comment-balloon">%</span> Comments '); ?></div><?php } ?> <?php if (!is_single()) {
if ('open' == $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 { ?>
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> No Comments ', '<span class="comment-balloon">1</span> Comment ', '<span class="comment-balloon">%</span> Comments '); ?></div>
<?php }
}
} ?>
<div class="clear"></div>
<?php if ($enable_related_comics == 'yes') echo related_comics_shortcode(); ?> <?php if ($enable_related_comics == 'yes') echo related_comics_shortcode(); ?>
</div> </div>
<br class="clear-margins" /> <br class="clear-margins" />

View File

@ -18,13 +18,13 @@
?></title> ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" /> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" />
<?php global $graphicnav_directory; if (file_exists(get_template_directory() . '/images/nav/' .$graphicnav_directory. '/navstyle.css')) { ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/images/nav/<?php echo $graphicnav_directory; ?>/navstyle.css" type="text/css" media="screen" />
<?php } ?>
<?php global $themepack_directory; <?php global $themepack_directory;
if ($themepack_directory != 'none') { ?> if ($themepack_directory != 'none') { ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/themepack/<?php echo $themepack_directory; ?>/style.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/themepack/<?php echo $themepack_directory; ?>/style.css" type="text/css" media="screen" />
<?php } ?> <?php } ?>
<?php global $graphicnav_directory; if (file_exists(get_template_directory() . '/images/nav/' .$graphicnav_directory. '/navstyle.css')) { ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/images/nav/<?php echo $graphicnav_directory; ?>/navstyle.css" type="text/css" media="screen" />
<?php } ?>
<link rel="SHORTCUT ICON" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico"/> <link rel="SHORTCUT ICON" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico"/>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name') ?> RSS2 Feed" href="<?php bloginfo('rss2_url') ?>" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name') ?> RSS2 Feed" href="<?php bloginfo('rss2_url') ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" />
@ -43,8 +43,10 @@
<?php do_action('comicpress-header'); ?> <?php do_action('comicpress-header'); ?>
<?php get_sidebar('above'); ?> <?php get_sidebar('above'); ?>
<div id="page-top"></div>
<?php if ($disable_page_restraints != 'yes') { <?php if ($disable_page_restraints != 'yes') {
if (is_cp_theme_style('standard,v')) { ?> if (is_cp_theme_layout('standard,v')) { ?>
<div id="page"><!-- Defines entire site width - Ends in Footer --> <div id="page"><!-- Defines entire site width - Ends in Footer -->
<?php } else { ?> <?php } else { ?>
<div id="page-wide"> <div id="page-wide">

View File

@ -1,27 +1,27 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -90,11 +90,11 @@
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -1,17 +1,17 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
@ -34,13 +34,13 @@
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -58,15 +58,15 @@
} else { ?> } else { ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } <?php }
@ -102,11 +102,11 @@ if ($disable_blog_frontpage != 'yes') {
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -5,30 +5,30 @@ Template Name: Links
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } <?php }
@ -57,11 +57,11 @@ Template Name: Links
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -1,29 +1,29 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -49,11 +49,11 @@
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -1,29 +1,29 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -130,11 +130,11 @@ $count = $tmp_search->post_count;
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -1,29 +1,29 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -129,11 +129,11 @@ $count = $tmp_search->post_count;
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -8,7 +8,7 @@ if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
<?php comicpress_comic_bookmark() ?> <?php comicpress_comic_bookmark() ?>
<?php if (is_cp_theme_style('standard,v')) { ?> <?php if (is_cp_theme_layout('standard,v')) { ?>
<ul> <ul>
<li> <li>
<?php $default_image = get_bloginfo('stylesheet_directory').'/images/cal/default.png'; ?> <?php $default_image = get_bloginfo('stylesheet_directory').'/images/cal/default.png'; ?>

View File

@ -1,17 +1,17 @@
<?php get_header(); ?> <?php get_header(); ?>
<?php if (is_cp_theme_style('gn,v3c,v')) { ?> <?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('v3c,v')) { ?> <?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
<div id="pagewrap-right"> <div id="pagewrap-right">
<?php } ?> <?php } ?>
@ -28,13 +28,13 @@
<?php } endwhile; ?> <?php } endwhile; ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_style('gn,standard,3c')) { ?> <?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } ?> <?php } ?>
@ -77,11 +77,11 @@
</div> </div>
<?php <?php
if (is_cp_theme_style('3c,v3c,gn,standard,v')) { if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
get_sidebar('right'); ?> get_sidebar('right'); ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('gn')) { ?> <?php if (is_cp_theme_layout('gn')) { ?>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -16,7 +16,7 @@ http://www.opensource.org/licenses/gpl-3.0.html
body { body {
margin: 0; margin: 0;
font-family: 'Arial', sans-serif; font-family: 'Arial', sans-serif;
font-size: 13px; font-size: 12px;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
text-transform: none; text-transform: none;
@ -603,7 +603,6 @@ a.navi-comments:hover span {
line-height: 20px; line-height: 20px;
font-family: 'Arial', sans-serif; font-family: 'Arial', sans-serif;
font-weight: bold; font-weight: bold;
font-size: smaller;
text-align: right; text-align: right;
} }

View File

@ -0,0 +1 @@
<?php if ('open' == $post->comment_status) { ?><div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&rdquo;</span>Comment ', '<span class="comment-balloon">1</span>Comment ', '<span class="comment-balloon">%</span>Comment '); ?></div><?php } ?>

View File

@ -240,12 +240,11 @@ body {
} }
.comment-link a { .comment-link a {
color: #800; color: #333;
font-size: inherit;
} }
.comment-link a:hover { .comment-link a:hover {
color: #b00; color: #800;
} }
.comment-balloon { .comment-balloon {
@ -274,7 +273,6 @@ body {
} }
/* WIDGETS */ /* WIDGETS */
.archive-dropdown-wrap { .archive-dropdown-wrap {

View File

@ -0,0 +1 @@
<?php if ('open' == $post->comment_status) { ?><div class="comment-link">[ <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> ]</div><?php } ?>

View File

@ -75,3 +75,11 @@ body {
#footer a:hover { #footer a:hover {
color: #fff; color: #fff;
} }
/* COMMENT LINK */
.comment-link {
font-size: 9px;
}