2009-11-23 06:33:29 +00:00
< div id = " archivesearch " class = " <?php if ( $tab == 'archivesearch') { ?>show<?php } else { ?>hide<?php } ?> " >
2009-11-22 19:56:35 +00:00
< form method = " post " id = " myForm " name = " template " enctype = " multipart/form-data " >
< ? php wp_nonce_field ( 'update-options' ) ?>
< div class = " stuffbox " style = " background: #ebf8ff; " >
< h3 > Archive and Search Page Options </ h3 >
< table class = " form-table " style = " width: auto; " >
2009-11-20 05:39:56 +00:00
2009-11-22 18:06:19 +00:00
< tr >
2009-11-22 19:56:35 +00:00
< th scope = " row " >< ? php _e ( 'Archive Viewing' , 'comicpress' ); ?> </th>
2009-11-22 18:06:19 +00:00
< td valign = " top " >
2009-11-22 19:56:35 +00:00
< label >< input name = " excerpt_or_content_archive " id = " excerpt_or_content_archive " type = " radio " value = " content " < ? php if ( $comicpress_options [ 'excerpt_or_content_archive' ] == " content " ) { echo " checked " ; } ?> />Full Content</label>
& nbsp ; & nbsp ;
< label >< input name = " excerpt_or_content_archive " id = " excerpt_or_content_archive " type = " radio " value = " excerpt " < ? php if ( $comicpress_options [ 'excerpt_or_content_archive' ] == " excerpt " ) { echo " checked " ; } ?> />Excerpt</label>
2009-11-22 18:06:19 +00:00
</ td >
< td valign = " top " >
2009-11-22 19:56:35 +00:00
< ? 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' ); ?>
2009-11-22 18:06:19 +00:00
</ td >
</ tr >
2009-11-20 05:39:56 +00:00
2009-11-22 18:06:19 +00:00
< tr >
2009-11-22 19:56:35 +00:00
< th scope = " row " >< ? php _e ( 'Searching' , 'comicpress' ); ?> </th>
2009-11-22 18:06:19 +00:00
< td valign = " top " width = " 160 " >
2009-11-22 19:56:35 +00:00
< label >< input name = " excerpt_or_content_search " id = " excerpt_or_content_search " type = " radio " value = " content " < ? php if ( $comicpress_options [ 'excerpt_or_content_search' ] == " content " ) { echo " checked " ; } ?> />Full Content</label>
& nbsp ; & nbsp ;
< label >< input name = " excerpt_or_content_search " id = " excerpt_or_content_search " type = " radio " value = " excerpt " < ? php if ( $comicpress_options [ 'excerpt_or_content_search' ] == " excerpt " ) { echo " checked " ; } ?> />Excerpt</label>
2009-11-22 18:06:19 +00:00
</ td >
< td valign = " top " >
2009-11-22 19:56:35 +00:00
< ? php _e ( 'Would you like to have users see the <b>full content</b> or just an <b>excerpt</b> when searching?' , 'comicpress' ); ?>
2009-11-22 18:06:19 +00:00
</ td >
</ tr >
< tr >
2009-11-22 19:56:35 +00:00
< th scope = " row " >< ? php _e ( 'Archive Display Order' , 'comicpress' ); ?> </th>
2009-11-22 18:06:19 +00:00
< td valign = " top " >
< label >
< select name = " archive_display_order " id = " archive_display_order " >
< option class = " level-0 " value = " asc " < ? php if ( $comicpress_options [ 'archive_display_order' ] == " asc " ) { ?> selected="selected"<?php } ?>>Oldest to Newest</option>
< option class = " level-0 " value = " desc " < ? php if ( $comicpress_options [ 'archive_display_order' ] == " desc " ) { ?> selected="selected"<?php } ?>>Newest to Oldest</option>
</ select >
</ label >
</ td >
< td valign = " top " >
2009-11-22 19:56:35 +00:00
< ? php _e ( 'Sets the display order of your archives. <b>Newest to Oldest</b> will display your posts starting with the most recent. <b>Oldest to Newest</b> will start with the first entry in the category, tag, or date range (e.g., Selecting May 20XX will start with May 1, not May 31st.)' , 'comicpress' ); ?>
2009-11-22 18:06:19 +00:00
</ td >
</ tr >
< tr >
2009-11-22 19:56:35 +00:00
< th scope = " row " >< ? php _e ( 'Number of archived comics to display' , 'comicpress' ); ?> </th>
2009-11-22 18:06:19 +00:00
< td valign = " top " >
< label >
< input type = " text " size = " 5 " name = " category_thumbnail_postcount " id = " category_thumbnail_postcount " value = " <?php echo $comicpress_options['category_thumbnail_postcount'] ; ?> " />< br />
</ label >
</ td >
< td valign = " top " >
< ? php _e ( 'How many images in the comic category would you like to see in the archive page?' , 'comicpress' ); ?>
</ td >
</ tr >
</ table >
2009-11-22 19:56:35 +00:00
</ div >
< input name = " comicpress_save_archivesearch " type = " submit " class = " button-primary " value = " Save Settings " />
< input type = " hidden " name = " action " value = " comicpress_save_archivesearch " />
</ form >
2009-11-22 18:06:19 +00:00
</ div >