Added v3cr layout, (note to tyler, need image for comicpress options themestyle.php)

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-05 16:22:08 -08:00
parent d1b03c4903
commit 042a790820
6 changed files with 41 additions and 14 deletions

View File

@ -35,7 +35,6 @@
<?php get_sidebar('above'); ?>
<div id="page-head"></div>
<?php if (!$comicpress_options['disable_page_restraints']) {
if (is_cp_theme_layout('standard,v')) { ?>
<div id="page-wrap"><!-- Wraps outside the site width -->

View File

@ -8,6 +8,10 @@
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('v3cr')) { ?>
<div id="pagewrap-left">
<?php } ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
@ -43,6 +47,11 @@
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c,rgn')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3cr')) { ?>
<div id="subcontent-wrapper-head"></div>
<div id="subcontent-wrapper">
<?php } ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">

View File

@ -1,12 +1,19 @@
<?php if (comicpress_check_child_file('layout-foot') == false) { ?>
</div>
</div>
<?php if (is_cp_theme_layout('3c2r')) {
<?php if (is_cp_theme_layout('v3cr')) { ?>
</div>
<div class="clear"></div>
<div id="subcontent-wrapper-foot"></div>
</div>
<?php } ?>
<?php if (is_cp_theme_layout('3c2r,v3cr')) {
get_sidebar('left');
} ?>
<?php
if (is_cp_theme_layout('3c,v3c,gn,standard,v,3c2r')) {
if (is_cp_theme_layout('3c,v3c,gn,standard,v,3c2r,v3cr')) {
get_sidebar('right'); ?>
<?php } ?>

View File

@ -9,9 +9,8 @@
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php if (is_cp_theme_layout('v3cr')) { ?>
<div id="pagewrap-left">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard,3c2r')) { ?>
@ -22,6 +21,11 @@
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c,rgn')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('v3cr')) { ?>
<div id="subcontent-wrapper-head"></div>
<div id="subcontent-wrapper">
<?php } ?>
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">

View File

@ -28,6 +28,7 @@
<option class="level-0" value="3c" <?php if ($comicpress_options['cp_theme_layout'] =='3c') { ?>selected="selected" <?php } ?>><?php _e('3 Column - Standard ','comicpress'); ?></option>
<option class="level-0" value="3c2r" <?php if ($comicpress_options['cp_theme_layout'] =='3c2r') { ?>selected="selected" <?php } ?>><?php _e('3 Column - Double Right Sidebar','comicpress'); ?></option>
<option class="level-0" value="v3c" <?php if ($comicpress_options['cp_theme_layout'] =='v3c') { ?>selected="selected" <?php } ?>><?php _e('3 Column - Vertical','comicpress'); ?></option>
<option class="level-0" value="v3cr" <?php if ($comicpress_options['cp_theme_layout'] =='v3c') { ?>selected="selected" <?php } ?>><?php _e('3 Column - Vertical Double Right Sidebar','comicpress'); ?></option>
<option class="level-0" value="gn" <?php if ($comicpress_options['cp_theme_layout'] =='gn') { ?>selected="selected" <?php } ?>><?php _e('Graphic Novel - Left Sidebar','comicpress'); ?></option>
<option class="level-0" value="rgn" <?php if ($comicpress_options['cp_theme_layout'] =='rgn') { ?>selected="selected" <?php } ?>><?php _e('Graphic Novel - Right Sidebar','comicpress'); ?></option>
</select>

View File

@ -413,6 +413,13 @@ h3, h3 a {
overflow: hidden;
}
#pagewrap-left {
width: 560px;
float: left;
overflow: hidden;
}
#subcontent-wrapper {
clear: both;
}