2009-09-19 10:11:37 +00:00
< div id = " postoptions " class = " hide " >
< div class = " inside " >
< form method = " post " id = " myForm " name = " template " enctype = " multipart/form-data " >
< ? php wp_nonce_field ( 'update-options' ) ?>
< table class = " form-table " style = " width: auto " >
2009-11-20 05:39:56 +00:00
2009-11-20 07:45:27 +00:00
< tr >< td >< h2 >- Main -</ h2 ></ td ></ tr >
2009-09-19 10:11:37 +00:00
< ? php
2009-10-07 09:27:51 +00:00
global $split_column_in_two , $author_column_one , $author_column_two ;
2009-09-19 10:11:37 +00:00
foreach ( $options as $value ) {
switch ( $value [ 'type' ] ) {
2009-11-20 14:31:37 +00:00
case " comicpress-transcript_in_posts " : ?>
2009-09-19 10:11:37 +00:00
< tr >
2009-11-20 07:45:27 +00:00
< 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 comic post.','comicpress'); ?></th>
2009-09-19 10:11:37 +00:00
< td valign = " top " width = " 100 " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? php _e ( 'The transcript is text that that you can have of the dialog in your comic.' , 'comicpress' ); ?>
2009-09-19 10:11:37 +00:00
</ td >
</ tr >
< ? php break ;
case " comicpress-enable_related_comics " : ?>
< tr >
2009-11-20 07:45:27 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Put Related Comics in comic posts?' , 'comicpress' ); ?> </strong><br /><br /><?php _e('Comics will be related by "tags" that you create for each comic post.','comicpress'); ?></th>
2009-09-19 10:11:37 +00:00
< td valign = " top " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? 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 in.' , 'comicpress' ); ?>
2009-09-19 10:11:37 +00:00
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-09-19 10:11:37 +00:00
< ? php break ;
case " comicpress-enable_related_posts " : ?>
< tr >
2009-11-20 07:45:27 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Put Related Posts in blog posts?' , 'comicpress' ); ?> </strong><br /><?php _e('Blog posts will be related by "tags" that you create for each blog post.','comicpress'); ?><br /></th>
2009-09-19 10:11:37 +00:00
< td valign = " top " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? php _e ( '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' ); ?>
2009-09-19 10:11:37 +00:00
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-09-19 10:11:37 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-remove_wptexturize " : ?>
2009-09-19 10:11:37 +00:00
< tr >
2009-11-20 07:45:27 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Disable WordPress default content formatting?' , 'comicpress' ); ?> </strong><br /><?php _e('Prevents WordPress from reformatting any specially formatted content you may add.','comicpress'); ?><br /></th>
2009-11-20 05:39:56 +00:00
< td valign = " top " width = " 100 " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? php _e ( 'Generally, you want to leave the WordPress formatting enabled, but it some special cases you may prefer to preserve non-WP formatting.' , 'comicpress' ); ?>
2009-09-19 10:11:37 +00:00
</ td >
</ tr >
2009-11-20 14:31:37 +00:00
< tr >< td >< h2 >- Authors / Avatars / Moods -</ h2 ></ td ></ tr >
2009-11-20 05:39:56 +00:00
< ? php break ;
case " comicpress-split_column_in_two " : ?>
2009-09-19 10:11:37 +00:00
< tr >
2009-11-20 07:45:27 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Two author blog? ' , 'comicpress' ); ?> </strong><br /><?php _e('When enabled, it will make 2 seperate columns to have two seperate columns available to two different post authors.','comicpress'); ?><br /></th>
2009-11-20 05:39:56 +00:00
< td valign = " top " width = " 100 " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-09-19 10:11:37 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-author_column_one " : ?>
2009-09-19 10:11:37 +00:00
< tr >
2009-11-20 05:39:56 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Author for Column one?' , 'comicpress' ); ?> </strong><br /><br /><?php _e('If column is split in two.','comicpress'); ?></th>
< td valign = " top " width = " 100 " >
< label >
< ? php
$args = array ( 'echo' => '0' , 'show' => 'display_name' , 'selected' => $author_column_one );
$selected = wp_dropdown_users ( $args );
$selected = preg_replace ( '#<select([^>]*)>#' , '<select name="' . $value [ 'id' ] . '" id="' . $value [ 'id' ] . '">' , $selected );
echo $selected ;
?>
</ label >
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-09-19 10:11:37 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-author_column_two " : ?>
< tr >
< th scope = " row " >< strong >< ? php _e ( 'Author for Column two?' , 'comicpress' ); ?> </strong><br /><br /><?php _e('If column is split in two.','comicpress'); ?></th>
< td valign = " top " width = " 100 " >
< label >
< ? php
$args = array ( 'echo' => '0' , 'show' => 'display_name' , 'selected' => $author_column_two );
$selected = wp_dropdown_users ( $args );
$selected = preg_replace ( '#<select([^>]*)>#' , '<select name="' . $value [ 'id' ] . '" id="' . $value [ 'id' ] . '">' , $selected );
echo $selected ;
?>
</ label >
</ td >
< td valign = " top " >
</ td >
</ tr >
2009-09-19 10:11:37 +00:00
2009-11-20 05:39:56 +00:00
< ? php break ;
2009-09-19 10:11:37 +00:00
case " comicpress-enable_comic_post_author_gravatar " : ?>
< tr >
2009-11-20 07:45:27 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Comic post author Gravatar?' , 'comicpress' ); ?> </strong><br /><br /><?php _e('Enabling this option will show a gravatar of the post author based on the author email address.','comicpress'); ?></th>
2009-09-19 10:11:37 +00:00
< td valign = " top " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? 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 be your representation on your posts and comments.','comicpress'); ?>
2009-09-19 10:11:37 +00:00
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-09-19 10:11:37 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-enable_post_author_gravatar " : ?>
2009-09-19 10:11:37 +00:00
< tr >
2009-11-20 07:45:27 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Blog post author Gravatar?' , 'comicpress' ); ?> </strong><br /><br /><?php _e('Enabling this option will show a gravatar of the post author based on the author email address.','comicpress'); ?></th>
2009-09-19 10:11:37 +00:00
< td valign = " top " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? 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 be your representation on your posts and comments.','comicpress'); ?>
2009-09-19 10:11:37 +00:00
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
< ? 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 >
2009-11-20 07:45:27 +00:00
< 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 does not have one. ','comicpress'); ?><br /></th>
2009-11-20 05:39:56 +00:00
< 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 " >
2009-11-20 07:45:27 +00:00
< ? php _e ( 'Choose directory for avatars to display with non-Gravatar users. 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 />
2009-11-20 05:39:56 +00:00
< br />
</ td >
</ tr >
2009-09-19 10:11:37 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
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 " >
2009-11-20 07:45:27 +00:00
< ? php _e ( 'Select "none" to turn off. 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' ); ?>
2009-11-20 05:39:56 +00:00
</ td >
</ tr >
2009-11-20 14:31:37 +00:00
2009-11-20 07:45:27 +00:00
< tr >< td >< h2 >- Calendar -</ h2 ></ td ></ tr >
2009-11-20 05:39:56 +00:00
< ? php break ;
case " comicpress-calendar_directory " :
$current_cal_directory = get_option ( $value [ 'id' ]);
if ( empty ( $current_cal_directory )) $current_cal_directory = 'default' ;
2009-09-19 10:11:37 +00:00
2009-11-20 05:39:56 +00:00
$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/* " )); }
?>
2009-09-19 10:11:37 +00:00
< tr >
2009-11-20 05:39:56 +00:00
< 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 />
2009-11-20 07:45:27 +00:00
< ? php _e ( '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' ); ?>
2009-11-20 05:39:56 +00:00
</ td >
</ tr >
< ? php break ;
case " comicpress-enable_comic_post_calendar " : ?>
< tr >
2009-11-20 07:45:27 +00:00
< 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 comic posts.','comicpress'); ?></th>
2009-09-19 10:11:37 +00:00
< td valign = " top " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-19 10:11:37 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? php _e ( 'The graphic calendar is an image that has the date of the comic blog post overlayed on top of it.' , 'comicpress' ); ?>
2009-09-19 10:11:37 +00:00
</ td >
</ tr >
2009-09-29 23:12:37 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-enable_post_calendar " : ?>
2009-09-29 23:12:37 +00:00
< tr >
2009-11-20 07:45:27 +00:00
< 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 blog posts.','comicpress'); ?></th>
2009-09-29 23:12:37 +00:00
< td valign = " top " >
2009-10-05 06:08:01 +00:00
< 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>
2009-09-29 23:12:37 +00:00
& nbsp ; & nbsp ;
2009-10-05 06:08:01 +00:00
< 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>
2009-09-29 23:12:37 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? php _e ( 'The graphic calendar is an image that has the date of the blog post overlayed on top of it.' , 'comicpress' ); ?>
2009-09-29 23:12:37 +00:00
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-11-20 07:45:27 +00:00
< tr >< td >< h2 >- Tags / Categories -</ h2 ></ td ></ tr >
2009-11-20 05:39:56 +00:00
2009-11-20 14:31:37 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-disable_tags_in_posts " : ?>
2009-10-07 09:27:51 +00:00
< tr >
2009-11-20 07:45:27 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Disable display of tags in posts?' , 'comicpress' ); ?> </strong><br /><br /><?php _e('Tags are "descriptive keywords" of content in a post.','comicpress'); ?></th>
2009-11-20 05:39:56 +00:00
< td valign = " top " >
2009-10-07 09:27:51 +00:00
< 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 " >
2009-11-20 05:39:56 +00:00
< ? php _e ( 'Tags != Categories' , 'comicpress' ); ?>
2009-10-07 09:27:51 +00:00
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-10-07 09:27:51 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-disable_categories_in_posts " : ?>
2009-10-07 09:27:51 +00:00
< tr >
2009-11-20 07:45:27 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Disable display of 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>
2009-11-20 05:39:56 +00:00
< 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>
2009-10-07 09:27:51 +00:00
</ td >
< td valign = " top " >
2009-11-20 07:45:27 +00:00
< ? php _e ( 'Categories != Tags' , 'comicpress' ); ?>
2009-10-07 09:27:51 +00:00
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-11-20 14:31:37 +00:00
< tr >< td >< h2 >- Pages & Blog Loop -</ h2 ></ td ></ tr >
2009-11-20 05:39:56 +00:00
2009-10-07 09:27:51 +00:00
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-blogposts_with_comic " : ?>
2009-10-07 09:27:51 +00:00
< tr >
2009-11-20 05:39:56 +00:00
< 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>
2009-10-07 09:27:51 +00:00
</ td >
< td valign = " top " >
2009-11-20 05:39:56 +00:00
< ? 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' ); ?>
2009-10-07 09:27:51 +00:00
</ td >
</ tr >
2009-10-11 11:48:57 +00:00
< ? php break ;
2009-11-20 14:31:37 +00:00
case " comicpress-static_blog " : ?>
< tr >
< th scope = " row " >< strong >< ? php _e ( 'Blog loop stays with all the 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 ( 'Blog will stay with the single pages, good to use with comments disabled in the settings.' , 'comicpress' ); ?>
</ td >
</ tr >
< ? php break ;
2009-11-20 05:39:56 +00:00
case " comicpress-disable_page_titles " : ?>
2009-10-11 11:48:57 +00:00
< tr >
2009-11-20 05:39:56 +00:00
< th scope = " row " >< strong >< ? php _e ( 'Disable the titles on pages?' , 'comicpress' ); ?> </strong><br /><br /></th>
2009-10-11 11:48:57 +00:00
< 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 ;
2009-11-20 05:39:56 +00:00
< 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 />
2009-10-11 11:48:57 +00:00
</ td >
< td valign = " top " >
2009-11-20 05:39:56 +00:00
< ? php _e ( 'If you disable the titles no pages you can add a post-page-image in the page editor.' , 'comicpress' ); ?>
2009-10-11 11:48:57 +00:00
</ td >
</ tr >
2009-09-19 10:11:37 +00:00
< ? php break ;
}
}
?>
</ table >
< input name = " comicpress_save " type = " submit " class = " button-primary " value = " Save Settings " />
< input type = " hidden " name = " action " value = " comicpress_save " />
</ form >
</ div >
</ div >