Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 74030f87c4
Fetching contributors…

Cannot retrieve contributors at this time

145 lines (132 sloc) 6.847 kb
<script language="javascript" type="text/javascript">
function showimage(sel,pic) {
if (!document.images)
return
document.getElementById(pic).src = '<?php echo get_template_directory_uri(); ?>/images/options/'+sel.options[sel.selectedIndex].value+'.png'
}
</script>
<div id="comicpress-themestyle">
<form method="post" id="myForm-themestyle" enctype="multipart/form-data" action="?page=comicpress-options">
<?php wp_nonce_field('update-options') ?>
<div class="comicpress-options">
<table class="widefat" cellspacing="0">
<thead>
<tr>
<th colspan="4"><?php _e('Layout','comicpress'); ?></th>
</tr>
</thead>
<?php global $avail_layouts; ?>
<tr class="alternate">
<th scope="row" style="width:250px"><label for="cp_theme_layout" style="text-align:left"><?php _e('Choose Your Website Layout','comicpress'); ?></label>
<select name="cp_theme_layout" id="cp_theme_layout" onchange="showimage(this,'cpthemestyle')">
<?php if (is_cp_layout_avail('standard',$avail_layouts)) { ?>
<option class="level-0" value="standard" <?php if (comicpress_themeinfo('cp_theme_layout') == 'standard') { ?>selected="selected" <?php } ?>><?php _e('2 Column - Standard','comicpress'); ?></option>
<?php } ?>
<?php if (is_cp_layout_avail('v',$avail_layouts)) { ?>
<option class="level-0" value="v" <?php if (comicpress_themeinfo('cp_theme_layout') =='v') { ?>selected="selected" <?php } ?>><?php _e('2 Column - Vertical','comicpress'); ?></option>
<?php } ?>
<?php if (is_cp_layout_avail('3c',$avail_layouts)) { ?>
<option class="level-0" value="3c" <?php if (comicpress_themeinfo('cp_theme_layout') =='3c') { ?>selected="selected" <?php } ?>><?php _e('3 Column - Standard ','comicpress'); ?></option>
<?php } ?>
<?php if (is_cp_layout_avail('3c2r',$avail_layouts)) { ?>
<option class="level-0" value="3c2r" <?php if (comicpress_themeinfo('cp_theme_layout') =='3c2r') { ?>selected="selected" <?php } ?>><?php _e('3 Column - Double Right Sidebar','comicpress'); ?></option>
<?php } ?>
<?php if (is_cp_layout_avail('v3c',$avail_layouts)) { ?>
<option class="level-0" value="v3c" <?php if (comicpress_themeinfo('cp_theme_layout') =='v3c') { ?>selected="selected" <?php } ?>><?php _e('3 Column - Vertical','comicpress'); ?></option>
<?php } ?>
<?php if (is_cp_layout_avail('v3cr',$avail_layouts)) { ?>
<option class="level-0" value="v3cr" <?php if (comicpress_themeinfo('cp_theme_layout') =='v3c') { ?>selected="selected" <?php } ?>><?php _e('3 Column - Vertical Double Right Sidebar','comicpress'); ?></option>
<?php } ?>
<?php if (is_cp_layout_avail('gn',$avail_layouts)) { ?>
<option class="level-0" value="gn" <?php if (comicpress_themeinfo('cp_theme_layout') =='gn') { ?>selected="selected" <?php } ?>><?php _e('Graphic Novel - Left Sidebar','comicpress'); ?></option>
<?php } ?>
<?php if (is_cp_layout_avail('rgn',$avail_layouts)) { ?>
<option class="level-0" value="rgn" <?php if (comicpress_themeinfo('cp_theme_layout') =='rgn') { ?>selected="selected" <?php } ?>><?php _e('Graphic Novel - Right Sidebar','comicpress'); ?></option>
<?php } ?>
</select>
<br />
<?php if (!empty($avail_layouts)) { ?>
<em><strong>Some layouts might not be available with this child theme.</strong></em>
<?php } ?>
</th>
<td>
<img id="cpthemestyle" src="<?php echo get_template_directory_uri(); ?>/images/options/<?php echo comicpress_themeinfo('cp_theme_layout'); ?>.png" alt="ComicPress Theme Style" />
</td>
<td style="vertical-align:middle">
<?php _e('2 column layout default width: <strong>780px</strong>.','comicpress'); ?>
<br/><br/>
<?php _e('3 column layout (<em>includes Graphic Novel</em>) default width: <b>980px</b>.','comicpress'); ?>
</td>
</tr>
</table>
<table class="widefat" cellspacing="0">
<thead>
<tr>
<th colspan="4"><?php _e('Child Themes','comicpress'); ?></th>
</tr>
</thead>
<tr>
<td colspan="5">
These child themes can be downloaded from either <a href="http://comicpress.org/download/" target="_blank">ComicPress.org</a> or <a href="http://frumph.net/downloads/comicpress-child-themes/" target="_blank">Frumph.NET</a>
</td>
</tr>
<tr>
<td>
List Child Themes Available Here
</td>
</tr>
</table>
<table class="widefat" cellspacing="0">
<thead>
<tr>
<th colspan="4"><?php _e('Color Scheme','comicpress'); ?></th>
</tr>
</thead>
<tr>
<td colspan="5">
Coming Soon.
</td>
</tr>
</table>
<div class="clear"></div>
</div>
<div class="comicpress-options-save">
<div class="comicpress-major-publishing-actions">
<div class="comicpress-publishing-action">
<input name="comicpress_save_layout" type="submit" class="button-primary" value="Save Layout" />
<input type="hidden" name="action" value="comicpress_save_layout" />
</div>
<div class="clear"></div>
</div>
</div>
</form>
<div class="clear"></div>
<div class="cpadmin-footer">
<div id="comicpress-version-title"><a href="http://comicpress.org/">ComicPress <?php echo comicpress_themeinfo('version'); ?></a></div>
<br />
<?php _e('Developed and maintained by','comicpress'); ?> <a href="http://frumph.net/">Philip M. Hofer</a> <small>(<a href="http://frumph.net/">Frumph</a>)</small>, <?php _e('Originally created by','comicpress'); ?> <a href="http://mindfaucet.com/">Tyler Martin</a><br />
<?php _e('If you like the ComicPress theme, please donate. It will help in developing new features and versions.','comicpress'); ?>
<table style="margin:0 auto;">
<tr>
<td style="width:200px;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="46RNWXBE7467Q" />
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
</td>
<td style="width:200px;">
<a href="http://comicpress.org/"><img src="<?php echo get_template_directory_uri(); ?>/images/cal/default.png" /></a>
</td>
<td style="width:200px;">
<form method="post" id="myForm" name="template" enctype="multipart/form-data" action="">
<?php wp_nonce_field('update-options') ?>
<input name="comicpress_reset" type="submit" class="button" value="Reset All Settings" />
<input type="hidden" name="action" value="comicpress_reset" />
</form>
</td>
</tr>
</table>
</div>
</div>
Jump to Line
Something went wrong with that request. Please try again.