Updated ComicPress Options... like, all of them.

Signed-off-by: Danny Burleson <danny@oycomics.com>
This commit is contained in:
Danny Burleson 2009-11-19 21:39:56 -08:00
parent 76ba3cebf4
commit 2e01124b1d
10 changed files with 810 additions and 571 deletions

View File

@ -4,6 +4,88 @@
$options = array (
array("type" => "open"),
array(
"id" => "comicpress-cp_theme_layout",
"default" => "standard",
"type" => "comicpress-cp_theme_layout"),
array(
"id" => "comicpress-general_main",
"default" => "default",
"type" => "comicpress-general_main"),
array(
"id" => "comicpress-disable_page_restraints",
"default" => "no",
"type" => "comicpress-disable_page_restraints"),
array(
"id" => "comicpress-rascal_says",
"default" => "no",
"type" => "comicpress-rascal_says"),
array(
"id" => "comicpress-disable_comment_note",
"default" => "no",
"type" => "comicpress-disable_comment_note"),
array(
"id" => "comicpress-disable_css_style_editor",
"default" => "no",
"type" => "comicpress-disable_css_style_editor"),
array(
"id" => "comicpress-custom_css",
"default" => "",
"type" => "comicpress-custom_css"),
array(
"id" => "comicpress-disable_extended_comments",
"default" => "no",
"type" => "comicpress-disable_extended_comments"),
array(
"id" => "comicpress-general_navigation",
"default" => "default",
"type" => "comicpress-general_navigation"),
array(
"id" => "comicpress-enable_numbered_pagination",
"default" => "yes",
"type" => "comicpress-enable_numbered_pagination"),
array(
"id" => "comicpress-comic_clicks_next",
"default" => "no",
"type" => "comicpress-comic_clicks_next"),
array(
"id" => "comicpress-graphicnav_directory",
"default" => "default",
"type" => "comicpress-graphicnav_directory"),
array(
"id" => "comicpress-general_sidebars",
"default" => "default",
"type" => "comicpress-general_sidebars"),
array(
"id" => "comicpress-disable_lrsidebars_frontpage",
"default" => "no",
"type" => "comicpress-disable_lrsidebars_frontpage"),
array(
"id" => "comicpress-enable_widgetarea_use_sidebar_css",
"default" => "no",
"type" => "comicpress-enable_widgetarea_use_sidebar_css"),
array(
"id" => "comicpress-general_footerheading",
"default" => "default",
"type" => "comicpress-general_footerheading"),
array(
"id" => "comicpress-disable_footer_text",
"default" => "no",
"type" => "comicpress-disable_footer_text"),
array(
"id" => "comicpress-disable_comic_frontpage",
"default" => "no",
@ -23,17 +105,195 @@ $options = array (
"id" => "comicpress-disable_blog_frontpage",
"default" => "no",
"type" => "comicpress-disable_blog_frontpage"),
array(
"id" => "comicpress-disable_blogheader",
"default" => "no",
"type" => "comicpress-disable_blogheader"),
array(
"id" => "comicpress-posts_heading_main",
"default" => "default",
"type" => "comicpress-posts_heading_main"),
array(
"id" => "comicpress-transcript_in_posts",
"default" => "no",
"type" => "comicpress-transcript_in_posts"),
array(
"id" => "comicpress-custom_css",
"default" => "",
"type" => "comicpress-custom_css"),
"id" => "comicpress-enable_related_comics",
"default" => "no",
"type" => "comicpress-enable_related_comics"),
array(
"id" => "comicpress-cp_theme_layout",
"default" => "standard",
"type" => "comicpress-cp_theme_layout"),
"id" => "comicpress-enable_related_posts",
"default" => "no",
"type" => "comicpress-enable_related_posts"),
array(
"id" => "comicpress-remove_wptexturize",
"default" => "no",
"type" => "comicpress-remove_wptexturize"),
array(
"id" => "comicpress-posts_heading_authorsavatars",
"default" => "default",
"type" => "comicpress-posts_heading_authorsavatars"),
array(
"id" => "comicpress-split_column_in_two",
"default" => "no",
"type" => "comicpress-split_column_in_two"),
array(
"id" => "comicpress-author_column_one",
"default" => "1",
"type" => "comicpress-author_column_one"),
array(
"id" => "comicpress-author_column_two",
"default" => "1",
"type" => "comicpress-author_column_two"),
array(
"id" => "comicpress-enable_comic_post_author_gravatar",
"default" => "no",
"type" => "comicpress-enable_comic_post_author_gravatar"),
array(
"id" => "comicpress-enable_post_author_gravatar",
"default" => "no",
"type" => "comicpress-enable_post_author_gravatar"),
array(
"id" => "comicpress-avatar_directory",
"default" => "default",
"type" => "comicpress-avatar_directory"),
array(
"id" => "comicpress-moods_directory",
"default" => "default",
"type" => "comicpress-moods_directory"),
array(
"id" => "comicpress-posts_heading_calendar",
"default" => "default",
"type" => "comicpress-posts_heading_calendar"),
array(
"id" => "comicpress-calendar_directory",
"default" => "default",
"type" => "comicpress-calendar_directory"),
array(
"id" => "comicpress-enable_comic_post_calendar",
"default" => "no",
"type" => "comicpress-enable_comic_post_calendar"),
array(
"id" => "comicpress-enable_post_calendar",
"default" => "no",
"type" => "comicpress-enable_post_calendar"),
array(
"id" => "comicpress-posts_heading_tagscategories",
"default" => "default",
"type" => "comicpress-posts_heading_tagscategories"),
array(
"id" => "comicpress-disable_tags_in_posts",
"default" => "no",
"type" => "comicpress-disable_tags_in_posts"),
array(
"id" => "comicpress-disable_categories_in_posts",
"default" => "no",
"type" => "comicpress-disable_categories_in_posts"),
array(
"id" => "comicpress-posts_heading_pages",
"default" => "default",
"type" => "comicpress-posts_heading_pages"),
array(
"id" => "comicpress-blogposts_with_comic",
"default" => "no",
"type" => "comicpress-blogposts_with_comic"),
array(
"id" => "comicpress-disable_page_titles",
"default" => "no",
"type" => "comicpress-disable_page_titles"),
array(
"id" => "comicpress-archive_display_order",
"default" => "desc",
"type" => "comicpress-archive_display_order"),
array(
"id" => "comicpress-excerpt_or_content_archive",
"default" => "excerpt",
"type" => "comicpress-excerpt_or_content_archive"),
array(
"id" => "comicpress-excerpt_or_content_search",
"default" => "excerpt",
"type" => "comicpress-excerpt_or_content_search"),
array(
"id" => "comicpress-category_thumbnail_postcount",
"default" => "30",
"type" => "comicpress-category_thumbnail_postcount"),
array(
"id" => "comicpress-contact_in_menubar",
"default" => "no",
"type" => "comicpress-contact_in_menubar"),
array(
"id" => "comicpress-enable_search_in_menubar",
"default" => "no",
"type" => "comicpress-enable_search_in_menubar"),
array(
"id" => "comicpress-enable_rss_in_menubar",
"default" => "no",
"type" => "comicpress-enable_rss_in_menubar"),
array(
"id" => "comicpress-enable_navigation_in_menubar",
"default" => "yes",
"type" => "comicpress-enable_navigation_in_menubar"),
array(
"id" => "comicpress-disable_dynamic_menubar_links",
"default" => "no",
"type" => "comicpress-disable_dynamic_menubar_links"),
array(
"id" => "comicpress-disable_default_menubar",
"default" => "no",
"type" => "comicpress-disable_default_menubar"),
array(
"id" => "comicpress-enable_custom_image_header",
"default" => "no",
"type" => "comicpress-enable_custom_image_header"),
array(
"id" => "comicpress-custom_image_header_width",
"default" => "780",
"type" => "comicpress-custom_image_header_width"),
array(
"id" => "comicpress-custom_image_header_height",
"default" => "120",
"type" => "comicpress-custom_image_header_height"),
array(
"id" => "comicpress-buy_print_email",
"default" => "youremail@youremail.com",
@ -69,225 +329,13 @@ $options = array (
"default" => "9.95",
"type" => "comicpress-buy_print_int_ship"),
array(
"id" => "comicpress-transcript_in_posts",
"default" => "no",
"type" => "comicpress-transcript_in_posts"),
array(
"id" => "comicpress-enable_widgetarea_use_sidebar_css",
"default" => "no",
"type" => "comicpress-enable_widgetarea_use_sidebar_css"),
array(
"id" => "comicpress-contact_in_menubar",
"default" => "no",
"type" => "comicpress-contact_in_menubar"),
array(
"id" => "comicpress-disable_extended_comments",
"default" => "no",
"type" => "comicpress-disable_extended_comments"),
array(
"id" => "comicpress-enable_custom_image_header",
"default" => "no",
"type" => "comicpress-enable_custom_image_header"),
array(
"id" => "comicpress-custom_image_header_width",
"default" => "780",
"type" => "comicpress-custom_image_header_width"),
array(
"id" => "comicpress-custom_image_header_height",
"default" => "120",
"type" => "comicpress-custom_image_header_height"),
array(
"id" => "comicpress-enable_numbered_pagination",
"default" => "yes",
"type" => "comicpress-enable_numbered_pagination"),
array(
"id" => "comicpress-disable_page_restraints",
"default" => "no",
"type" => "comicpress-disable_page_restraints"),
array(
"id" => "comicpress-enable_related_comics",
"default" => "no",
"type" => "comicpress-enable_related_comics"),
array(
"id" => "comicpress-enable_related_posts",
"default" => "no",
"type" => "comicpress-enable_related_posts"),
array(
"id" => "comicpress-comic_clicks_next",
"default" => "no",
"type" => "comicpress-comic_clicks_next"),
array(
"id" => "comicpress-rascal_says",
"default" => "no",
"type" => "comicpress-rascal_says"),
array(
"id" => "comicpress-disable_css_style_editor",
"default" => "no",
"type" => "comicpress-disable_css_style_editor"),
array(
"id" => "comicpress-enable_post_calendar",
"default" => "no",
"type" => "comicpress-enable_post_calendar"),
array(
"id" => "comicpress-enable_post_author_gravatar",
"default" => "no",
"type" => "comicpress-enable_post_author_gravatar"),
array(
"id" => "comicpress-enable_comic_post_calendar",
"default" => "no",
"type" => "comicpress-enable_comic_post_calendar"),
array(
"id" => "comicpress-enable_comic_post_author_gravatar",
"default" => "no",
"type" => "comicpress-enable_comic_post_author_gravatar"),
array(
"id" => "comicpress-disable_tags_in_posts",
"default" => "no",
"type" => "comicpress-disable_tags_in_posts"),
array(
"id" => "comicpress-disable_categories_in_posts",
"default" => "no",
"type" => "comicpress-disable_categories_in_posts"),
array(
"id" => "comicpress-moods_directory",
"default" => "default",
"type" => "comicpress-moods_directory"),
array(
"id" => "comicpress-graphicnav_directory",
"default" => "default",
"type" => "comicpress-graphicnav_directory"),
array(
"id" => "comicpress-enable_search_in_menubar",
"default" => "no",
"type" => "comicpress-enable_search_in_menubar"),
array(
"id" => "comicpress-enable_rss_in_menubar",
"default" => "no",
"type" => "comicpress-enable_rss_in_menubar"),
array(
"id" => "comicpress-enable_navigation_in_menubar",
"default" => "yes",
"type" => "comicpress-enable_navigation_in_menubar"),
array(
"id" => "comicpress-disable_lrsidebars_frontpage",
"default" => "no",
"type" => "comicpress-disable_lrsidebars_frontpage"),
array(
"id" => "comicpress-calendar_directory",
"default" => "default",
"type" => "comicpress-calendar_directory"),
array(
"id" => "comicpress-disable_dynamic_menubar_links",
"default" => "no",
"type" => "comicpress-disable_dynamic_menubar_links"),
array(
"id" => "comicpress-disable_footer_text",
"default" => "no",
"type" => "comicpress-disable_footer_text"),
array(
"id" => "comicpress-avatar_directory",
"default" => "default",
"type" => "comicpress-avatar_directory"),
array(
"id" => "comicpress-archive_display_order",
"default" => "desc",
"type" => "comicpress-archive_display_order"),
array(
"id" => "comicpress-disable_comment_note",
"default" => "no",
"type" => "comicpress-disable_comment_note"),
array(
"id" => "comicpress-excerpt_or_content_archive",
"default" => "excerpt",
"type" => "comicpress-excerpt_or_content_archive"),
array(
"id" => "comicpress-excerpt_or_content_search",
"default" => "excerpt",
"type" => "comicpress-excerpt_or_content_search"),
array(
"id" => "comicpress-category_thumbnail_postcount",
"default" => "30",
"type" => "comicpress-category_thumbnail_postcount"),
array(
"id" => "comicpress-members_post_category",
"default" => "",
"type" => "comicpress-members_post_category"),
array(
"id" => "comicpress-blogposts_with_comic",
"default" => "no",
"type" => "comicpress-blogposts_with_comic"),
array(
"id" => "comicpress-split_column_in_two",
"default" => "no",
"type" => "comicpress-split_column_in_two"),
array(
"id" => "comicpress-author_column_one",
"default" => "1",
"type" => "comicpress-author_column_one"),
array(
"id" => "comicpress-author_column_two",
"default" => "1",
"type" => "comicpress-author_column_two"),
array(
"id" => "comicpress-remove_wptexturize",
"default" => "no",
"type" => "comicpress-remove_wptexturize"),
array(
"id" => "comicpress-disable_default_menubar",
"default" => "no",
"type" => "comicpress-disable_default_menubar"),
array(
"id" => "comicpress-disable_blogheader",
"default" => "no",
"type" => "comicpress-disable_blogheader"),
array(
"id" => "comicpress-disable_page_titles",
"default" => "no",
"type" => "comicpress-disable_page_titles"),
array("type" => "close")
);

View File

@ -69,8 +69,8 @@ function comicpress_admin() {
<div id="cpadmin" onclick="hidemessage();">
<div class="on" title="themestyle"><span><?php _e('Layout','comicpress'); ?></span></div>
<div class="off" title="generaloptions"><span><?php _e('General','comicpress'); ?></span></div>
<div class="off" title="indexoptions"><span><?php _e('Index Page','comicpress'); ?></span></div>
<div class="off" title="postoptions"><span><?php _e('Post','comicpress'); ?></span></div>
<div class="off" title="indexoptions"><span><?php _e('Home Page','comicpress'); ?></span></div>
<div class="off" title="postoptions"><span><?php _e('Posts &amp; Pages','comicpress'); ?></span></div>
<div class="off" title="archivesearch"><span><?php _e('Archive &amp; Search','comicpress'); ?></span></div>
<div class="off" title="menubaroptions"><span><?php _e('Menubar','comicpress'); ?></span></div>
<div class="off" title="customheader"><span><?php _e('Custom Header','comicpress'); ?></span></div>
@ -101,7 +101,7 @@ function comicpress_admin() {
src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1"
height="1">
</form>
<a href="http://comicpress.org/"><strong>ComicPress 2.9</strong> <small>[ <?php global $comicpress_version; echo $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('and','comicpress'); ?> <a href="http://webcomicplanet.com/">Philip M. Hofer</a> <small>(<a href="http://frumph.net/">Frumph</a>)</small>.<br />
<a href="http://comicpress.org/"><strong>ComicPress 2.9</strong> <small>[ <?php global $comicpress_version; echo $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://webcomicplanet.com/">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'); ?>
<br />
<br />

View File

@ -8,51 +8,59 @@
switch ( $value['type'] ) {
case "comicpress-excerpt_or_content_archive": ?>
<tr>
<th scope="row"><strong><?php _e('Would you like to have users see the entire content or just an excerpt when viewing the archives?','comicpress'); ?></strong><br /><br /></th>
<th scope="row"><strong><?php _e('Archive Viewing','comicpress'); ?></strong><br /><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-excerpt" type="radio" value="excerpt"<?php if ( get_option( $value['id'] ) == "excerpt") { echo " checked"; } ?> />Excerpt</label>
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-content" type="radio" value="content"<?php if ( get_option( $value['id'] ) == "content") { echo " checked"; } ?> />Full Content</label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-content" type="radio" value="content"<?php if ( get_option( $value['id'] ) == "content") { echo " checked"; } ?> />Content</label>
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-excerpt" type="radio" value="excerpt"<?php if ( get_option( $value['id'] ) == "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>
<?php break;
case "comicpress-excerpt_or_content_search": ?>
<tr>
<th scope="row"><strong><?php _e('Would you like to have users see the entire content or just an excerpt when searching?','comicpress'); ?></strong><br /><br /></th>
<th scope="row"><strong><?php _e('Searching','comicpress'); ?></strong><br /><br /></th>
<td valign="top" width="160">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-excerpt" type="radio" value="excerpt"<?php if ( get_option( $value['id'] ) == "excerpt") { echo " checked"; } ?> />Excerpt</label>
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-content" type="radio" value="content"<?php if ( get_option( $value['id'] ) == "content") { echo " checked"; } ?> />Full Content</label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-content" type="radio" value="content"<?php if ( get_option( $value['id'] ) == "content") { echo " checked"; } ?> />Content</label>
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-excerpt" type="radio" value="excerpt"<?php if ( get_option( $value['id'] ) == "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>
<?php break;
case "comicpress-archive_display_order": ?>
<tr>
<th scope="row"><strong><?php _e('Display Archive in Ascending or Descending order?','comicpress'); ?></strong><br /><br /><?php _e('Long time ago or most recent displays first?','comicpress'); ?><br /></th>
<th scope="row"><strong><?php _e('Archive Display Order','comicpress'); ?></strong><br /><br /><?php _e('Sets the display order of your archives.','comicpress'); ?><br /></th>
<td valign="top">
<label>
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
<option class="level-0" value="asc" <?php if (get_option($value['id']) == "asc") { ?>selected="selected"<?php } ?>>Ascending</option>
<option class="level-0" value="desc" <?php if (get_option($value['id']) == "desc") { ?>selected="selected"<?php } ?>>Descending</option>
<option class="level-0" value="asc" <?php if (get_option($value['id']) == "asc") { ?>selected="selected"<?php } ?>>Oldest to Newest</option>
<option class="level-0" value="desc" <?php if (get_option($value['id']) == "desc") { ?>selected="selected"<?php } ?>>Newest to Oldest</option>
</select>
</label>
</td>
<td valign="top">
<?php _e('<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>
<?php break;
case "comicpress-category_thumbnail_postcount": ?>
<tr>
<th scope="row"><b><?php _e('Thumbnail PostCount (Archive)','comicpress'); ?></b><br /><br /><?php _e('How many images in the comic category would you like to see in the archive page?','comicpress'); ?></th>
<th scope="row"><b><?php _e('Number of archived comics to display','comicpress'); ?></b><br /><br /></th>
<td valign="top">
<label>
<input type="text" size="5" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php print get_option($value['id']); ?>" /><br />
</label>
</td>
<td valign="top">
<?php _e('If you set this to -1 it will display *all* available thumbnails for the comic category that is chosen to view.','comicpress'); ?>
<?php _e('How many images in the comic category would you like to see in the archive page?','comicpress'); ?>
</td>
</tr>
<?php break;
@ -60,7 +68,7 @@
}
?>
</table>
<input name="comicpress_save" type="submit" class="button-primary" value="Save Style" />
<input name="comicpress_save" type="submit" class="button-primary" value="Save Settings" />
<input type="hidden" name="action" value="comicpress_save" />
</form>
</div>

View File

@ -38,22 +38,21 @@
<?php break;
case "comicpress-buy_print_add_shipping": ?>
<tr>
<th scope="row"><strong><?php _e('Add shipping to each item?','comicpress'); ?></strong><br /></th>
<th scope="row"><strong><?php _e('Add shipping to each item?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will make it so that shipping costs will be added to each item purchased.','comicpress'); ?></th>
<td valign="top" width="100">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Enabling this option will make it so that shipping costs will be added to each item purchased.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-buy_print_us_amount": ?>
<tr>
<th scope="row"><b><?php _e('Print Cost (US/Canada)','comicpress'); ?></b><br /><br /><?php _e('How much does a print cost for people in the United State and Canada?','comicpress'); ?></th>
<td valign="top">
<th scope="row"><b><?php _e('Print Cost (US/Canada)','comicpress'); ?></b><br /><br /><?php _e('How much does a print cost for people in the United States and Canada?','comicpress'); ?></th>
<td valign="top">$
<label>
<input type="text" size="7" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php print get_option($value['id']); ?>" />
</label>
@ -64,7 +63,7 @@
case "comicpress-buy_print_us_ship": ?>
<tr>
<th scope="row"><b><?php _e('Shipping Cost (US/Canada)','comicpress'); ?></b><br /><br /></th>
<td valign="top">
<td valign="top">$
<label>
<input type="text" size="7" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php print get_option($value['id']); ?>" />
</label>
@ -74,8 +73,8 @@
<?php break;
case "comicpress-buy_print_int_amount": ?>
<tr>
<th scope="row"><b><?php _e('Print Cost (International)','comicpress'); ?></b><br /><br /><?php _e('How much does a print cost for people *NOT* in the United States and Canda (International)','comicpress'); ?></th>
<td valign="top">
<th scope="row"><b><?php _e('Print Cost (International)','comicpress'); ?></b><br /><br /><?php _e('How much does a print cost for people *NOT* in the United States and Canada (International)','comicpress'); ?></th>
<td valign="top">$
<label>
<input type="text" size="7" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php print get_option($value['id']); ?>" />
</label>
@ -86,7 +85,7 @@
case "comicpress-buy_print_int_ship": ?>
<tr>
<th scope="row"><b><?php _e('Shipping Cost (International)','comicpress'); ?></b><br /><br /></th>
<td valign="top">
<td valign="top">$
<label>
<input type="text" size="7" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php print get_option($value['id']); ?>" />
</label>

View File

@ -8,45 +8,47 @@
switch ( $value['type'] ) {
case "comicpress-enable_custom_image_header": ?>
<tr>
<th scope="row"><strong><?php _e('Enable Custom Image Header panel?','comicpress'); ?></strong><br /><br /><?php _e('Setting to &quot;Yes&quot; will set a new option in your Dashboard -> Appearance menu.','comicpress'); ?><br /></th>
<th scope="row"><strong><?php _e('Use Custom Header?','comicpress'); ?></strong><br /><?php _e('Adds Custom Header option under Dashboard -> Appearance.','comicpress'); ?><br /></th>
<td valign="top" width="100">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Setting to "Yes" will set a new option in your Dashboard -> Appearance menu. Setting to "Yes" will set a new option in your Dashboard -> Appearance menu. Setting to "No" will not set a new option in your Dashboard -> Appearance menu. Setting to "Yes" will set a new option in your Dashboard -> Appearance menu.','comicpress'); ?>
<?php _e('Allows you to add your own header image and customize or hide the default text.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-custom_image_header_height": ?>
<tr>
<th scope="row"><b><?php _e('Header Image Height','comicpress'); ?></b><br /><br /><?php _e('Set the <b>height</b> of the image you want to use in the Custom Image Header panel.','comicpress'); ?></th>
<td valign="top">
<label>
<input type="text" size="5" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php print get_option($value['id']); ?>" /><br />
</label>
</td>
<td valign="top">
<?php _e('This space intentionally left blank.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-custom_image_header_width": ?>
<tr>
<th scope="row"><b><?php _e('Header Image Width','comicpress'); ?></b><br /><br /><?php _e('Set the <b>width</b> of the image you want to use in the Custom Image Header panel.','comicpress'); ?></th>
<th scope="row"><b><?php _e('Width','comicpress'); ?></b><br /><?php _e('Sets the <b>width</b> of the image you want to use for Custom Header.','comicpress'); ?><br /></th>
<td valign="top">
<label>
<input type="text" size="5" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php print get_option($value['id']); ?>" /><br />
</label>
</td>
<td valign="top" rowspawn="5">
<?php _e('The Standard and V styles use <b>760</b> px width, while the 3C, GN, RGN and V3C use <b>980</b> px width. This is configurable in case you set the #page, #page-width widths in the CSS to something different than the default while using the Custom Header panel.','comicpress'); ?>
<?php _e('Defaults widths are <b>780px</b> or <b>980px</b> depending on the layout. Refer to the width of the layout you chose and any custom changes you have made to site width in the CSS.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-custom_image_header_height": ?>
<tr>
<th scope="row"><b><?php _e('Height','comicpress'); ?></b><br /><?php _e('Sets the <b>height</b> of the image you want to use for Custom Header.','comicpress'); ?><br /><br /></th>
<td valign="top">
<label>
<input type="text" size="5" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php print get_option($value['id']); ?>" /><br />
</label>
</td>
<td valign="top">
<?php _e('Recommended maximum height is <b>120px</b>, but if your logo/image demands it you can set it higher.','comicpress'); ?>
</td>
</tr>
<?php break;
}
}

View File

@ -6,32 +6,15 @@
<?php
foreach ($options as $value) {
switch ( $value['type'] ) {
case "comicpress-enable_widgetarea_use_sidebar_css": ?>
<tr>
<th scope="row"><strong><?php _e('Enable Sidebar CSS in non-left/right sidebars?','comicpress'); ?></strong><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('If enabled, all #sidebars will use .sidebar css','comicpress'); ?><br />
</td>
</tr>
<?php break;
case "comicpress-enable_numbered_pagination": ?>
<tr>
<th scope="row"><strong><?php _e('Enable numbered pagination?','comicpress'); ?></strong><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Numbered pagination appears on the home(index) page, the authors page the blog template and comments/single when there are more then the set # of comments per page. The default is off, it is styled like the menubar.','comicpress'); ?>
</td>
</tr>
case "comicpress-general_main": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Main -</span>
</th>
</tr>
<?php break;
case "comicpress-disable_page_restraints": ?>
<tr>
@ -45,7 +28,66 @@
<?php _e('What you can do with this is use the entire browser for your canvas instead of the 780px/980px that the two elements keep you in. Not recommended enabling this option unless your an expert in CSS','comicpress'); ?></th>
</td>
</tr>
<?php break;
case "comicpress-rascal_says": ?>
<tr>
<th scope="row"><strong><?php _e('Enable Rascal the ComicPress Mascot?','comicpress'); ?></strong><br /><?php _e('Enabling this option will make a comic bubble appear over the comic and write out what you put in the hovertext.','comicpress'); ?><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('You can add hovertext when uploading your comic with ComicPress Manager. To change the graphics for this you should probably know CSS quite well.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_comment_note": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the comment notes?','comicpress'); ?></strong><br /><?php _e('Disabling this will remove the note text that displays with more options for adding to comments (html).','comicpress'); ?><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
</td>
</tr>
<?php break; case "comicpress-general_navigation": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Navigation -</span>
</th>
</tr>
<?php break;
case "comicpress-enable_numbered_pagination": ?>
<tr>
<th scope="row"><strong><?php _e('Enable numbered pagination?','comicpress'); ?></strong><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Numbered pagination appears on the home(index) page, the authors page the blog template and comments/single when there are more then the set # of comments per page. The default is off, it is styled like the menubar.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-comic_clicks_next": ?>
@ -60,61 +102,10 @@
<?php _e('In doing this if someone clicks the comic it will go to the next comic (if possible)','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-rascal_says": ?>
<tr>
<th scope="row"><strong><?php _e('Enable Rascal the ComicPress Mascot?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will make a comic bubble appear over the comic and write out what you put in the hovertext.','comicpress'); ?><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('You can add hovertext when uploading your comic with ComicPress Manager. To change the graphics for this you should probably know CSS quite well.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_footer_text": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the default text in the footer?','comicpress'); ?></strong><br /></th>
<td valign="top" width="100">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label><br />
</td>
<td valign="top">
<?php _e('Footer text that shows up in the #footer area can be simply removed this way.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_page_titles": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the titles on pages?','comicpress'); ?></strong><br /></th>
<td valign="top" width="100">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label><br />
</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>
<?php break;
case "comicpress-disable_comment_note": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the comment notes?','comicpress'); ?></strong><br /><br /><?php _e('Disabling this will remove the note text that displays with more options for adding to comments (html).','comicpress'); ?><br /><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
</td>
</tr>
<?php break;
case "comicpress-graphicnav_directory":
$current_gnav_directory = get_option($value['id']);
@ -145,71 +136,72 @@
under images/nav/ and place your image files inside of it and create a navstyle.css file to determine the style of your navigation display.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-calendar_directory":
$current_cal_directory = get_option($value['id']);
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/*")); }
?>
<?php break; case "comicpress-general_sidebars": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Sidebars -</span>
</th>
</tr>
<?php break;
case "comicpress-enable_widgetarea_use_sidebar_css": ?>
<tr>
<th scope="row"><strong><?php _e('Calendar Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the Archive Calendar styling from.','comicpress'); ?><br /></th>
<th scope="row"><strong><?php _e('Enable Sidebar CSS in non-left/right sidebars?','comicpress'); ?></strong><br /></th>
<td valign="top">
<label>
<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
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>
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('To not have calendar graphics, set this as "none".','comicpress'); ?><br />
<br />
<?php _e('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'); ?>
<?php _e('If enabled, all #sidebars will use .sidebar css','comicpress'); ?><br />
</td>
</tr>
<?php break;
case "comicpress-disable_lrsidebars_frontpage": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the left and right sidebars on the index page?','comicpress'); ?></strong><br /><?php _e('Set to &quot;Yes&quot; and the index page/front page of your site will not display the left and right sidebars.','comicpress'); ?><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label><br />
</td>
<td valign="top">
<?php _e('Minimalists dream. Best not to use with theme styles that have one of the styles that are to the side of the comic.','comicpress'); ?>
</td>
</tr>
<?php break; case "comicpress-general_footerheading": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Footer -</span>
</th>
</tr>
<?php break;
case "comicpress-disable_footer_text": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the default text in the footer?','comicpress'); ?></strong><br /><br /></th>
<td valign="top" width="100">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label><br />
</td>
<td valign="top">
<?php _e('Footer text that shows up in the #footer area can be simply removed this way.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-avatar_directory":
$current_avatar_directory = get_option($value['id']);
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"><strong><?php _e('Avatar (no Gravatar) Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the avatars for default gravatars if someone doesnt have one.','comicpress'); ?><br /></th>
<td valign="top">
<label>
<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
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>
</td>
<td valign="top">
<?php _e('To not use the comicpress avatar graphics, set this as "none".','comicpress'); ?><br />
<br />
</td>
</tr>
<?php break;
}
}

View File

@ -19,7 +19,12 @@
Turning this off and using the GN style turns ComicPress into a Blog.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_comic_blog_frontpage": ?>
<tr>
@ -33,7 +38,13 @@
<?php _e('*Some* people,.. not naming names ..do not like to have a comic post let alone showing on the index page. You can use the comic blog post widget and place it anywhere around the comic. IF there is no content in the post it will not display.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_comic_blog_single": ?>
<tr>
@ -46,7 +57,13 @@
<td valign="top">
</td>
</tr>
<?php break;
case "comicpress-disable_blog_frontpage": ?>
<tr>
@ -60,21 +77,15 @@
<?php _e('This feature is quite handy actually. If you disable this you can add a page to your menubar and associate it to the "blog" template, still keeping your blog, .. just not on the index page.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_lrsidebars_frontpage": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the left and right sidebars on the index page?','comicpress'); ?></strong><br /><br /><?php _e('Set to &quot;Yes&quot; and the index page/front page of your site will not display the left and right sidebars.','comicpress'); ?><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label><br />
</td>
<td valign="top">
<?php _e('Minimalists dream. Best not to use with theme styles that have one of the styles that are to the side of the comic.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_blogheader": ?>
<tr>

View File

@ -27,16 +27,16 @@
</table>
</div>
<div class="inside">
Usage:<br />
Usage:<p>Edit the user with <b>Dashboard -> Users -> Authors & Users</b> and flag the user you want to be a member with the option at the bottom.</p>
<p>
Inside posts, add [members] content you only want members to see [/members]</p>
<p>
When setting a 'members' category, you *cannot* use an existing comic category, uncategorized, or blog category!</p>
<p>
You MUST create a whole new category and called it "members", then you select that category here and create a page called "Members" or something equivelant and associate the Member's Only template to it.</p>
<p>
This will make it so that that category is only seen as blogposts inside that area and not anywhere else on the site unless the user has the members flag.</p>
<br />
Edit the user with dashboard -> users -> author & users and flag the user you want to be a member with the option at the bottom.<br />
<br />
Inside posts, add [members] content you only want members to see [/members]<br />
<br />
Setting a 'members' category is a bit tricky. You *cannot* use a comic category, uncategorized or blog posts category, create a whole new category and called it "members",
then you set that category here and create a page called "Members" or something equivelant and associate the Member's Only template to it.<br />
<br />
This will make it so that that category is only seen as blogposts inside that area and not anywhere else on the site unless the user has the members flag.<br />
</div>
<input name="comicpress_save" type="submit" class="button-primary" value="Save Settings" />
<input type="hidden" name="action" value="comicpress_save" />

View File

@ -15,14 +15,14 @@
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('This will let you use the menubar widget to place the menubar in other sidebars.','comicpress'); ?>
<?php _e('Allows you to customize the location of the Menubar via Widgets.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-enable_search_in_menubar": ?>
<tr>
<th scope="row"><strong><?php _e('Enable Search Form?','comicpress'); ?></strong><br /><br /></th>
<th scope="row"><strong><?php _e('Enable Search Form?','comicpress'); ?></strong><br /></th>
<td valign="top" width="100">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
@ -36,14 +36,14 @@
<?php break;
case "comicpress-enable_rss_in_menubar": ?>
<tr>
<th scope="row"><strong><?php _e('Enable RSS Link?','comicpress'); ?></strong><br /><br /></th>
<th scope="row"><strong><?php _e('Enable RSS Link?','comicpress'); ?></strong><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('It is a link, it links to the RSS. It does *not* link to your the winning lottory numbers.','comicpress'); ?>
<?php _e('Adds an RSS link icon to your menubar on the right side.','comicpress'); ?>
</td>
</tr>
@ -57,35 +57,35 @@
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Mini Navigation arrows reside on the right side of the menubar, just the previous and next arrows.','comicpress'); ?>
<?php _e('Mini Navigation adds small previous and next arrows arrow to the right side of your Menubar.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-contact_in_menubar": ?>
<tr>
<th scope="row"><strong><?php _e('Contact Link?','comicpress'); ?></strong><br /><br /><?php _e('Setting to &quot;Yes&quot will put [&nbsp;CONTACT&nbsp;] in the menubar and associate it with your admin email.','comicpress'); ?></th>
<th scope="row"><strong><?php _e('Enable Contact/custom links?','comicpress'); ?></strong><br /><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('You can also create a links category called "menubar" and whatever link you add to that will appear in the menubar.','comicpress'); ?>
<?php _e('Adds a <b>Contact</b> button to the Menubar associated with your admin email. You can also create a links category called <i>Menubar</i> and whatever links you add to that will appear in the Menubar.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_dynamic_menubar_links": ?>
<tr>
<th scope="row"><strong><?php _e('Disable auto-generated wordpress links?','comicpress'); ?></strong><br /><br /><?php _e('Setting this to Yes will turn off the dynamic links in your menubar.','comicpress'); ?><br /><br /></th>
<th scope="row"><strong><?php _e('Disable auto-generated WordPress links?','comicpress'); ?></strong><br /><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Setting this to yes will allow you to use the links category menulinks to create specific menu links for customizing the menubar, mostly used for making graphic images as links.','comicpress'); ?>
<?php _e('Allows you to use the links category <i>menulinks</i> (you will need to create this category if it does not already exist) to create custom links on the Menubar (mostly used for making graphic images as links). Otherwise, ALL published pages will appear automatically.','comicpress'); ?>
</td>
</tr>

View File

@ -3,11 +3,20 @@
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<?php wp_nonce_field('update-options') ?>
<table class="form-table" style="width: auto">
<?php
global $split_column_in_two, $author_column_one, $author_column_two;
foreach ($options as $value) {
switch ( $value['type'] ) {
case "comicpress-transcript_in_posts": ?>
case "comicpress-posts_heading_main": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Main -</span>
</th>
</tr>
<?php break; case "comicpress-transcript_in_posts": ?>
<tr>
<th scope="row"><strong><?php _e('Show transcript in post area?','comicpress'); ?></strong><br /><br /><?php _e('When enabled, if the comic has a transcript, the transcript will be displayed inside the post for the comic.','comicpress'); ?></th>
<td valign="top" width="100">
@ -19,40 +28,7 @@
<?php _e('The transcript is text that that you can have of your comics speech. When you add a transcript of the comic to the post-edit or when you upload your comic you can enable this and a transcript box will appear *in* that comics post area, alternatively you can set the transcript widget and have it placed anywhere *in* the same area of the comic.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-moods_directory":
$current_directory = get_option($value['id']);
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"><strong><?php _e('Moods Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the post moods from.','comicpress'); ?><br /><br /><?php _e('Set this to "none" to turn off use.','comicpress'); ?><br /></th>
<td valign="top">
<label>
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
<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>
</td>
<td valign="top">
<?php _e('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>
<?php break;
case "comicpress-enable_related_comics": ?>
<tr>
@ -66,7 +42,7 @@
<?php _e('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 on.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-enable_related_posts": ?>
<tr>
@ -80,110 +56,36 @@
<?php _e('Like the related posts for comics, the related posts for blog post checked with other blog posts comparing the tags. Do no use tags that relate to a massive amount of other things, make sure you stick to only using 1-5 tags total, the less the better.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-enable_post_calendar": ?>
<tr>
<th scope="row"><strong><?php _e('Add graphic calendar to blog posts?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will display a calendar image on your posts.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('The graphic calendar is an image that has the date of the post overlayed on top of it. This option is for the blog posts.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-enable_post_author_gravatar": ?>
<?php break;
case "comicpress-remove_wptexturize": ?>
<tr>
<th scope="row"><strong><?php _e('Display a gravatar of the post author on blog posts?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will show a gravatar of the post author based on the authors email.','comicpress'); ?></th>
<td valign="top">
<th scope="row"><strong><?php _e('Remove WPs texturization from the content area?','comicpress'); ?></strong><br /></th>
<td valign="top" width="100">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Gravatars are associated by your email address and you can create them at','comicpress'); ?> <a href="http://gravatar.com/">http://gravatar.com</a>. <?php _e('They are pictures of you, your cat of whatever you want to represent yourself.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-enable_comic_post_calendar": ?>
<tr>
<th scope="row"><strong><?php _e('Add graphic calendar to comic posts?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will display a calendar image on your posts.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('The graphic calendar is an image that has the date of the post overlayed on top of it. This option is for the comic posts, and yes this was cut and pasted from the other one just the word "blog" was changed to "comic".','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-enable_comic_post_author_gravatar": ?>
<tr>
<th scope="row"><strong><?php _e('Display a gravatar of the post author on comic posts?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will show a gravatar of the post author based on the authors email.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Gravatars are associated by your email address and you can create them at','comicpress'); ?> <a href="http://gravatar.com/">http://gravatar.com</a>. <?php _e('They are pictures of you, your cat of whatever you want to represent yourself.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_categories_in_posts": ?>
<tr>
<th scope="row"><strong><?php _e('Disable showing categories in posts?','comicpress'); ?></strong><br /><br /><?php _e('The categories that are shown by default are the ones the post in set to.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Categores != Tags','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_tags_in_posts": ?>
<tr>
<th scope="row"><strong><?php _e('Disable showing tags in posts?','comicpress'); ?></strong><br /><br /><?php _e('Tags are "descriptive keywords" describing the content of the post.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Tags != Categories','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-blogposts_with_comic": ?>
<tr>
<th scope="row"><strong><?php _e('Show all blog posts up until the next comic post on single pages?','comicpress'); ?></strong><br /><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</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>
<?php break; case "comicpress-posts_heading_authorsavatars": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Authors/Avatars -</span>
</th>
</tr>
<?php break;
case "comicpress-split_column_in_two": ?>
<tr>
@ -197,7 +99,7 @@
<?php _e('When enabled, it will make 2 seperate columns to have two seperate columns available to two different post authors.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-author_column_one": ?>
<tr>
@ -216,7 +118,7 @@
<td valign="top">
</td>
</tr>
<?php break;
case "comicpress-author_column_two": ?>
<tr>
@ -235,19 +137,296 @@
<td valign="top">
</td>
</tr>
<?php break;
case "comicpress-remove_wptexturize": ?>
case "comicpress-enable_comic_post_author_gravatar": ?>
<tr>
<th scope="row"><strong><?php _e('Remove WPs texturization from the content area?','comicpress'); ?></strong><br /><br /></th>
<td valign="top" width="100">
<th scope="row"><strong><?php _e('Display a gravatar of the post author on comic posts?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will show a gravatar of the post author based on the authors email.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Gravatars are associated by your email address and you can create them at','comicpress'); ?> <a href="http://gravatar.com/">http://gravatar.com</a>. <?php _e('They are pictures of you, your cat of whatever you want to represent yourself.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-enable_post_author_gravatar": ?>
<tr>
<th scope="row"><strong><?php _e('Display a gravatar of the post author on blog posts?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will show a gravatar of the post author based on the authors email.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Gravatars are associated by your email address and you can create them at','comicpress'); ?> <a href="http://gravatar.com/">http://gravatar.com</a>. <?php _e('They are pictures of you, your cat of whatever you want to represent yourself.','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-avatar_directory":
$current_avatar_directory = get_option($value['id']);
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"><strong><?php _e('Avatar (no Gravatar) Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the avatars for default gravatars if someone doesnt have one.','comicpress'); ?><br /></th>
<td valign="top">
<label>
<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
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>
</td>
<td valign="top">
<?php _e('To not use the comicpress avatar graphics, set this as "none".','comicpress'); ?><br />
<br />
</td>
</tr>
<?php break;
case "comicpress-moods_directory":
$current_directory = get_option($value['id']);
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"><strong><?php _e('Moods Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the post moods from.','comicpress'); ?><br /><br /><?php _e('Set this to "none" to turn off use.','comicpress'); ?><br /></th>
<td valign="top">
<label>
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
<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>
</td>
<td valign="top">
<?php _e('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>
<?php break; case "comicpress-posts_heading_calendar": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Calendar -</span>
</th>
</tr>
<?php break;
case "comicpress-calendar_directory":
$current_cal_directory = get_option($value['id']);
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"><strong><?php _e('Calendar Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the Archive Calendar styling from.','comicpress'); ?><br /></th>
<td valign="top">
<label>
<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
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>
</td>
<td valign="top">
<?php _e('To not have calendar graphics, set this as "none".','comicpress'); ?><br />
<br />
<?php _e('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>
<?php break;
case "comicpress-enable_comic_post_calendar": ?>
<tr>
<th scope="row"><strong><?php _e('Add graphic calendar to comic posts?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will display a calendar image on your posts.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('The graphic calendar is an image that has the date of the post overlayed on top of it. This option is for the comic posts, and yes this was cut and pasted from the other one just the word "blog" was changed to "comic".','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-enable_post_calendar": ?>
<tr>
<th scope="row"><strong><?php _e('Add graphic calendar to blog posts?','comicpress'); ?></strong><br /><br /><?php _e('Enabling this option will display a calendar image on your posts.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('The graphic calendar is an image that has the date of the post overlayed on top of it. This option is for the blog posts.','comicpress'); ?>
</td>
</tr>
<?php break; case "comicpress-posts_heading_tagscategories": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Tags/Categories -</span>
</th>
</tr>
<?php break;
case "comicpress-disable_tags_in_posts": ?>
<tr>
<th scope="row"><strong><?php _e('Disable showing tags in posts?','comicpress'); ?></strong><br /><br /><?php _e('Tags are "descriptive keywords" describing the content of the post.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Tags != Categories','comicpress'); ?>
</td>
</tr>
<?php break;
case "comicpress-disable_categories_in_posts": ?>
<tr>
<th scope="row"><strong><?php _e('Disable showing categories in posts?','comicpress'); ?></strong><br /><br /><?php _e('The categories that are shown by default are the ones the post in set to.','comicpress'); ?></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</td>
<td valign="top">
<?php _e('Categores != Tags','comicpress'); ?>
</td>
</tr>
<?php break; case "comicpress-posts_heading_pages": ?>
<tr>
<th scope="row"><span style="font-size: 1.5em; font-weight: bold;">- Pages -</span>
</th>
</tr>
<?php break;
case "comicpress-blogposts_with_comic": ?>
<tr>
<th scope="row"><strong><?php _e('Show all blog posts up until the next comic post on single pages?','comicpress'); ?></strong><br /></th>
<td valign="top">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
</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>
<?php break;
case "comicpress-disable_page_titles": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the titles on pages?','comicpress'); ?></strong><br /><br /></th>
<td valign="top" width="100">
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
&nbsp;&nbsp;
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label><br />
</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>
<?php break;
}
}