2009-11-22 18:06:19 +00:00
< script language = " 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 >
2009-11-13 16:00:25 +00:00
2009-11-23 06:33:29 +00:00
< div id = " themestyle " class = " <?php if ( $tab == 'themestyle' || empty( $tab )) { ?>show<?php } else { ?>hide<?php } ?> " >
2009-11-28 05:04:48 +00:00
< form method = " post " id = " myForm " name = " template " enctype = " multipart/form-data " >
< ? php wp_nonce_field ( 'update-options' ) ?>
2009-11-22 19:56:35 +00:00
2009-11-28 05:04:48 +00:00
< div id = " comicpress-options " >
< table class = " widefat " cellspacing = " 0 " >
< thead >
< tr >
2009-11-29 01:30:31 +00:00
< th colspan = " 4 " >< ? php _e ( 'Layout' , 'comicpress' ); ?> </th>
2009-11-24 06:34:16 +00:00
</ tr >
2009-11-28 05:04:48 +00:00
</ thead >
2009-12-30 14:03:52 +00:00
< ? php $avail_layouts = '' ; ?>
2009-11-28 05:04:48 +00:00
< tr class = " alternate " >
2009-12-30 14:03:52 +00:00
< th scope = " row " style = " width:250px " valign = " top " >< label for = " cp_theme_layout " style = " text-align:left " >< ? php _e ( 'Choose Your Website Layout' , 'comicpress' ); ?> </label>
2009-11-28 05:04:48 +00:00
< select name = " cp_theme_layout " id = " cp_theme_layout " onchange = " showimage(this,'cpthemestyle') " >
2009-12-30 14:03:52 +00:00
< ? php if ( is_cp_layout_avail ( 'standard' , $avail_layouts )) { ?>
2009-11-30 00:16:29 +00:00
< option class = " level-0 " value = " standard " < ? php if ( $comicpress_options [ 'cp_theme_layout' ] == 'standard' ) { ?> selected="selected" <?php } ?>><?php _e('2 Column - Standard','comicpress'); ?></option>
2009-12-30 14:03:52 +00:00
< ? php } ?>
< ? php if ( is_cp_layout_avail ( 'v' , $avail_layouts )) { ?>
2009-11-30 00:16:29 +00:00
< option class = " level-0 " value = " v " < ? php if ( $comicpress_options [ 'cp_theme_layout' ] == 'v' ) { ?> selected="selected" <?php } ?>><?php _e('2 Column - Vertical','comicpress'); ?></option>
2009-12-30 14:03:52 +00:00
< ? php } ?>
< ? php if ( is_cp_layout_avail ( '3c' , $avail_layouts )) { ?>
2009-11-30 00:16:29 +00:00
< option class = " level-0 " value = " 3c " < ? php if ( $comicpress_options [ 'cp_theme_layout' ] == '3c' ) { ?> selected="selected" <?php } ?>><?php _e('3 Column - Standard ','comicpress'); ?></option>
2009-12-30 14:03:52 +00:00
< ? php } ?>
< ? php if ( is_cp_layout_avail ( '3c2r' , $avail_layouts )) { ?>
2009-11-30 00:16:29 +00:00
< 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>
2009-12-30 14:03:52 +00:00
< ? php } ?>
< ? php if ( is_cp_layout_avail ( 'v3c' , $avail_layouts )) { ?>
2009-11-30 00:16:29 +00:00
< option class = " level-0 " value = " v3c " < ? php if ( $comicpress_options [ 'cp_theme_layout' ] == 'v3c' ) { ?> selected="selected" <?php } ?>><?php _e('3 Column - Vertical','comicpress'); ?></option>
2009-12-30 14:03:52 +00:00
< ? php } ?>
< ? php if ( is_cp_layout_avail ( 'v3cr' , $avail_layouts )) { ?>
2009-12-06 00:22:08 +00:00
< 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>
2009-12-30 14:03:52 +00:00
< ? php } ?>
< ? php if ( is_cp_layout_avail ( 'gn' , $avail_layouts )) { ?>
2009-11-30 00:16:29 +00:00
< 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>
2009-12-30 14:03:52 +00:00
< ? php } ?>
< ? php if ( is_cp_layout_avail ( 'rgn' , $avail_layouts )) { ?>
2009-11-30 00:16:29 +00:00
< 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>
2009-12-30 14:03:52 +00:00
< ? php } ?>
2009-11-28 05:04:48 +00:00
</ select >
</ th >
< td >
< img id = " cpthemestyle " src = " <?php echo get_template_directory_uri(); ?>/images/options/<?php echo $comicpress_options['cp_theme_layout'] ; ?>.png " alt = " ComicPress Theme Style " />
</ td >
< td style = " vertical-align:middle " >
2009-11-30 00:16:29 +00:00
< ? php _e ( '2 column layout default width: <strong>780px</strong>.' , 'comicpress' ); ?>
2009-11-28 05:04:48 +00:00
< br />< br />
2009-11-30 00:16:29 +00:00
< ? php _e ( '3 column layout (<em>includes Graphic Novel</em>) default width: <b>980px</b>.' , 'comicpress' ); ?>
2009-11-28 05:04:48 +00:00
</ td >
</ tr >
</ table >
2009-11-24 22:14:59 +00:00
2009-11-28 05:04:48 +00:00
< div class = " clear " ></ div >
</ div >
< div id = " comicpress-options-save " >
< div id = " major-publishing-actions " >
< div id = " publishing-action " >
< input name = " comicpress_save_layout " type = " submit " class = " button-primary " value = " Save Layout " />
< input type = " hidden " name = " action " value = " comicpress_save_layout " />
2009-11-24 22:14:59 +00:00
</ div >
2009-11-28 05:04:48 +00:00
< div class = " clear " ></ div >
2009-11-24 22:14:59 +00:00
</ div >
2009-11-28 05:04:48 +00:00
</ div >
2009-11-24 22:14:59 +00:00
2009-11-28 05:04:48 +00:00
</ form >
< div class = " clear " ></ div >
< div class = " cpadmin-footer " >
< div id = " comicpress-version-title " >< a href = " http://comicpress.org/ " > ComicPress 2.9 </ a ></ div >
2009-11-29 01:30:31 +00:00
< div id = " comicpress-version-number " > [ < ? php echo $comicpress_options [ 'comicpress_version' ]; ?> ]</div>
2009-11-28 05:04:48 +00:00
< ? php _e ( 'Created by' , 'comicpress' ); ?> <a href="http://mindfaucet.com/">Tyler Martin</a> <?php _e('with','comicpress'); ?> <a href="http://www.coswellproductions.com/">John Bintz</a><?php _e(',','comicpress'); ?> <a href="http://frumph.net/">Philip M. Hofer</a> <small>(<a href="http://frumph.net/">Frumph</a>)</small> <?php _e('and','comicpress'); ?> <a href="http://www.oycomics.com/">Danny Burleson</a>.<br />
2009-11-30 00:16:29 +00:00
< ? php _e ( 'If you like the ComicPress theme, please donate. It will help in developing new features and versions.' , 'comicpress' ); ?>
2009-11-28 05:04:48 +00:00
< 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 = " 7827910 " >
< input type = " image "
src = " https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif "
border = " 0 " name = " submit " alt = " PayPal - The safer, easier way to pay
online ! " >
< img alt = " " border = " 0 "
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 " >
< ? 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 >
2009-11-22 18:06:19 +00:00
</ div >