.. I have no idea whats going to break in the comicpress options.php and tabbed_pages.js due to conflicts.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-11-28 00:41:26 -08:00
commit 010973f873
9 changed files with 465 additions and 465 deletions

View File

@ -4,8 +4,9 @@
$comiccat = "3";
//BLOG CATEGORY - the WordPress ID of your blog category (default "1")
$blogcat = "4";
<<<<<<< .mine$blogcat = "4";
=======$blogcat = "1";
>>>>>>> .theirs
//COMIC FOLDER - the folder your comics files are located in (default "comics")
$comic_folder = "comics";

View File

@ -6,19 +6,9 @@ function options() {
}
function comicpress_admin_page_head() { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/tabbed/tabbed_pages.css" type="text/css" media="screen" />
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/tabbed/tabbed_pages.js"></script>
<!--[if lt ie 8]>
<style>
div.show {
position: static;
margin-top: 1px;
}
#cpadmin div.off {
height: 22px;
}
</style>
<![endif]-->
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/options/options.css" type="text/css" media="screen" />
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/tabbed_pages.js"></script>
<!--[if lt ie 8]> <style> div.show { position: static; margin-top: 1px; } #cpadmin div.off { height: 22px; } </style> <![endif]-->
<?php }
@ -182,43 +172,8 @@ function comicpress_admin() {
<?php include(get_template_directory() . '/options/membersoptions.php'); ?>
</div>
<div class="cpadmin-footer">
<a href="http://comicpress.org/"><strong>ComicPress 2.9</strong> <small>[ <?php echo $comicpress_options['comicpress_version']; ?> ]</small></a>. <?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 />
<?php _e('If you like the ComicPress theme, please donate. It will help in creating new 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="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>
</td>
</table>
</div>
</div>
<?php
}

View File

@ -3,57 +3,55 @@
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<?php wp_nonce_field('update-options') ?>
<div class="stuffbox" style="background: #ebf8ff;">
<h3>Archive and Search Page Options</h3>
<table class="form-table" style="width: auto;">
<div id="comicpress-options">
<table class="widefat">
<thead>
<tr>
<th colspan="3">Archive &amp; Search Page Options</th>
</tr>
</thead>
<tr class="alternate">
<th scope="row" colspan="2">
<?php _e('Archive Viewing','comicpress'); ?><br />
<input name="excerpt_or_content_archive" id="content_archive" type="radio" value="content"<?php if ( $comicpress_options['excerpt_or_content_archive'] == "content") { echo " checked"; } ?> /> <label for="content_archive" class="inline-label"><?php _e('Full Content','comicpress'); ?></label>
<input name="excerpt_or_content_archive" id="excerpt_archive" type="radio" value="excerpt"<?php if ( $comicpress_options['excerpt_or_content_archive'] == "excerpt") { echo " checked"; } ?> /> <label for="excerpt_archive" class="inline-label"><?php _e('Excerpt','comicpress'); ?></label>
</th>
<td>
<?php _e('Would you like to have users see the <b>full content</b> or just an <b>excerpt</b> when viewing the archives?','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row" colspan="2">
<?php _e('Searching','comicpress'); ?><br />
<input name="excerpt_or_content_search" id="content_search" type="radio" value="content"<?php if ( $comicpress_options['excerpt_or_content_search'] == "content") { echo " checked"; } ?> /> <label for="content_search" class="inline-label"><?php _e('Full Content','comicpress'); ?></label>
<input name="excerpt_or_content_search" id="excerpt_search" type="radio" value="excerpt"<?php if ( $comicpress_options['excerpt_or_content_search'] == "excerpt") { echo " checked"; } ?> /> <label for="excerpt_search" class="inline-label"><?php _e('Excerpt','comicpress'); ?></label>
</th>
<td>
<?php _e('Would you like to have users see the <b>full content</b> or just an <b>excerpt</b> when searching?','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row" colspan="2">
<label for="archive_display_order"><?php _e('Archive Display Order','comicpress'); ?></label>
<select name="archive_display_order" id="archive_display_order">
<option class="level-0" value="asc" <?php if ($comicpress_options['archive_display_order'] == "asc") { ?>selected="selected"<?php } ?>>Oldest to Newest</option>
<option class="level-0" value="desc" <?php if ($comicpress_options['archive_display_order'] == "desc") { ?>selected="selected"<?php } ?>>Newest to Oldest</option>
</select>
</th>
<td>
<?php _e('Sets the display order of your archives. <b>Newest to Oldest</b> will display your posts starting with the most recent. <b>Oldest to Newest</b> will start with the first entry in the category, tag, or date range (e.g., Selecting May 20XX will start with May 1, not May 31st.)','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Archive Viewing','comicpress'); ?></th>
<td valign="top">
<label><input name="excerpt_or_content_archive" id="excerpt_or_content_archive" type="radio" value="content"<?php if ( $comicpress_options['excerpt_or_content_archive'] == "content") { echo " checked"; } ?> />Full Content</label>
&nbsp;&nbsp;
<label><input name="excerpt_or_content_archive" id="excerpt_or_content_archive" type="radio" value="excerpt"<?php if ( $comicpress_options['excerpt_or_content_archive'] == "excerpt") { echo " checked"; } ?> />Excerpt</label>
</td>
<td valign="top">
<?php _e('Would you like to have users see the <b>full content</b> or just an <b>excerpt</b> when viewing the archives?','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Searching','comicpress'); ?></th>
<td valign="top" width="160">
<label><input name="excerpt_or_content_search" id="excerpt_or_content_search" type="radio" value="content"<?php if ( $comicpress_options['excerpt_or_content_search'] == "content") { echo " checked"; } ?> />Full Content</label>
&nbsp;&nbsp;
<label><input name="excerpt_or_content_search" id="excerpt_or_content_search" type="radio" value="excerpt"<?php if ( $comicpress_options['excerpt_or_content_search'] == "excerpt") { echo " checked"; } ?> />Excerpt</label>
</td>
<td valign="top">
<?php _e('Would you like to have users see the <b>full content</b> or just an <b>excerpt</b> when searching?','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Archive Display Order','comicpress'); ?></th>
<td valign="top">
<th scope="row"><label for="category_thumbnail_postcount"><?php _e('Number of archived comics to display','comicpress'); ?></label></th>
<td>
<label>
<select name="archive_display_order" id="archive_display_order">
<option class="level-0" value="asc" <?php if ($comicpress_options['archive_display_order'] == "asc") { ?>selected="selected"<?php } ?>>Oldest to Newest</option>
<option class="level-0" value="desc" <?php if ($comicpress_options['archive_display_order'] == "desc") { ?>selected="selected"<?php } ?>>Newest to Oldest</option>
</select>
<input type="text" size="3" name="category_thumbnail_postcount" id="category_thumbnail_postcount" value="<?php echo $comicpress_options['category_thumbnail_postcount']; ?>" /><br />
</label>
</td>
<td valign="top">
<?php _e('Sets the display order of your archives. <b>Newest to Oldest</b> will display your posts starting with the most recent. <b>Oldest to Newest</b> will start with the first entry in the category, tag, or date range (e.g., Selecting May 20XX will start with May 1, not May 31st.)','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Number of archived comics to display','comicpress'); ?></th>
<td valign="top">
<label>
<input type="text" size="5" name="category_thumbnail_postcount" id="category_thumbnail_postcount" value="<?php echo $comicpress_options['category_thumbnail_postcount']; ?>" /><br />
</label>
</td>
<td valign="top">
<td>
<?php _e('How many images in the comic category would you like to see in the archive page?','comicpress'); ?>
</td>
</tr>

View File

@ -12,7 +12,7 @@
</tr>
</thead>
<tr class="alternate">
<th class="scope"><label for="disable_page_restraints"><?php _e('Disable page restraints?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_page_restraints"><?php _e('Disable page restraints?','comicpress'); ?></label></th>
<td>
<input id="disable_page_restraints" name="disable_page_restraints" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_page_restraints']); ?> />
</td>
@ -21,7 +21,7 @@
</td>
</tr>
<tr>
<th class="scope"><label for="rascal_says"><?php _e('Enable Rascal the ComicPress Mascot?','comicpress'); ?></label></th>
<th scope="row"><label for="rascal_says"><?php _e('Enable Rascal the ComicPress Mascot?','comicpress'); ?></label></th>
<td>
<input id="rascal_says" name="rascal_says" type="checkbox" value="1" <?php checked(true, $comicpress_options['rascal_says']); ?> />
</td>
@ -30,7 +30,7 @@
</td>
</tr>
<tr class="alternate">
<th class="scope"><label for="disable_comment_note"><?php _e('Disable the comment notes?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_comment_note"><?php _e('Disable the comment notes?','comicpress'); ?></label></th>
<td>
<input id="disable_comment_note" name="disable_comment_note" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_comment_note']); ?> />
</td>
@ -39,7 +39,7 @@
</td>
</tr>
<tr>
<th class="scope"><label for="disable_blogheader"><?php _e('Disable blog header?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_blogheader"><?php _e('Disable blog header?','comicpress'); ?></label></th>
<td>
<input id="disable_blogheader" name="disable_blogheader" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_blogheader']); ?> />
</td>
@ -56,7 +56,7 @@
</tr>
</thead>
<tr class="alternate">
<th class="scope"><label for="enable_numbered_pagination"><?php _e('Enable numbered pagination?','comicpress'); ?></label></th>
<th scope="row"><label for="enable_numbered_pagination"><?php _e('Enable numbered pagination?','comicpress'); ?></label></th>
<td>
<input id="enable_numbered_pagination" name="enable_numbered_pagination" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_numbered_pagination']); ?> />
</td>
@ -65,7 +65,7 @@
</td>
</tr>
<tr>
<th class="scope"><label for="comic_clicks_next"><?php _e('Click comic to go next?','comicpress'); ?></label></th>
<th scope="row"><label for="comic_clicks_next"><?php _e('Click comic to go next?','comicpress'); ?></label></th>
<td>
<input id="comic_clicks_next" name="comic_clicks_next" type="checkbox" value="1" <?php checked(true, $comicpress_options['comic_clicks_next']); ?> />
</td>
@ -74,7 +74,7 @@
</td>
</tr>
<tr class="alternate">
<th class="scope"><label for="disable_default_comic_nav"><?php _e('Disable the default comic post navigation?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_default_comic_nav"><?php _e('Disable the default comic post navigation?','comicpress'); ?></label></th>
<td>
<input id="disable_default_comic_nav" name="disable_default_comic_nav" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_default_comic_nav']); ?> />
</td>
@ -90,7 +90,7 @@
foreach ($dirs_to_search as $dir) { $gnav_directories = array_merge($gnav_directories,glob("${dir}/images/nav/*")); }
?>
<tr>
<th class="scope" colspan="2"><label for="graphicnav_directory" style="text-align:left"><?php _e('Graphic Navigation Directory','comicpress'); ?></label>
<th scope="row" colspan="2"><label for="graphicnav_directory"><?php _e('Graphic Navigation Directory','comicpress'); ?></label>
<select name="graphicnav_directory" id="graphicnav_directory">
<?php
@ -117,7 +117,7 @@
</tr>
</thead>
<tr class="alternate">
<th class="scope"><label for="enable_widgetarea_use_sidebar_css"><?php _e('Enable main Sidebar CSS for all sidebars?','comicpress'); ?></label></th>
<th scope="row"><label for="enable_widgetarea_use_sidebar_css"><?php _e('Enable main Sidebar CSS for all sidebars?','comicpress'); ?></label></th>
<td>
<input id="enable_widgetarea_use_sidebar_css" name="enable_widgetarea_use_sidebar_css" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_widgetarea_use_sidebar_css']); ?> />
</td>
@ -126,7 +126,7 @@
</td>
</tr>
<tr>
<th class="scope"><label for="disable_lrsidebars_frontpage"><?php _e('Disable home page sidebars?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_lrsidebars_frontpage"><?php _e('Disable home page sidebars?','comicpress'); ?></label></th>
<td>
<input id="disable_lrsidebars_frontpage" name="disable_lrsidebars_frontpage" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_lrsidebars_frontpage']); ?> />
</td>
@ -143,7 +143,7 @@
</tr>
</thead>
<tr class="alternate">
<th class="scope"><label for="disable_footer_text"><?php _e('Disable the default text in the footer?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_footer_text"><?php _e('Disable the default text in the footer?','comicpress'); ?></label></th>
<td>
<input id="disable_footer_text" name="disable_footer_text" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_footer_text']); ?> />
</td>

View File

@ -8,11 +8,11 @@
<table class="widefat">
<thead>
<tr>
<th colspan="3">Post</th>
<th colspan="3">Blog</th>
</tr>
</thead>
<tr class="alternate">
<th class="scope"><label for="disable_blog_frontpage"><?php _e('Disable the blog on the Home page?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_blog_frontpage"><?php _e('Disable the blog on the Home page?','comicpress'); ?></label></th>
<td>
<input id="disable_blog_frontpage" name="disable_blog_frontpage" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_blog_frontpage']); ?> />
</td>
@ -29,7 +29,7 @@
</tr>
</thead>
<tr class="alternate">
<th class="scope"><label for="disable_comic_frontpage"><?php _e('Disable comic on Home page?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_comic_frontpage"><?php _e('Disable comic on Home page?','comicpress'); ?></label></th>
<td>
<input id="disable_comic_frontpage" name="disable_comic_frontpage" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_comic_frontpage']); ?> />
</td>
@ -38,7 +38,7 @@
</td>
</tr>
<tr>
<th class="scope"><label for="disable_comic_blog_frontpage"><?php _e('Disable the comic blog on Home page?','comicpress'); ?></label></th>
<th scope="row"><label for="disable_comic_blog_frontpage"><?php _e('Disable the comic blog on Home page?','comicpress'); ?></label></th>
<td>
<input id="disable_comic_blog_frontpage" name="disable_comic_blog_frontpage" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_comic_blog_frontpage']); ?> />
</td>
@ -47,7 +47,7 @@
</td>
</tr>
<tr class="alternate">
<th class="scope"><label for="disable_comic_blog_single"><?php _e('Disable the comic blog on the single pages?','comicpress'); ?></lable></th>
<th scope="row"><label for="disable_comic_blog_single"><?php _e('Disable the comic blog on the single pages?','comicpress'); ?></lable></th>
<td>
<input id="disable_comic_blog_single" name="disable_comic_blog_single" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_comic_blog_single']); ?> />
</td>

View File

@ -137,6 +137,11 @@ font-size: 14px;
display: block;
text-align: right;
}
#comicpress-options table.widefat label.inline-label {
display: inline;
}
#comicpress-options table.widefat select {
width: 100%;
}
@ -146,14 +151,35 @@ margin-bottom: 10px;
border-bottom: none;
}
#comicpress-options table.widefat th.scope {
#comicpress-options table.widefat th {
width: 200px;
}
#comicpress-options table.widefat th.scope label {
#comicpress-options table.widefat th label {
color: #21759b;
text-align: left;
}
#comicpress-options table.widefat th.scope label:hover {
#comicpress-options table.widefat th label:hover {
color: #d54e21;
}
#comicpress-options table.widefat th, #comicpress-options table.widefat td {
vertical-align: middle;
}
#comicpress-version-title {
font-family: 'Georgia', serif;
font-size: 48px;
letter-spacing: -2px;
margin: 0;
padding: 30px 0 5px 0;
font-variant: small-caps;
}
#comicpress-version-title a {
color: #333;
}
div.show .cpadmin-footer img{
float: none;
}

View File

@ -3,309 +3,293 @@
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<?php wp_nonce_field('update-options') ?>
<div class="stuffbox" style="background: #ebf8ff;">
<h3>Post</h3>
<table class="form-table" style="width: auto;">
<tr>
<th scope="row"><?php _e('Show transcript in post area?','comicpress'); ?></th>
<td valign="top">
<input name="transcript_in_posts" type="checkbox" value="1" <?php checked(true, $comicpress_options['transcript_in_posts']); ?> />
</td>
<td valign="top">
<?php _e('When enabled, if the comic has a transcript, the transcript will be displayed inside the comic post. The transcript is text that that you can have of the dialog in your comic.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Put Related Comics in comic posts?','comicpress'); ?></th>
<td valign="top">
<input name="enable_related_comics" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_related_comics']); ?> />
</td>
<td valign="top">
<?php _e('Comics will be related by "tags" that you create for each comic post. When creating tags for your comics, include *only* the subject material and possibly cast. Do not use tags that can relate to the entire archive or storyline the post is in.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Put Related Posts in blog posts?','comicpress'); ?></th>
<td valign="top">
<input name="enable_related_posts" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_related_posts']); ?> />
</td>
<td valign="top">
<?php _e('Blog posts will be related by "tags" that you create for each blog post. Like the related posts for comics, the related posts for blog post checks with other blog posts comparing the tags. Try to only use 1-5 tags total; the less the better.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Disable WordPress default content formatting?','comicpress'); ?></th>
<td valign="top">
<input name="remove_wptexturize" type="checkbox" value="1" <?php checked(true, $comicpress_options['remove_wptexturize']); ?> />
</td>
<td valign="top">
<?php _e('Prevents WordPress from reformatting any specially formatted content you may add. Generally, you want to leave the WordPress formatting enabled, but it some special cases you may prefer to preserve non-WP formatting.','comicpress'); ?>
</td>
</tr>
<div id="comicpress-options">
</table>
</div>
<table class="widefat">
<thead>
<tr>
<th colspan="3">Post</th>
</tr>
</thead>
<tr class="alternate">
<th scope="row"><label for="transcript_in_posts"><?php _e('Show transcript in post area?','comicpress'); ?></label></th>
<td>
<input id="transcript_in_posts" name="transcript_in_posts" type="checkbox" value="1" <?php checked(true, $comicpress_options['transcript_in_posts']); ?> />
</td>
<td>
<?php _e('When enabled, if the comic has a transcript, the transcript will be displayed inside the comic post. The transcript is text that that you can have of the dialog in your comic.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="enable_related_comics"><?php _e('Put Related Comics in comic posts?','comicpress'); ?></label></th>
<td>
<input id="enable_related_comics" name="enable_related_comics" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_related_comics']); ?> />
</td>
<td>
<?php _e('Comics will be related by "tags" that you create for each comic post. When creating tags for your comics, include *only* the subject material and possibly cast. Do not use tags that can relate to the entire archive or storyline the post is in.','comicpress'); ?>
</td>
</tr>
<tr class="alternate">
<th scope="row"><label for="enable_related_posts"><?php _e('Put Related Posts in blog posts?','comicpress'); ?></label></th>
<td>
<input id="enable_related_posts" name="enable_related_posts" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_related_posts']); ?> />
</td>
<td>
<?php _e('Blog posts will be related by "tags" that you create for each blog post. Like the related posts for comics, the related posts for blog post checks with other blog posts comparing the tags. Try to only use 1-5 tags total; the less the better.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="remove_wptexturize"><?php _e('Disable WordPress default content formatting?','comicpress'); ?></label></th>
<td>
<input id="remove_wptexturize" name="remove_wptexturize" type="checkbox" value="1" <?php checked(true, $comicpress_options['remove_wptexturize']); ?> />
</td>
<td>
<?php _e('Prevents WordPress from reformatting any specially formatted content you may add. Generally, you want to leave the WordPress formatting enabled, but it some special cases you may prefer to preserve non-WP formatting.','comicpress'); ?>
</td>
</tr>
</table>
<table class="widefat">
<thead>
<tr>
<th colspan="3">Authors/Avatars/Moods</th>
</tr>
</thead>
<tr class="alternate">
<th scope="row"><label for="split_column_in_two"><?php _e('Two author blog? ','comicpress'); ?></label></th>
<td>
<input id="split_column_in_two" name="split_column_in_two" type="checkbox" value="1" <?php checked(true, $comicpress_options['split_column_in_two']); ?> />
</td>
<td>
<?php _e('When enabled, it will make 2 seperate columns to have two seperate columns available to two different post authors.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row" colspan="2">
<label for="author_column_one"><?php _e('Author for column one?','comicpress'); ?></label>
<?php
$args = array('echo' => '0', 'show' => 'display_name', 'selected' => $comicpress_options['author_column_one']);
$selected = wp_dropdown_users($args);
$selected = preg_replace('#<select([^>]*)>#', '<select name="author_column_one" id="author_column_one">', $selected);
<div class="stuffbox" style="background: #edffeb;">
<h3>Authors/Avatars/Moods</h3>
<table class="form-table" style="width: auto;">
<tr>
<th scope="row"><?php _e('Two author blog? ','comicpress'); ?></th>
<td valign="top">
<input name="split_column_in_two" type="checkbox" value="1" <?php checked(true, $comicpress_options['split_column_in_two']); ?> />
</td>
<td valign="top">
<?php _e('When enabled, it will make 2 seperate columns to have two seperate columns available to two different post authors.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Author for Column one?','comicpress'); ?><br />
<br />
<label>
<?php
$args = array('echo' => '0', 'show' => 'display_name', 'selected' => $comicpress_options['author_column_one']);
$selected = wp_dropdown_users($args);
$selected = preg_replace('#<select([^>]*)>#', '<select name="author_column_one" id="author_column_one">', $selected);
echo $selected;
?>
</label>
</th>
<td></td>
<td valign="top">
<?php _e('If column is split in two.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Author for Column two?','comicpress'); ?><br />
<br />
<label>
<?php
$args = array('echo' => '0', 'show' => 'display_name', 'selected' => $comicpress_options['author_column_two']);
$selected = wp_dropdown_users($args);
$selected = preg_replace('#<select([^>]*)>#', '<select name="author_column_two" id="author_column_two">', $selected);
echo $selected;
echo $selected;
?>
</label>
</th>
<td></td>
<td valign="top">
<?php _e('If column is split in two. This is the name of the author for the 2nd column.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Comic post author Gravatar?','comicpress'); ?></th>
<td valign="top">
<input name="enable_comic_post_author_gravatar" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_comic_post_author_gravatar']); ?> />
</td>
<td valign="top">
<?php _e('Enabling this option will show a gravatar of the comic post author based on the author email address. Gravatars are associated by your email address and you can create them at','comicpress'); ?> <a href="http://gravatar.com/">http://gravatar.com</a>.
</td>
</tr>
</th>
<td>
<?php _e('For two author blogs. Choose the author for the first column.','comicpress'); ?>
</td>
</tr>
<tr class="alternate">
<th scope="row" colspan="2">
<label for="author_column_two"><?php _e('Author for column two?','comicpress'); ?></label>
<?php
$args = array('echo' => '0', 'show' => 'display_name', 'selected' => $comicpress_options['author_column_two']);
$selected = wp_dropdown_users($args);
$selected = preg_replace('#<select([^>]*)>#', '<select name="author_column_two" id="author_column_two">', $selected);
echo $selected;
?>
</th>
<td>
<?php _e('For two author blogs. Choose the author for the second column.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="enable_comic_post_author_gravatar"><?php _e('Comic post author Gravatar?','comicpress'); ?></label></th>
<td>
<input id="enable_comic_post_author_gravatar" name="enable_comic_post_author_gravatar" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_comic_post_author_gravatar']); ?> />
</td>
<td>
<?php _e('Enabling this option will show a gravatar of the comic post author based on the author email address. Gravatars are associated by your email address and you can create them at','comicpress'); ?> <a href="http://gravatar.com/">http://gravatar.com</a>.
</td>
</tr>
<tr class="alternate">
<th scope="row"><label for="enable_post_author_gravatar"><?php _e('Blog post author Gravatar?','comicpress'); ?></label></th>
<td>
<input id="enable_post_author_gravatar" name="enable_post_author_gravatar" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_post_author_gravatar']); ?> />
</td>
<td>
<?php _e('Enabling this option will show a gravatar of the post author based on the author email address. Gravatars are associated by your email address and you can create them at','comicpress'); ?> <a href="http://gravatar.com/">http://gravatar.com</a>.
</td>
</tr>
<?php
$current_avatar_directory = $comicpress_options['avatar_directory'];
if (empty($current_avatar_directory)) $current_avatar_directory = 'default';
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
$avatar_directories = array();
foreach ($dirs_to_search as $dir) { $avatar_directories = array_merge($avatar_directories,glob("${dir}/images/avatars/*")); }
?>
<tr>
<th scope="row" colspan="2">
<label for="avatar_directory"><?php _e('Avatar Directory','comicpress'); ?></label>
<select name="avatar_directory" id="avatar_directory">
<option class="level-0" value="none" <?php if ($current_cal_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
<?php
foreach ($avatar_directories as $avatar_dirs) {
if (is_dir($avatar_dirs)) {
$avatar_dir_name = basename($avatar_dirs); ?>
<option class="level-0" value="<?php echo $avatar_dir_name; ?>" <?php if ($current_avatar_directory == $avatar_dir_name) { ?>selected="selected"<?php } ?>><?php echo $avatar_dir_name; ?></option>
<?php }
}
?>
</select>
</th>
<td>
<?php _e('Choose a directory to get the avatars for default gravatars if someone does not have one. You will have to make these images yourself, or download them from avatar providers. Then make a new directory on your site server to upload them to and select that directory here.','comicpress'); ?><br />
</td>
</tr>
<?php
$current_directory = $comicpres_options['moods_directory'];
if (empty($current_directory)) $current_directory = 'default';
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
$mood_directories = array();
foreach ($dirs_to_search as $dir) { $mood_directories = array_merge($mood_directories,glob("${dir}/images/moods/*")); }
?>
<tr class="alternate">
<th scope="row" colspan="2">
<label for="moods_directory"><?php _e('Moods Directory','comicpress'); ?></label>
<select name="moods_directory" id="moods_directory">
<option class="level-0" value="none" <?php if ($current_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
<?php
foreach ($mood_directories as $mood_dirs) {
if (is_dir($mood_dirs)) {
$mood_dir_name = basename($mood_dirs); ?>
<option class="level-0" value="<?php echo $mood_dir_name; ?>" <?php if ($current_directory == $mood_dir_name) { ?>selected="selected"<?php } ?>><?php echo $mood_dir_name; ?></option>
<?php }
}
?>
</select>
</th>
<td>
<?php _e('Choose a directory to get the post moods from. Set this to "none" to turn off use. Mood directories are found in your theme directory/images/moods/* to create your own custom moods just create a directory under images/moods/ and place ONLY image files inside of it. The name of the image file represents what the mood is.','comicpress'); ?>
</td>
</tr>
</table>
<table class="widefat">
<thead>
<tr>
<th colspan="3">Calendar</th>
</tr>
</thead>
<?php
$current_cal_directory = $comicpress_options['calendar_directory'];
if (empty($current_cal_directory)) $current_cal_directory = 'default';
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
$cal_directories = array();
foreach ($dirs_to_search as $dir) { $cal_directories = array_merge($cal_directories,glob("${dir}/images/cal/*")); }
?>
<tr class="alternate">
<th scope="row" colspan="2">
<label for="calendar_directory"><?php _e('Calendar Directory','comicpress'); ?></label>
<select name="calendar_directory" id="calendar_directory">
<option class="level-0" value="none" <?php if ($current_cal_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
<?php
foreach ($cal_directories as $cal_dirs) {
if (is_dir($cal_dirs)) {
$cal_dir_name = basename($cal_dirs); ?>
<option class="level-0" value="<?php echo $cal_dir_name; ?>" <?php if ($current_cal_directory == $cal_dir_name) { ?>selected="selected"<?php } ?>><?php echo $cal_dir_name; ?></option>
<?php }
}
?>
</select>
</th>
<td>
<?php _e('Choose a directory to get the Archive Calendar styling from. To not have calendar graphics, select "none". Calendar directories are found in your theme directory/images/cal/* to create your own custom archive calendar images just create a directory under images/cal/ and place your image files inside of it.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="enable_comic_post_calendar"><?php _e('Add graphic calendar to comic posts?','comicpress'); ?></label></th>
<td>
<input id="enable_comic_post_calendar" name="enable_comic_post_calendar" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_comic_post_calendar']); ?> />
</td>
<td>
<?php _e('The graphic calendar is an image that has the date of the comic blog post overlayed on top of it.','comicpress'); ?>
</td>
</tr>
<tr class="alternate">
<th scope="row"><label for="enable_post_calendar"><?php _e('Add graphic calendar to blog posts?','comicpress'); ?></label></th>
<td>
<input id="enable_post_calendar" name="enable_post_calendar" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_post_calendar']); ?> />
</td>
<td>
<?php _e('Enabling this option will display a calendar image on your blog posts. The graphic calendar is an image that has the date of the blog post overlayed on top of it.','comicpress'); ?>
</td>
</tr>
</table>
<tr>
<th scope="row"><?php _e('Blog post author Gravatar?','comicpress'); ?></th>
<td valign="top">
<input name="enable_post_author_gravatar" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_post_author_gravatar']); ?> />
</td>
<td valign="top">
<?php _e('Enabling this option will show a gravatar of the post author based on the author email address. Gravatars are associated by your email address and you can create them at','comicpress'); ?> <a href="http://gravatar.com/">http://gravatar.com</a>.
</td>
</tr>
<?php
$current_avatar_directory = $comicpress_options['avatar_directory'];
if (empty($current_avatar_directory)) $current_avatar_directory = 'default';
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
$avatar_directories = array();
foreach ($dirs_to_search as $dir) { $avatar_directories = array_merge($avatar_directories,glob("${dir}/images/avatars/*")); }
?>
<tr>
<th scope="row"><?php _e('Avatar (no Gravatar) Directory','comicpress'); ?><br />
<br />
<label>
<select name="avatar_directory" id="avatar_directory">
<option class="level-0" value="none" <?php if ($current_cal_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
<?php
foreach ($avatar_directories as $avatar_dirs) {
if (is_dir($avatar_dirs)) {
$avatar_dir_name = basename($avatar_dirs); ?>
<option class="level-0" value="<?php echo $avatar_dir_name; ?>" <?php if ($current_avatar_directory == $avatar_dir_name) { ?>selected="selected"<?php } ?>><?php echo $avatar_dir_name; ?></option>
<?php }
}
?>
</select>
</label>
</th>
<td></td>
<td valign="top">
<?php _e('Choose a directory to get the avatars for default gravatars if someone does not have one. You will have to make these images yourself, or download them from avatar providers. Then make a new directory on your site server to upload them to and select that directory here.','comicpress'); ?><br />
</td>
</tr>
<?php
$current_directory = $comicpres_options['moods_directory'];
if (empty($current_directory)) $current_directory = 'default';
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
$mood_directories = array();
foreach ($dirs_to_search as $dir) { $mood_directories = array_merge($mood_directories,glob("${dir}/images/moods/*")); }
?>
<tr>
<th scope="row"><?php _e('Moods Directory','comicpress'); ?><br />
<br />
<label>
<select name="moods_directory" id="moods_directory">
<option class="level-0" value="none" <?php if ($current_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
<?php
foreach ($mood_directories as $mood_dirs) {
if (is_dir($mood_dirs)) {
$mood_dir_name = basename($mood_dirs); ?>
<option class="level-0" value="<?php echo $mood_dir_name; ?>" <?php if ($current_directory == $mood_dir_name) { ?>selected="selected"<?php } ?>><?php echo $mood_dir_name; ?></option>
<?php }
}
?>
</select>
</label>
</th>
<td></td>
<td valign="top">
<?php _e('Choose a directory to get the post moods from. Set this to "none" to turn off use. Mood directories are found in your theme directory/images/moods/* to create your own custom moods just create a directory under images/moods/ and place ONLY image files inside of it. The name of the image file represents what the mood is.','comicpress'); ?>
</td>
</tr>
</table>
</div>
<table class="widefat">
<thead>
<tr>
<th colspan="3">Tags/Categories</th>
</tr>
</thead>
<tr class="alternate">
<th scope="row"><label for="disable_tags_in_posts"><?php _e('Disable display of tags in posts?','comicpress'); ?></label></th>
<td>
<input id="disable_tags_in_posts" name="disable_tags_in_posts" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_tags_in_posts']); ?> />
</td>
<td>
<?php _e('Tags != Categories, Tags are "descriptive keywords" of content in a post.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="disable_categories_in_posts"><?php _e('Disable display of categories in posts?','comicpress'); ?></label></th>
<td>
<input id="disable_categories_in_posts" name="disable_categories_in_posts" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_categories_in_posts']); ?> />
</td>
<td>
<?php _e('Categories != Tags, The categories that are shown by default are the ones the post in set to.','comicpress'); ?>
</td>
</tr>
</table>
<table class="widefat">
<thead>
<tr>
<th colspan="3">Pages &amp; Blog Loop</th>
</tr>
</thead>
<tr class="alternate">
<th scope="row"><label for="blogposts_with_comic"><?php _e('Show all blog posts up until the next comic post on single pages?','comicpress'); ?></label></th>
<td>
<input id="blogposts_with_comic" name="blogposts_with_comic" type="checkbox" value="1" <?php checked(true, $comicpress_options['blogposts_with_comic']); ?> />
</td>
<td>
<?php _e('All the blog posts that are on the same day and greater to the next comic post on the comic your viewing will appear.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="static_blog"><?php _e('Blog loop stays with all the single pages?','comicpress'); ?></label></th>
<td>
<input id="static_blog" name="static_blog" type="checkbox" value="1" <?php checked(true, $comicpress_options['static_blog']); ?> />
</td>
<td>
<?php _e('Blog will stay with the single pages, good to use with comments disabled in the settings.','comicpress'); ?>
</td>
</tr>
<tr class="alternate">
<th scope="row"><label for="disable_page_titles"><?php _e('Disable the titles on pages?','comicpress'); ?></label></th>
<td>
<input id="disable_page_titles" name="disable_page_titles" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_page_titles']); ?> />
</td>
<td>
<?php _e('If you disable the titles no pages you can add a post-page-image in the page editor.','comicpress'); ?>
</td>
</tr>
</table>
</div>
<div id="comicpress-options-save">
<div id="major-publishing-actions">
<div id="publishing-action">
<input name="comicpress_save_post" type="submit" class="button-primary" value="Save Settings" />
<input type="hidden" name="action" value="comicpress_save_post" />
</div>
<div class="clear"></div>
</div>
</div>
<div class="stuffbox" style="background: #ebf8ff;">
<h3>Calendar</h3>
<table class="form-table" style="width: auto;">
<?php
$current_cal_directory = $comicpress_options['calendar_directory'];
if (empty($current_cal_directory)) $current_cal_directory = 'default';
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
$cal_directories = array();
foreach ($dirs_to_search as $dir) { $cal_directories = array_merge($cal_directories,glob("${dir}/images/cal/*")); }
?>
<tr>
<th scope="row"><?php _e('Calendar Directory','comicpress'); ?><br />
<br />
<label>
<select name="calendar_directory" id="calendar_directory">
<option class="level-0" value="none" <?php if ($current_cal_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
<?php
foreach ($cal_directories as $cal_dirs) {
if (is_dir($cal_dirs)) {
$cal_dir_name = basename($cal_dirs); ?>
<option class="level-0" value="<?php echo $cal_dir_name; ?>" <?php if ($current_cal_directory == $cal_dir_name) { ?>selected="selected"<?php } ?>><?php echo $cal_dir_name; ?></option>
<?php }
}
?>
</select>
</label>
</th>
<td></td>
<td valign="top">
<?php _e('Choose a directory to get the Archive Calendar styling from. To not have calendar graphics, select "none". Calendar directories are found in your theme directory/images/cal/* to create your own custom archive calendar images just create a directory under images/cal/ and place your image files inside of it.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Add graphic calendar to comic posts?','comicpress'); ?></th>
<td valign="top">
<input name="enable_comic_post_calendar" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_comic_post_calendar']); ?> />
</td>
<td valign="top">
<?php _e('The graphic calendar is an image that has the date of the comic blog post overlayed on top of it.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Add graphic calendar to blog posts?','comicpress'); ?></th>
<td valign="top">
<input name="enable_post_calendar" type="checkbox" value="1" <?php checked(true, $comicpress_options['enable_post_calendar']); ?> />
</td>
<td valign="top">
<?php _e('Enabling this option will display a calendar image on your blog posts. The graphic calendar is an image that has the date of the blog post overlayed on top of it.','comicpress'); ?>
</td>
</tr>
</table>
</div>
<div class="stuffbox" style="background: #edffeb;">
<h3>Tags/Categories</h3>
<table class="form-table" style="width: auto;">
<tr>
<th scope="row"><?php _e('Disable display of tags in posts?','comicpress'); ?><br /><br /></th>
<td valign="top">
<input name="disable_tags_in_posts" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_tags_in_posts']); ?> />
</td>
<td valign="top">
<?php _e('Tags != Categories, Tags are "descriptive keywords" of content in a post.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Disable display of categories in posts?','comicpress'); ?></th>
<td valign="top">
<input name="disable_categories_in_posts" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_categories_in_posts']); ?> />
</td>
<td valign="top">
<?php _e('Categories != Tags, The categories that are shown by default are the ones the post in set to.','comicpress'); ?>
</td>
</tr>
</table>
</div>
<div class="stuffbox" style="background: #ebf8ff;">
<h3>Pages & Blog Loop</h3>
<table class="form-table" style="width: auto;">
<tr>
<th scope="row"><?php _e('Show all blog posts up until the next comic post on single pages?','comicpress'); ?></th>
<td valign="top">
<input name="blogposts_with_comic" type="checkbox" value="1" <?php checked(true, $comicpress_options['blogposts_with_comic']); ?> />
</td>
<td valign="top">
<?php _e('All the blog posts that are on the same day and greater to the next comic post on the comic your viewing will appear.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Blog loop stays with all the single pages?','comicpress'); ?></th>
<td valign="top">
<input name="static_blog" type="checkbox" value="1" <?php checked(true, $comicpress_options['static_blog']); ?> />
</td>
<td valign="top">
<?php _e('Blog will stay with the single pages, good to use with comments disabled in the settings.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Disable the titles on pages?','comicpress'); ?><br /><br /></th>
<td valign="top">
<input name="disable_page_titles" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_page_titles']); ?> />
</td>
<td valign="top">
<?php _e('If you disable the titles no pages you can add a post-page-image in the page editor.','comicpress'); ?>
</td>
</tr>
</table>
</div>
<input name="comicpress_save_post" type="submit" class="button-primary" value="Save Settings" />
<input type="hidden" name="action" value="comicpress_save_post" />
</form>
</div>
</div>

View File

@ -7,57 +7,93 @@
</script>
<div id="themestyle" class="<?php if ($tab == 'themestyle' || empty($tab)) { ?>show<?php } else { ?>hide<?php } ?>">
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<?php wp_nonce_field('update-options') ?>
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<?php wp_nonce_field('update-options') ?>
<div id="comicpress-options">
<table class="widefat" cellspacing="0">
<thead>
<tr>
<th colspan="4">Layout</th>
</tr>
</thead>
<tr class="alternate">
<th class="scope" style="width:250px"><br /><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')">
<option class="level-0" value="standard" <?php if ($comicpress_options['cp_theme_layout'] == 'standard') { ?>selected="selected" <?php } ?>><?php _e('2 Column (Standard)','comicpress'); ?></option>
<option class="level-0" value="3c" <?php if ($comicpress_options['cp_theme_layout'] =='3c') { ?>selected="selected" <?php } ?>><?php _e('3 Column ','comicpress'); ?></option>
<option class="level-0" value="3c2r" <?php if ($comicpress_options['cp_theme_layout'] =='3c2r') { ?>selected="selected" <?php } ?>><?php _e('3 Column: Sidebars Right','comicpress'); ?></option>
<option class="level-0" value="v" <?php if ($comicpress_options['cp_theme_layout'] =='v') { ?>selected="selected" <?php } ?>><?php _e('Single Panel (Vertical)','comicpress'); ?></option>
<option class="level-0" value="v3c" <?php if ($comicpress_options['cp_theme_layout'] =='v3c') { ?>selected="selected" <?php } ?>><?php _e('Single Panel (Vertical) 3 Column','comicpress'); ?></option>
<option class="level-0" value="gn" <?php if ($comicpress_options['cp_theme_layout'] =='gn') { ?>selected="selected" <?php } ?>><?php _e('Graphic Novel: Sidebar Left','comicpress'); ?></option>
<option class="level-0" value="rgn" <?php if ($comicpress_options['cp_theme_layout'] =='rgn') { ?>selected="selected" <?php } ?>><?php _e('Graphic Novel: Sidebar Right','comicpress'); ?></option>
</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">
<i>Comic Strip - 2 Column</i> and <i>Single Panel - 2 Column</i> themes default width: <b>780px</b>.
<br/><br/>
<i>Comic Strip - 3 Column</i>, <i>Single Panel - 3 Column</i>, and <i>Graphic Novel</i> themes default width: <b>980px</b>.
</td>
</tr>
</table>
<div class="clear"></div>
</div>
<div id="comicpress-options">
<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" />
</div>
<div class="clear"></div>
</div>
</div>
</form>
<div class="clear"></div>
<table class="widefat" cellspacing="0">
<thead>
<tr>
<th colspan="4">Layout</th>
</tr>
</thead>
<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')">
<option class="level-0" value="standard" <?php if ($comicpress_options['cp_theme_layout'] == 'standard') { ?>selected="selected" <?php } ?>><?php _e('2 Column (Standard)','comicpress'); ?></option>
<option class="level-0" value="3c" <?php if ($comicpress_options['cp_theme_layout'] =='3c') { ?>selected="selected" <?php } ?>><?php _e('3 Column ','comicpress'); ?></option>
<option class="level-0" value="3c2r" <?php if ($comicpress_options['cp_theme_layout'] =='3c2r') { ?>selected="selected" <?php } ?>><?php _e('3 Column: Sidebars Right','comicpress'); ?></option>
<option class="level-0" value="v" <?php if ($comicpress_options['cp_theme_layout'] =='v') { ?>selected="selected" <?php } ?>><?php _e('Single Panel (Vertical)','comicpress'); ?></option>
<option class="level-0" value="v3c" <?php if ($comicpress_options['cp_theme_layout'] =='v3c') { ?>selected="selected" <?php } ?>><?php _e('Single Panel (Vertical) 3 Column','comicpress'); ?></option>
<option class="level-0" value="gn" <?php if ($comicpress_options['cp_theme_layout'] =='gn') { ?>selected="selected" <?php } ?>><?php _e('Graphic Novel: Sidebar Left','comicpress'); ?></option>
<option class="level-0" value="rgn" <?php if ($comicpress_options['cp_theme_layout'] =='rgn') { ?>selected="selected" <?php } ?>><?php _e('Graphic Novel: Sidebar Right','comicpress'); ?></option>
</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">
<i>Comic Strip - 2 Column</i> and <i>Single Panel - 2 Column</i> themes default width: <b>780px</b>.
<br/><br/>
<i>Comic Strip - 3 Column</i>, <i>Single Panel - 3 Column</i>, and <i>Graphic Novel</i> themes default width: <b>980px</b>.
</td>
</tr>
</table>
<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" />
</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 2.9</a></div>
[ <?php echo $comicpress_options['comicpress_version']; ?> ]<br />
<?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 />
<?php _e('If you like the ComicPress theme, please donate. It will help in creating new 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="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>
</div>