Merge branch 'master' of git@github.com:johnbintz/comicpress-2.8

This commit is contained in:
John Bintz 2009-11-20 00:02:57 -05:00
commit 76ba3cebf4
91 changed files with 683 additions and 592 deletions

View File

@ -7,12 +7,9 @@
<h2 class="pagetitle"><?php _e('Page Not Found','comicpress'); ?></h2>
<p><a href="<?php bloginfo('wpurl') ?>"><?php _e('Click here to return to the home page','comicpress'); ?></a> <?php _e('or try a search:','comicpress'); ?></p>
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
</div>
</div>
</div>
<?php include(get_template_directory() . '/layout-foot.php'); ?>
<?php get_footer() ?>

View File

@ -71,8 +71,17 @@ $month['12'] = array('month' => __('December','comicpress'), 'days' => '31');
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<div class="entry">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?> <span class="page-archive-year"> <?php echo $archive_year; ?></span></h2>
<?php } ?>
<div class="entry">
<?php the_content(); ?>
</div>
<?php endwhile; ?>

View File

@ -10,8 +10,17 @@ Template Name: Month at a glance
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<div class="entry">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?>
<div class="entry">
<?php the_content(); ?>
</div>
<?php endwhile; ?>

View File

@ -10,8 +10,17 @@ Template Name: Comic Storyline with Thumbs
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<div class="entry">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?>
<div class="entry">
<?php the_content(); ?>
</div>
<?php endwhile; ?>

View File

@ -10,8 +10,17 @@ Template Name: Comic Storyline Archive
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<div class="entry">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?>
<div class="entry">
<?php the_content(); ?>
</div>
<?php endwhile; ?>

View File

@ -21,8 +21,17 @@ if (empty($archive_year) || $archive_year == '') $archive_year = date('Y');
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<div class="entry">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?> <span class="page-archive-year"> <?php echo $archive_year; ?></span></h2>
<?php } ?>
<div class="entry">
<?php the_content(); ?>
</div>
<?php endwhile; ?>

View File

@ -10,8 +10,17 @@ Template Name: Comic Archive
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
<div class="entry">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?>
<div class="entry">
<?php the_content(); ?>
</div>
<?php endwhile; ?>
@ -28,11 +37,9 @@ Template Name: Comic Archive
</table>
<?php } } ?>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
</div>
</div>
<?php include(get_template_directory() . '/layout-foot.php'); ?>

View File

@ -40,7 +40,6 @@
<?php } ?>
<div class="searchresults"><?php printf(__ngettext("%d item.", "%d items.", $count,'comicpress'),$count); ?></div>
</div>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
</div>
@ -85,10 +84,9 @@
</div>
<div class="clear"></div>
</div>
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /></a><br />
<div class="comicarchiveframe" style="max-width:<?php echo $archive_comic_width; ?>px;">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." style="max-width: <?php echo $archive_comic_width ?>px" /></a>
</div>
<br class="clear-margins" />
</div>
<div class="post-comic-foot"></div>
</div>
@ -122,10 +120,9 @@
} else {
the_excerpt();
} ?>
<br class="clear-margins" />
<div class="post-extras">
<div class="tags">
<?php the_tags(__('&#9492; Tags:','comicpress'),'','','<br />'); ?>
<div class="post-tags">
<?php the_tags(__('&#9492; Tags:','comicpress'),', ','<br />'); ?>
</div>
<div class="clear"></div>
</div>
@ -143,7 +140,6 @@
<h3><?php _e('No posts found.','comicpress'); ?></h3>
<p><?php _e('Try another search?','comicpress'); ?></p>
<p><?php include(get_template_directory() . '/searchform.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-foot"></div>
</div>

View File

@ -10,12 +10,12 @@ Template Name: Archives
<div class="post-page-head"></div>
<div class="post-page">
<div id="archivepage">
<h2><?php _e('Archives by Month:','comicpress'); ?></h2>
<h2 class="pagetitle"><?php the_title() ?></h2>
<ul><?php wp_get_archives('type=monthly') ?></ul>
<h2><?php _e('Archives by Subject:','comicpress'); ?></h2>
<ul><?php wp_list_categories() ?></ul>
<br class="clear-margins" />
</div>
<div class="clear"></div>
</div>
<div class="post-page-foot"></div>
</div>

View File

@ -1,9 +1,10 @@
<?php
/*
Template Name: Buy Print
Templete Author: Philip M. Hofer (Frumph)
Templete URL: http://webcomicplanet.com/forum/
Templete Author Email: philip@frumph.net
Template Author: Philip M. Hofer (Frumph)
Template URL: http://frumph.net/forum/
Template Author Email: philip@frumph.net
Template Version: 2.14
*/
if (isset($_REQUEST['comic'])) $comicnum = (int)$_REQUEST['comic'];
?>
@ -20,10 +21,16 @@ Templete Author Email: philip@frumph.net
<br />
<img src="<?php echo get_template_directory_uri(); ?>/images/paypal.png" alt="<?php _e('Powered by Paypal','comicpress'); ?>" /><br />
</div>
<div style="float:left;">
<h2 class="pagetitle"><?php _e('Buy Print!','comicpress'); ?></h2>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<div class="clear"></div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?>
<?php _e('Comic ID','comicpress'); ?> - #<?php echo $comicnum; ?><br />
<?php _e('Title:','comicpress'); ?> <?php echo the_title(); ?><br />
<br />
@ -44,19 +51,19 @@ Templete Author Email: philip@frumph.net
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="shipping2" value="<?php echo $buy_print_us_amount; ?>">
<input type="hidden" name="cn" value="<?php _e('Special Instructions (optional)','comicpress'); ?>">
<input type="hidden" name="cancel_return" value="<?php echo get_bloginfo('wpurl'); ?>">
<input type="hidden" name="item_name" value="<?php _e('Print','comicpress'); ?>">
<input type="hidden" name="notify_url" value="<?php echo get_bloginfo('wpurl'); ?>">
<input type="hidden" name="page_style" value="">
<input type="hidden" name="return" value="<?php echo bloginfo('wpurl'); ?>">
<input type="hidden" name="amount" value="<?php echo $buy_print_us_amount; ?>">
<input type="hidden" name="item_number" value="<?php _e('Comic ID','comicpress'); ?> (<?php echo $comicnum; ?>) - <?php echo the_title(); ?>">
<input type="hidden" name="business" value="<?php echo $buy_print_email; ?>">
<?php if ($buy_print_add_shipping == 'yes') { ?>
<input type="hidden" name="shipping" value="<?php echo $buy_print_us_ship; ?>">
US/Canada<br>
$<?php echo $buy_print_us_amount; ?> + $<?php echo $buy_print_us_ship; ?> <?php _e('shipping','comicpress'); ?><br />
<?php } else { ?>
US/Canada<br>
$<?php echo $buy_print_us_amount; ?><br />
<?php } ?>
<input type="image" src="<?php echo get_template_directory_uri(); ?>/images/buynow_paypal.png" name="submit32" alt="<?php _e('Make payments with PayPal - it is fast, free and secure!','comicpress'); ?>" />
</form>
</td>
@ -66,19 +73,19 @@ Templete Author Email: philip@frumph.net
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="shipping2" value="<?php echo $buy_print_int_amount; ?>">
<input type="hidden" name="cn" value="<?php _e('Special Instructions (optional)','comicpress'); ?>">
<input type="hidden" name="cancel_return" value="<?php echo get_bloginfo('wpurl'); ?>">
<input type="hidden" name="item_name" value="<?php _e('Print','comicpress'); ?>">
<input type="hidden" name="notify_url" value="<?php echo get_bloginfo('wpurl'); ?>">
<input type="hidden" name="page_style" value="">
<input type="hidden" name="return" value="<?php echo bloginfo('wpurl'); ?>">
<input type="hidden" name="amount" value="<?php echo $buy_print_int_amount; ?>">
<input type="hidden" name="item_number" value="<?php _e('Comic ID','comicpress'); ?> (<?php echo $comicnum; ?>) - <?php echo the_title(); ?>">
<input type="hidden" name="business" value="<?php echo $buy_print_email; ?>">
<?php if ($buy_print_add_shipping == 'yes') { ?>
<input type="hidden" name="shipping" value="<?php echo $buy_print_int_ship; ?>">
International<br>
$<?php echo $buy_print_int_amount; ?> + $<?php echo $buy_print_int_ship; ?> <?php _e('shipping','comicpress'); ?><br />
<?php } else { ?>
International<br>
$<?php echo $buy_print_int_amount; ?><br />
<?php } ?>
<input type="image" src="<?php echo get_template_directory_uri(); ?>/images/buynow_paypal.png" name="submit32" alt="<?php _e('Make payments with PayPal - it is fast, free and secure!','comicpress'); ?>" />
</form>
</td>

View File

@ -1,7 +1,7 @@
<?php
class ComicPressDBInterface {
var $_non_comic_categories, $_all_categories;
var $_non_comic_categories = array(), $_all_categories = array();
function ComicPressDBInterface() {}
@ -23,7 +23,12 @@ class ComicPressDBInterface {
}
function _get_categories_to_exclude($category = null) {
return (is_null($category)) ? $this->_non_comic_categories : array_values(array_diff($this->_all_categories, array($category)));
$result = array_diff($this->_all_categories, array($category));
if (is_array($result)) {
return (is_null($category)) ? $this->_non_comic_categories : array_values($result);
} else {
return $this->_non_comic_categories;
}
}
/**

View File

@ -534,7 +534,8 @@ class ComicPressStoryline {
function build_from_restrictions($restrictions = null) {
global $post;
$this->read_from_options()->exclude_all();
$this->read_from_options();
$this->exclude_all();
$include_all = true;
if (is_array($restrictions)) {

View File

@ -54,6 +54,11 @@ $options = array (
"default" => "29.95",
"type" => "comicpress-buy_print_int_amount"),
array(
"id" => "comicpress-buy_print_add_shipping",
"default" => "yes",
"type" => "comicpress-buy_print_add_shipping"),
array(
"id" => "comicpress-buy_print_us_ship",
"default" => "4.95",
@ -101,7 +106,7 @@ $options = array (
array(
"id" => "comicpress-enable_numbered_pagination",
"default" => "no",
"default" => "yes",
"type" => "comicpress-enable_numbered_pagination"),
array(
@ -109,11 +114,6 @@ $options = array (
"default" => "no",
"type" => "comicpress-disable_page_restraints"),
array(
"id" => "comicpress-enable_dropdown_sidebar",
"default" => "no",
"type" => "comicpress-enable_dropdown_sidebar"),
array(
"id" => "comicpress-enable_related_comics",
"default" => "no",
@ -284,6 +284,11 @@ $options = array (
"default" => "no",
"type" => "comicpress-disable_blogheader"),
array(
"id" => "comicpress-disable_page_titles",
"default" => "no",
"type" => "comicpress-disable_page_titles"),
array("type" => "close")
);
?>

View File

@ -7,49 +7,47 @@ function options() {
add_action('admin_head-'.$pagehook, 'comicpress_admin_page_head');
}
function comicpress_admin_page_head() {
global $is_IE;
if ($is_IE) { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/tabbed/tabbed_pages_ie.css" type="text/css" media="screen" />
<?php } else { ?>
function comicpress_admin_page_head() { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/tabbed/tabbed_pages.css" type="text/css" media="screen" />
<?php } ?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/tabbed/tabbed_pages.js"></script>
<!--[if lt ie 8]>
<style>
div.show {
position: static;
margin-top: 1px;
}
#cpadmin div.off {
height: 22px;
}
</style>
<![endif]-->
<?php }
function comicpress_admin() {
global $options, $upload_path, $blogcat, $moods_directory, $calendar_directory, $graphicnav_directory;
global $options, $upload_path, $blogcat, $moods_directory, $calendar_directory, $graphicnav_directory; ?>
?>
<div class="wrap">
<div class="wrap">
<div id="cpadmin-headericon" style="background: url('<?php echo get_template_directory_uri(); ?>/images/options/comicpress_icon.png') no-repeat;"></div>
<h2 class="alignleft"><?php _e('ComicPress Options','comicpress'); ?></h2>
<a class="alignright" style="margin: 20px;" href="http://comicpress.org/"><img src="<?php echo get_template_directory_uri(); ?>/images/options/comicpress_logo.png" alt="ComicPress" /></a>
<br clear="all" />
<div style="float: right">
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<input name="comicpress_reset" type="submit" class="button-primary" value="Reset Settings" />
<input type="hidden" name="action" value="comicpress_reset" />
</form>
</div>
<br clear="all" />
<div class="clear"></div>
<?php
if ( wp_verify_nonce($_POST['_wpnonce'], 'update-options') ) {
if ('comicpress_save'== $_REQUEST['action']) {
if ('comicpress_save' == $_REQUEST['action']) {
foreach ($options as $value) {
if( !isset( $_REQUEST[ $value['id'] ] ) ) { } else { update_option( $value['id'], stripslashes($_REQUEST[ $value['id']])); } } ?>
<div id="message" class="updated fade"><p><strong><?php _e('Options/Settings SAVED!','comicpress'); ?></strong></p></div>
<div id="message" class="updated fade"><p><strong><?php _e('ComicPress Settings SAVED!','comicpress'); ?></strong></p></div>
<script>function hidemessage() { document.getElementById('message').style.display = 'none'; }</script>
<?php }
if ('comicpress_reset' == $_REQUEST['action'] ) {
if ('comicpress_reset' == $_REQUEST['action']) {
foreach ($options as $default) {
delete_option($default['id'],$default['default']);
} ?>
<div id="message" class="updated fade"><p><strong><?php _e('Options/Settings RESET!','comicpress'); ?></strong></p></div>
<div id="message" class="updated fade"><p><strong><?php _e('ComicPress Settings RESET!','comicpress'); ?></strong></p></div>
<script>function hidemessage() { document.getElementById('message').style.display = 'none'; }</script>
<?php
}
}
@ -65,11 +63,11 @@ function comicpress_admin() {
@require(get_template_directory() . '/comicpress-config.php');
?>
<div id="poststuff" class="metabox-holder">
<div id="cpadmin">
<div class="on" title="themestyle"><span><?php _e('Theme Style','comicpress'); ?></span></div>
<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>
@ -79,7 +77,6 @@ function comicpress_admin() {
<div class="off" title="buyprintoptions"><span><?php _e('Buy Print','comicpress'); ?></span></div>
<div class="off" title="membersoptions"><span><?php _e('Members','comicpress'); ?></span></div>
</div>
<?php include(get_template_directory() . '/options/themestyle.php'); ?>
<?php include(get_template_directory() . '/options/generaloptions.php'); ?>
<?php include(get_template_directory() . '/options/indexoptions.php'); ?>
@ -90,12 +87,10 @@ function comicpress_admin() {
<?php include(get_template_directory() . '/options/buyprintoptions.php'); ?>
<?php include(get_template_directory() . '/options/membersoptions.php'); ?>
</div>
<div style="margin-top: 10px; text-align:center;padding: 5px; background: #eee; -moz-border-radius: 10px;-khtml-border-radius: 10px;-webkit-border-radius: 10px;border-radius: 10px;border: solid 1px #000;">
<a href="http://comicpress.org/">ComicPress 2.8 (<?php global $comicpress_version; echo $comicpress_version; ?>)</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> (<a href="http://frumph.net/">Frumph</a>)<br />
<?php _e('If you like the ComicPress theme, please donate. It will help in creating new versions.','comicpress'); ?><br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div class="cpadmin-footer">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" class="cpadmin-donate">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7827910">
<input type="image"
@ -106,6 +101,16 @@ 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 />
<?php _e('If you like the ComicPress theme, please donate. It will help in creating new versions.','comicpress'); ?>
<br />
<br />
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<?php wp_nonce_field('update-options') ?>
<input name="comicpress_reset" type="submit" class="button" value="Reset All Settings" />
<input type="hidden" name="action" value="comicpress_reset" />
</form>
<div class="clear"></div>
</div>
</div>

View File

@ -9,10 +9,31 @@
<?php get_sidebar('footer'); ?>
<?php global $disable_footer_text, $wpmu_version; if ($disable_footer_text != 'yes') { ?>
<p>
<span class="footer-copyright"><?php echo cp_copyright(); ?> <?php if (empty($wpmu_version)) { ?><?php echo the_author_meta('firstname',1); echo "&nbsp;"; echo the_author_meta('lastname',1); ?><span class="footer-pipe"> | </span><?php } ?></span>
<span class="footer-powered"><?php bloginfo('name'); ?> <?Php _e('Powered by','comicpress'); ?> <a href="http://wordpress.org/">WordPress</a> <?php _e('with','comicpress'); ?> <a href="http://comicpress.org/">ComicPress</a><span class="footer-pipe"> | </span></span>
<span class="footer-subscribe">Subscribe: <a href="<?php bloginfo('rss2_url') ?>">RSS Feed</a><span class="footer-pipe"> | </span></span>
<span class="footer-uptotop"><a href="#outside" onclick="scrollup(); return false;"><?php _e('Back to Top &uarr;','comicpress'); ?></a></span>
<span class="footer-copyright">
<?php echo cp_copyright(); ?>
<?php if (empty($wpmu_version)) {
$authorfirstname = get_the_author_meta('firstname',1);
$authorlastname = get_the_author_meta('lastname',1);
$blogname = get_bloginfo('title');
if ( $authorfirstname != "" ) {
echo $authorfirstname." ".$authorlastname;
} else {
echo $blogname;
}
} ?>
</span>
<span class="footer-powered">
<span class="footer-pipe">|</span>
<?php _e('Powered by','comicpress'); ?> <a href="http://wordpress.org/">WordPress</a> <?php _e('with','comicpress'); ?> <a href="http://comicpress.org/">ComicPress</a>
</span>
<span class="footer-subscribe">
<span class="footer-pipe">|</span>
Subscribe: <a href="<?php bloginfo('rss2_url') ?>">RSS</a>
</span>
<span class="footer-uptotop">
<span class="footer-pipe">|</span>
<a href="#outside" onclick="scrollup(); return false;"><?php _e('Back to Top &uarr;','comicpress'); ?></a>
</span>
<!-- <?php echo get_num_queries() ?> queries. <?php timer_stop(1) ?> seconds. -->
</p>
<?php } ?>

View File

@ -1,5 +1,10 @@
<?php
// the_post_image('thumbnail/medium/full');
if (function_exists('add_theme_support')) {
add_theme_support( 'post-thumbnails' );
}
// Queue up the scripts.
wp_enqueue_script('comicpress_scroll', get_template_directory_uri() . '/js/scroll.js');
@ -19,7 +24,7 @@ if (function_exists('id_get_comment_number')) {
remove_filter('comments_number','id_get_comment_number');
}
$comicpress_version = '2.8.2.5';
$comicpress_version = '2.9.0.0';
global $wpmu_version;
if (!empty($wpmu_version)) {
@ -60,6 +65,7 @@ if (get_option('upload_path') !== false) {
'buy_print_url' => 'buy_print_url',
'buy_print_us_amount' => 'buy_print_us_amount',
'buy_print_int_amount' => 'buy_print_int_amount',
'buy_print_add_shipping' => 'buy_print_add_shipping',
'buy_print_us_ship' => 'buy_print_us_ship',
'buy_print_int_ship' => 'buy_print_int_ship',
'cp_theme_layout' => 'cp_theme_layout',
@ -91,7 +97,6 @@ if (get_option('upload_path') !== false) {
'contact_in_menubar' => 'contact_in_menubar',
'disable_dynamic_menubar_links' => 'disable_dynamic_menubar_links',
'disable_footer_text' => 'disable_footer_text',
'themepack_directory' => 'themepack_directory',
'avatar_directory' => 'avatar_directory',
'archive_display_order' => 'archive_display_order',
'disable_comment_note' => 'disable_comment_note',
@ -105,7 +110,8 @@ if (get_option('upload_path') !== false) {
'author_column_two' => 'author_column_two',
'remove_wptexturize' => 'remove_wptexturize',
'disable_default_menubar' => 'disable_default_menubar',
'disable_blogheader' => 'disable_blogheader' ) as $options => $variable_name) {
'disable_blogheader' => 'disable_blogheader',
'disable_page_titles' => 'disable_page_titles' ) as $options => $variable_name) {
$variables_to_extract[$variable_name] = get_option("comicpress-${options}");
}

View File

@ -4,7 +4,7 @@
* function function comicpress_body_class
*
* Author: Philip M. Hofer (Frumph)
* Author URI: http://webcomicplanet.com/ http://frumph.net/
* Author URI: http://frumph.net/ http://frumph.net/
* Version: 1.0.6
*
* This function adds the browser type as a class
@ -135,4 +135,20 @@ function comicpress_post_class($class = '') {
echo apply_filters( 'comicpress_post_class', $class );
}
add_filter('comment_class','comicpress_comment_class');
function comicpress_comment_class($classes = '') {
/*
* http://microid.org
*/
$email = get_comment_author_email();
$url = get_comment_author_url();
if(!empty($email) && !empty($url)) {
$microid = 'microid-mailto+http:sha1:' . sha1(sha1('mailto:'.$email).sha1($url));
$classes[] = $microid;
}
return $classes;
}
?>

View File

@ -38,7 +38,7 @@ function comicpress_avatar() {
$id_or_email = get_comment_author_email();
if (empty($id_or_email)) $id_or_email = get_comment_author();
if(function_exists('comicpress_get_avatar') && $comment_type != 'pingback' && $comment_type != 'trackback' ) {
echo str_replace("alt='", "alt='".wp_specialchars(get_comment_author(), 1)."' title='".wp_specialchars(get_comment_author(), 1), comicpress_get_avatar($id_or_email, 64));
echo str_replace("alt='", "alt='".wp_specialchars(get_comment_author(), 1)."' title='".wp_specialchars(get_comment_author(), 1), comicpress_get_avatar($id_or_email, 72));
} else {
if ($comment_type == 'pingback' || $comment_type == 'trackback') {
echo '<img src="'.get_template_directory_uri().'/'.$avatar.'" class="photo trackping" />';
@ -121,9 +121,13 @@ function comicpress_comments_callback($comment, $args, $depth) {
$GLOBALS['comment_depth'] = $depth;
?>
<li id="comment-<?php comment_ID(); ?>" class="<?php comicpress_comment_class(); ?>">
<li id="comment-<?php comment_ID(); ?>" <?php comment_class(); ?>>
<div class="comment-avatar">
<?php comicpress_avatar(); // Avatar filter ?>
</div>
<div class="comment-content">
<div class="comment-meta-data">
@ -163,6 +167,7 @@ function comicpress_comments_callback($comment, $args, $depth) {
</div>
<?php } ?>
<div class="clear"></div>
</div>
<?php }
/**
@ -177,51 +182,6 @@ function comicpress_comments_end_callback() {
echo '</li>';
}
/**
* Sets a class for each comment
* Sets alt, odd/even, and author/user classes
* Adds author, user, and reader classes
*
* @since 0.2
*/
function comicpress_comment_class() {
global $comment;
static $comment_alt;
$classes = array();
if(function_exists('get_comment_class'))
$classes = get_comment_class();
$classes[] = get_comment_type();;
/*
* User classes
*/
if($comment->user_id > 0 && $user = get_userdata($comment->user_id)) :
$classes[] = 'user user-' . $user->user_nicename;
if($post = get_post($post_id)) :
if($comment->user_id === $post->post_author)
$classes[] = 'author author-' . $user->user_nicename;
endif;
else :
$classes[] = 'reader';
endif;
/*
* http://microid.org
*/
$email = get_comment_author_email();
$url = get_comment_author_url();
if(!empty($email) && !empty($url)) {
$microid = 'microid-mailto+http:sha1:' . sha1(sha1('mailto:'.$email).sha1($url));
$classes[] = $microid;
}
$classes = join(' ', $classes);
echo $classes;
}
function list_pings($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li id="comment-<?php comment_ID(); ?>">

View File

@ -12,7 +12,7 @@ function display_blog_post() {
<div class="blognav">
<div class="nav-single">
<?php previous_post_link('%link',__(' &lsaquo; Previous ','comicpress'), TRUE); ?>
<?php next_post_link('%link',__(' Next &rsaquo; ','comicpress'), TRUE); ?>
<?php next_post_link('%link',__('| Next &rsaquo; ','comicpress'), TRUE); ?>
</div>
</div>
<?php } ?>
@ -31,12 +31,21 @@ function display_blog_post() {
</div>
<?php } ?>
<div class="post-text">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-image">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_post_image('full'); ?></a>
</div>
<?php } else {?>
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="post-author"> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></div>
<?php } ?>
<?php } else { ?>
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php } ?>
<div class="post-author"> <?php the_time('F jS, Y'); ?> <span class="pipe">|</span> by <?php the_author_posts_link(); ?> <?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
<?php if ($disable_categories_in_posts != 'yes') { ?>
<div class="post-cat"><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></div>
<?php } ?>
<div class="post-edit"><?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div>
<div class="clear"></div>
@ -45,8 +54,8 @@ function display_blog_post() {
<?php if (!is_single()) { global $more; $more = 0; } ?>
<?php the_content(__('&darr; Read the rest of this entry...','comicpress')); ?>
<?php if (is_single()) wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
<div class="clear"></div>
</div>
<br class="clear-margins" />
<div class="post-extras">
<?php if ($disable_tags_in_posts != 'yes') { ?>
<div class="post-tags">
@ -56,14 +65,13 @@ function display_blog_post() {
<?php
if ('open' == $post->comment_status) {
if (comicpress_check_child_file('partials/commentlink') == false) { ?>
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> '.__('No Comments ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress')); ?></div>
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> '.__('Comments ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress')); ?></div>
<?php }
}
?>
<div class="clear"></div>
<?php if ($enable_related_posts == 'yes') echo related_posts_shortcode(); ?>
</div>
<br class="clear-margins" />
</div>
<div class="post-foot"></div>
</div>

View File

@ -30,8 +30,18 @@ function display_comic_post() {
</div>
<?php } ?>
<div class="post-comic-text">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-comic-image">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_post_image('full'); ?></a>
</div>
<?php } else {?>
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="post-comic-author"> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></div>
<?php } ?>
<?php } else { ?>
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php } ?>
<div class="post-comic-author"> <?php the_time('F jS, Y'); ?> <span class="pipe">|</span> by <?php the_author_posts_link(); ?> <?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', multiple) ?></li></ul>
<?php } else { ?>
@ -39,15 +49,14 @@ function display_comic_post() {
<div class="post-comic-cat"><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></div>
<?php } ?>
<?php } ?>
<div class="post-comic-edit"><?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div>
<br class="clear-margins" />
</div>
<div class="entry">
<?php if (!is_single()) { global $more; $more = 0; } ?>
<?php the_content(__('&darr; Read the rest of this entry...','comicpress')); ?>
<?php if (is_single()) wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
<div class="clear"></div>
</div>
<div class="post-comic-extras">
<?php if ($disable_tags_in_posts != 'yes') { ?>
@ -58,14 +67,13 @@ function display_comic_post() {
<?php
if ('open' == $post->comment_status) {
if (comicpress_check_child_file('partials/commentlink') == false) { ?>
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> '.__('No Comments ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress')); ?></div>
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span> '.__('Comments ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress')); ?></div>
<?php }
}
?>
<div class="clear"></div>
<?php if ($enable_related_comics == 'yes') echo related_comics_shortcode(); ?>
</div>
<br class="clear-margins" />
</div>
<div class="post-comic-foot"></div>
</div>

View File

@ -2,7 +2,7 @@
/**
* Members Only
* by Philip M. Hofer (Frumph)
* http://webcomicplanet.com/
* http://frumph.net/
*
* Displays content that only registered users that are marked members can see.
*

View File

@ -5,9 +5,17 @@
<div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>">
<h2 class="pagetitle">
<a href="<?php echo get_permalink($post->post_parent) ?>" rev="attachment"><?php echo get_the_title($post->post_parent) ?></a>
</h2>
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?>
<br class="clear-margins" />
<div class="gallery-image">
<a href="<?php echo wp_get_attachment_url($post->ID) ?>" target="_blank" title="<?php _e('Click for full size.','comicpress'); ?>" ><img src="<?php echo wp_get_attachment_url($post->ID) ?>" alt="<?php the_title() ?>" /></a>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,34 +1,53 @@
#cpadmin-headericon {
height: 36px;
width: 36px;
margin: 14px 6px 0 0;
float: left;
}
#cpadmin {
font: 11px verdana,arial,sans-serif;
font-family: 'Verdana', sans-serif;
font-size: 11px;
padding: 5px 0 0 0;
line-height: 5px;
margin: 0 0 -1px 0;
}
#cpadmin div {
border-top-left-radius: 3px;
-moz-border-radius-topleft: 3px;
-webkit-border-top-left-radius: 3px;
-khtml-border-top-left-radius: 3px;
border-top-right-radius: 3px;
-moz-border-radius-topright: 3px;
-webkit-border-top-right-radius: 3px;
-khtml-border-top-right-radius: 3px;
}
#cpadmin div.off {
color: #000;
color: #999;
height: 23px;
margin: 0 2px -2px 0;
margin: 0 0 -2px 5px;
line-height: 23px;
padding: 0 10px;
padding: 0 7px;
float: left;
background: url(tabs_0.gif) repeat-x left bottom;
border-top: 1px solid #ddd;
border-left: solid 1px #ddd;
border-right: solid 1px #ddd;
background: #e9e9e9;
border-top: 1px solid #dfdfdf;
border-left: solid 1px #dfdfdf;
border-right: solid 1px #dfdfdf;
position: relative;
cursor: pointer;
z-index: 20;
}
#cpadmin div.on {
color: #c00;
padding: 0 10px;
margin: 0 2px -1px 0;
color: #333;
padding: 0 7px;
margin: 0 0 -1px 5px;
float: left;
background: url(tabs_2.gif) repeat-x left bottom;
border-top: 1px solid #000;
border-left: 1px solid #000;
border-right: 1px solid #000;
background: #fff;
border-top: 1px solid #dfdfdf;
border-left: 1px solid #dfdfdf;
border-right: 1px solid #dfdfdf;
border-bottom: 0px;
cursor: pointer;
height: 23px;
@ -42,17 +61,26 @@ div.hide {
width: 0;
overflow: hidden;
}
div.show {
clear: left;
display: run-in;
background: #fff;
border: 1px solid #000;
padding: 20px;
border: 1px solid #dfdfdf;
padding: 10px;
z-index: 50;
margin-top: -2px;
position: relative;
font: 11px verdana, arial, sans-serif;
line-height: 18px;
border-top-left-radius: 6px;
-moz-border-radius-topleft: 6px;
-webkit-border-top-left-radius: 6px;
-khtml-border-top-left-radius: 6px;
border-top-right-radius: 6px;
-moz-border-radius-topright: 6px;
-webkit-border-top-right-radius: 6px;
-khtml-border-top-right-radius: 6px;
}
div.show img {
float: left;
@ -61,3 +89,26 @@ div.show img {
.clear {
clear: both;
}
.cpadmin-footer {
padding: 10px;
background: #ededed;
border-width: 0 1px 1px 1px;
border-style: solid;
border-color: #dfdfdf;
font-family: 'Arial', sans-serif;
border-bottom-left-radius: 6px;
-moz-border-radius-bottomleft: 6px;
-webkit-border-bottom-left-radius: 6px;
-khtml-border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
-moz-border-radius-bottomright: 6px;
-webkit-border-bottom-right-radius: 6px;
-khtml-border-bottom-right-radius: 6px;
}
.cpadmin-donate {
float: right;
}
.cpadmin-footer a {
text-decoration: none;
}

View File

@ -1,60 +0,0 @@
#cpadmin {
font: 11px verdana,arial,sans-serif;
padding: 5px 0 0 0;
line-height: 5px;
margin: 0 0 -1px 0;
}
#cpadmin div.off {
color: #000;
height: 23px;
margin: -1px 2px -1px 0;
line-height: 23px;
padding: 0 10px;
float: left;
background: url(tabs_0.gif) repeat-x left bottom;
border-top: 1px solid #ddd;
border-left: solid 1px #ddd;
border-right: solid 1px #ddd;
position: relative;
cursor: pointer;
z-index: 20;
}
#cpadmin div.on {
color: #c00;
padding: 0 10px;
margin: 0 2px 0 0 0;
float: left;
background: url(tabs_2.gif) repeat-x left bottom;
border-top: 1px solid #000;
border-left: 1px solid #000;
border-right: 1px solid #000;
cursor: pointer;
height: 23px;
line-height: 22px;
position: relative;
z-index: 100;
}
div.hide {
display: none;
width: 0;
overflow: hidden;
}
div.show {
clear: left;
display: run-in;
background: #fff;
border: 1px solid #000;
padding: 20px;
z-index: 50;
font: 11px verdana, arial, sans-serif;
line-height: 18px;
}
div.show img {
float: left;
margin: 0 10px 10px 0;
}
.clear {
clear: both;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

View File

@ -16,13 +16,22 @@ Template Name: Links
<div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?>
<div id="linkspage">
<ul>
<?php echo $bookmarks; ?>
</ul>
</div>
<br class="clear-margins" />
<div class="clear"></div>
</div>
<div class="post-page-foot"></div>
</div>

View File

@ -35,6 +35,20 @@
</td>
</tr>
<?php break;
case "comicpress-buy_print_add_shipping": ?>
<tr>
<th scope="row"><strong><?php _e('Add shipping to each item?','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('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>

View File

@ -8,20 +8,20 @@
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 /><br /><?php _e('Enabling this will use the standard CSS styling of the sidebars for all the sidebar areas.','comicpress'); ?><br /><br /></th>
<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 not enabled it will use the .customwidgetarea user made styling only and only the Sidebar-left and Sidebar-right will use sidebar styling.','comicpress'); ?><br />
<?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 /><br /><?php _e('Setting to &quot;Yes&quot; will make the Previous Entries and Next Entries turn into numbered pages to click on.','comicpress'); ?></th>
<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;
@ -35,17 +35,14 @@
<?php break;
case "comicpress-disable_page_restraints": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the #page / #page-wide restraints?','comicpress'); ?></strong><br />
<br />
<?php _e('Turning this option to Yes will make it so that the divs for #page and #page-wide will not load.','comicpress'); ?><br />
<br />
<th scope="row"><strong><?php _e('Disable the #page / #page-wide restraints?','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('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.','comicpress'); ?></th>
<?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>
@ -53,14 +50,14 @@
case "comicpress-comic_clicks_next": ?>
<tr>
<th scope="row"><strong><?php _e('Make the comic an Href that goes to next comic?','comicpress'); ?></strong><br /><br /><?php _e('In doing this if someone clicks the comic it will go to the next comic (if possible)','comicpress'); ?><br /></th>
<th scope="row"><strong><?php _e('Make the comic an Href that goes to next comic?','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('When a user or yourself puts their mouse cursor over the comic that is displayed on either the index or single page the action that happens next is the first step in the larger, bigger, more astonishing consequence of actually having any the other things you place your mouse cursor over and click. You click, it goes to the next comic.','comicpress'); ?>
<?php _e('In doing this if someone clicks the comic it will go to the next comic (if possible)','comicpress'); ?>
</td>
</tr>
@ -81,7 +78,7 @@
<?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 /><?php _e('Set to &quot;Yes&quot; and the text in the footer will not show.','comicpress'); ?><br /><br /></th>
<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;
@ -92,6 +89,20 @@
</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>
@ -194,6 +205,10 @@
</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

@ -25,9 +25,6 @@
}
?>
</table>
<input name="comicpress_save" type="submit" class="button-primary" value="Save Settings" />
<input type="hidden" name="action" value="comicpress_save" />
</form>
</div>
<div class="inside">
Usage:<br />
@ -41,4 +38,7 @@
<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" />
</form>
</div>

View File

@ -8,7 +8,7 @@
switch ( $value['type'] ) {
case "comicpress-disable_default_menubar": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the default menubar?','comicpress'); ?></strong><br /><br /></th>
<th scope="row"><strong><?php _e('Disable default Menubar?','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;
@ -22,7 +22,7 @@
<?php break;
case "comicpress-enable_search_in_menubar": ?>
<tr>
<th scope="row"><strong><?php _e('Enable Search Form in Menubar?','comicpress'); ?></strong><br /><br /></th>
<th scope="row"><strong><?php _e('Enable Search Form?','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;
@ -36,7 +36,7 @@
<?php break;
case "comicpress-enable_rss_in_menubar": ?>
<tr>
<th scope="row"><strong><?php _e('Enable RSS Link in Menubar?','comicpress'); ?></strong><br /><br /></th>
<th scope="row"><strong><?php _e('Enable RSS Link?','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;
@ -50,7 +50,7 @@
<?php break;
case "comicpress-enable_navigation_in_menubar": ?>
<tr>
<th scope="row"><strong><?Php _e('Enable mini navigation buttons in the Menubar?','comicpress'); ?></strong><br /><br /></th>
<th scope="row"><strong><?Php _e('Enable mini navigation','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;
@ -64,7 +64,7 @@
<?php break;
case "comicpress-contact_in_menubar": ?>
<tr>
<th scope="row"><strong><?php _e('Contact Link in Menubar','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('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>
<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;
@ -78,7 +78,7 @@
<?php break;
case "comicpress-disable_dynamic_menubar_links": ?>
<tr>
<th scope="row"><strong><?php _e('Disable the dynamically 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 /><?php _e('Setting this to Yes will turn off the dynamic links in your menubar.','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;

View File

@ -45,7 +45,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 Layout" />
<input type="hidden" name="action" value="comicpress_save" />
</form>
</div>

View File

@ -5,13 +5,22 @@
<div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>">
<?php if (function_exists('the_post_image')) {
if ( has_post_image() ) { ?>
<div class="post-page-image">
<?php the_post_image('full'); ?>
</div>
<?php } ?>
<?php } ?>
<?php if ($disable_page_titles != 'yes') { ?>
<h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?>
<div class="entry">
<?php the_content() ?>
<?php wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">'.__('Pages:','comicpress').'</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
</div>
<?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?>
<br class="clear-margins" />
<div class="clear"></div>
</div>
<div class="post-page-foot"></div>
</div>

View File

@ -35,15 +35,14 @@ $count = $tmp_search->post_count;
<div class="clear"></div>
</div>
<div class="post-extras">
<div class="tags">
<div class="post-tags">
<?php the_tags(__('&#9492; Tags:','comicpress'),', ','<br />'); ?>
</div>
<div class="clear"></div>
</div>
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /></a><br />
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /></a>
</div>
<br class="clear-margins" />
</div>
<div class="post-comic-foot"></div>
</div>
@ -77,7 +76,7 @@ $count = $tmp_search->post_count;
<div class="clear"></div>
</div>
<?php the_excerpt() ?>
<br class="clear-margins" />
<div class="clear"></div>
</div>
<div class="post-foot"></div>
</div>
@ -92,7 +91,6 @@ $count = $tmp_search->post_count;
<h3><?php _e('No transcripts found.','comicpress'); ?></h3>
<p><?php _e('Try another search?','comicpress'); ?></p>
<p><?php include(get_template_directory() . '/searchform-transcript.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
</div>

View File

@ -48,9 +48,8 @@
<div class="clear"></div>
</div>
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /></a><br />
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /></a>
</div>
<br class="clear-margins" />
</div>
<div class="post-comic-foot"></div>
</div>
@ -75,7 +74,7 @@
<small> <?php _e('By','comicpress'); ?> <?php the_author_posts_link(); ?> <?php _e('on','comicpress'); ?> <?php the_time('F jS, Y'); ?> <?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></small><br />
<?php if ($disable_categories_in_posts != 'yes') { ?>
<?php if ($post->post_type == 'page') { ?>
<small><?php _e('This is a page.','comicpress'); ?></small><break />
<small><?php _e('This is a page.','comicpress'); ?></small><br />
<?php } else { ?>
<small><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br />
<?php } ?>
@ -90,9 +89,8 @@
} else {
the_excerpt();
} ?>
<br class="clear-margins" />
<div class="post-extras">
<div class="tags">
<div class="post-tags">
<?php the_tags(__('&#9492; Tags:','comicpress'),', ','<br />'); ?>
</div>
<div class="clear"></div>
@ -111,7 +109,6 @@
<h3><?php _e('No entries found.','comicpress'); ?></h3>
<p><?php _e('Try another search?','comicpress'); ?></p>
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
</div>

View File

@ -4,5 +4,6 @@
<input type="text" value="<?php _e('Search Transcripts...','comicpress'); ?>" name="s" id="s-transcript" onfocus="this.value=(this.value=='<?php _e('Search Transcripts...','comicpress'); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php _e('Search Transcripts...','comicpress'); ?>' : this.value;" /><input type="hidden" name="key" value="transcript" />
<button type="submit">&raquo;</button>
</div>
<div class="clear"></div>
</form>
<?php } ?>

View File

@ -4,5 +4,6 @@
<input type="text" value="<?php _e('Search...','comicpress'); ?>" name="s" id="s-search" onfocus="this.value=(this.value=='<?php _e('Search...','comicpress'); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php _e('Search...','comicpress'); ?>' : this.value;" />
<button type="submit">&raquo;</button>
</div>
<div class="clear"></div>
</form>
<?php } ?>

View File

@ -29,7 +29,7 @@
<?php } ?>
<?php } endwhile; ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<?php if (is_cp_theme_layout('3c,standard,3c2r')) { ?>
<div id="subcontent-wrapper-head"></div>
<div id="subcontent-wrapper">
<?php } ?>
@ -86,17 +86,18 @@
endwhile; }
}
$post = $temppost; $wp_query = $temp_query; $temppost = null; $temp_query = null;
}
if ('open' == $post->comment_status) {
comments_template('', true);
} ?>
<?php comments_template('', true); ?>
<?php else: ?>
<?php get_sidebar('underblog'); ?>
<div class="<?php comicpress_post_class(); ?>">
<div class="post-head"></div>
<div class="post">
<p><?php _e('Sorry, no posts matched your criteria.','comicpress'); ?></p>
<br class="clear-margins" />
<div class="clear"></div>
</div>
<div class="post-foot"></div>
</div>

279
style.css
View File

@ -3,8 +3,8 @@ Theme Name: ComicPress
Theme URI: http://comicpress.org
Description: Publish a comic with WordPress. <a href="http://comicpress.org">Visit the ComicPress Website.</a> This is the ComicPress Core Framework.
Author: Tyler Martin, John Bintz, Philip M. Hofer
Author URI: http://mindfaucet.com/
Version: 2.8.2
Author URI: http://comicpress.org
Version: 2.9
.
The CSS, XHTML and design is released under GPL v3:
http://www.opensource.org/licenses/gpl-3.0.html
@ -62,18 +62,19 @@ blockquote {
margin: 10px;
padding: 5px 10px 5px 20px;
font-family: 'Georgia', serif;
font-size: 16px;
border-width: 1px 1px 1px 5px;
border-style: solid;
border-color: #000;
}
cite {
font-family: 'Arial', sans-serif;
font-size: 14px;
margin: 5px 0 0;
display: block;
font-weight: bold;
font-family: 'Arial', sans-serif;
font-style: normal;
margin: 0;
padding: 0;
font-size: 12px;
}
acronym, abbr, span.caps {
@ -88,7 +89,7 @@ code {
padding: 5px;
margin: 10px 0;
display: block;
overflow: auto;
overflow: scroll;
font-family: 'Courier', monospace;
border: 1px dotted #000;
}
@ -97,37 +98,33 @@ form {
margin: 0;
}
input, textarea {
font-family: 'Arial', sans-serif;
font-size: 13px;
}
/* HEADINGS */
h1, h1 a {
padding: 10px 0 0 0;
margin: 0;
color: #fff;
font-size: 56px;
font-family: 'Georgia' , serif;
font-weight: normal;
line-height: 46px;
text-decoration: none;
letter-spacing: -5px;
font-variant: small-caps;
}
h2, h2 a {
padding: 0 0 2px 0;
margin: 0;
color: #333;
font-family: 'Trebuchet MS', sans-serif;
font-size: 24px;
line-height: 24px;
font-weight: normal;
letter-spacing: -1px;
}
h2.pagetitle, h2.pagetitle a {
padding: 0 0 5px 0;
font-family: 'Georgia' , serif;
margin-top: 10px;
font-size: 32px;
font-weight: normal;
letter-spacing: -2px;
clear: both;
}
@ -136,10 +133,6 @@ h3, h3 a {
padding: 0;
margin: 0;
font-size: 20px;
font-weight: normal;
text-align: left;
color: #333;
text-decoration: none;
clear: both;
letter-spacing: -1px;
}
@ -162,16 +155,9 @@ h3, h3 a {
text-align: center;
}
#header a {
color: #000;
}
#header .description {
color: #555;
padding: 0 0 10px 0;
font-size: 14px;
font-style: italic;
letter-spacing: 2px;
}
/* THE MENU */
@ -192,22 +178,23 @@ h3, h3 a {
}
.menunav-search {
padding: 1px 1px 0 0;
float: left;
height: 25px;
}
.menunav-rss {
width: 30px;
height: 25px;
line-height: 25px;
padding: 0 7px 0 5px;
margin: 0 0 0 4px;
display: block;
float: left;
overflow: hidden;
font-size: 11px;
line-height: 25px;
}
.menunav-rss:hover {
background: #b00;
background: #f00;
color: #fff;
}
@ -225,22 +212,20 @@ h3, h3 a {
height: 25px;
line-height: 20px;
font-size: 28px;
font-weight: bold;
display: block;
overflow: hidden;
}
.menunav-prev a {
}
.menunav-prev a:hover {
background: #b00;
background: #f00;
}
.menunav-next a {
}
.menunav-next a:hover {
background: #b00;
background: #f00;
}
#menu {
@ -249,7 +234,7 @@ h3, h3 a {
list-style: none;
float: left;
line-height: 25px;
font-size: 13px;
font-size: 12px;
}
#menu a {
@ -268,16 +253,12 @@ h3, h3 a {
cursor:pointer;
}
#menu li a {
}
#menu li:hover a, #menu li.sfhover a {
color: #fff; /* Main menu highlighted text color */
}
#menu li:hover, #menu li.sfhover {
background: #b00; /* Main menu highlighted background color */
background: #f00; /* Main menu highlighted background color */
}
.sfhover {
@ -308,7 +289,7 @@ h3, h3 a {
border: none;
}
#menu li ul ul {
margin: -17px 0 0 190px;
margin: -16px 0 0 190px;
}
#menu li ul li:hover a, #menu li ul li li:hover a, #menu li ul li li li:hover a, #menu li ul li li li:hover a {
color: #fff; /*Submenu highlighted text color */
@ -332,12 +313,13 @@ h3, h3 a {
#menu .current_page_item a {
color: #fff;
background: #555;
background: #800;
}
/* THE COMIC */
#comic-head {
padding-top: 5px;
clear: both;
}
@ -363,41 +345,40 @@ h3, h3 a {
/* NAVIGATION */
a.navi-comments:hover span {
color:#860b04;
}
.nav,.blognav {
float: right;
font-size: 12px;
font-weight: bold;
margin-right: 10px;
padding: 8px 5px 5px 5px;
padding: 5px 0;
}
.nav-first {
padding: 0 5px 0 0;
.nav-first{
float: left;
}
.nav-previous {
padding: 0 5px;
float: left;
}
.nav-previous a {
padding-left: 10px;
}
.nav-next {
padding: 0 5px;
float: left;
}
.nav-next a {
padding-left: 10px;
}
.nav-last {
padding: 0 0 0 5px;
float: left;
}
a.navi-comments:hover span {
color:#860b04;
}
.nav-last a {
padding-left: 10px;
}
.pagenav, .commentnav {
height: 25px;
@ -422,9 +403,6 @@ a.navi-comments:hover span {
float: left;
}
.nav a:hover, .pagenav a:hover, .nav-blog a:hover {
}
/* POSTS - PAGES */
#pagewrap-right {
@ -469,16 +447,11 @@ a.navi-comments:hover span {
padding: 1%;
}
.column_one_header {
}
.column_two {
width: 48%;
float: left;
padding: 1%;
}
.column_two_header {
}
.post, .post-comic, .post-page {
clear: both;
@ -489,8 +462,11 @@ a.navi-comments:hover span {
padding-top: 5px;
}
.post-foot {
margin-bottom: 20px;
.post-foot, .post-comic-foot {
margin-bottom: 40px;
}
.post-image, .post-comic-image, .post-page-image {
}
.post-info, .post-comic-info {
@ -525,7 +501,9 @@ a.navi-comments:hover span {
height: 50px;
width: 45px;
background: url(images/calendar.png) center no-repeat;
font: normal 22px Georgia;
font-family: 'Georgia', serif;
font-size: 22px;
font-style: normal;
color: #000;
text-align: center;
line-height: 100%;
@ -535,11 +513,14 @@ a.navi-comments:hover span {
.post-date .date span, .post-comic-date .date span {
height: 16px;
padding: 1px 0 4px 0;
display: block;
font: normal 11px Verdana, Arial, Helvetica, sans-serif;
color: #ffffff;
font-family: 'Verdana', sans-serif;
font-size: 11px;
font-style: normal;
font-weight: normal;
color: #fff;
text-align: center;
padding-top: 5px;
}
.comicdate {
@ -551,7 +532,7 @@ a.navi-comments:hover span {
}
.entry {
line-height: 1.45em;
line-height: 18px;
font-size: 14px;
padding: 3px 0;
}
@ -579,13 +560,13 @@ a.navi-comments:hover span {
}
.post .members-only, .post-comic .members-only {
border: dotted 1px #000;
border: 1px dotted #000;
background: #fafafa;
padding: 3px;
}
.post .non-member, .post-comic .non-member {
border: dotted 1px #000;
border: 1px dotted #000;
background: #fafafa;
padding: 3px;
}
@ -598,7 +579,6 @@ a.navi-comments:hover span {
/* COMMENT LINK */
.comment-link {
font-family: 'Arial', sans-serif;
font-weight: bold;
text-align: right;
}
@ -607,7 +587,7 @@ a.navi-comments:hover span {
#blogheader {
padding: 5px 0 5px 0;
border-top: 1px solid #999;
border-top: 1px solid #000;
margin: 10px 0 20px 0;
}
@ -631,6 +611,11 @@ a.navi-comments:hover span {
float: left;
}
.comment .comment .avatar {
width: 48px;
height: 48px;
}
.comment .trackping {
float: left;
}
@ -640,12 +625,14 @@ a.navi-comments:hover span {
}
.comment-note {
font-size: smaller;
width: 400px;
display: block;
font-size: 11px;
}
.comment-text {
padding-bottom: 5px;
padding-left: 5px;
font-size: 13px;
padding: 10px 5px 5px;
float: left;
}
@ -654,6 +641,17 @@ a.navi-comments:hover span {
display: inline;
}
.comment-author cite {
padding: 0;
margin: 0;
font-size: 16px;
display: inline;
}
.comment .comment .comment-author cite {
font-size: 14px;
}
.comment-time {
padding-left: 5px;
}
@ -668,17 +666,10 @@ a.navi-comments:hover span {
}
.comment-meta-data {
margin: 0;
padding-left: 5px;
}
.bypostauthor .comment-meta-data {
}
.comment-meta {
display: inline;
padding: 0 0 0 5px;
margin: 0 0 0 2px;
border-left: 1px solid #000;
}
@ -691,19 +682,6 @@ a.navi-comments:hover span {
font-size: 11px;
}
#comment-textarea, #author, #email, #url {
padding: 2px;
color: #000;
font-family: 'Verdana' , sans-serif;
font-size: 12px;
background: #ccc;
border: 1px solid #888;
-moz-border-radius: 6px;
-khtml-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
#comment-textarea {
width: 99%;
}
@ -712,10 +690,6 @@ a.navi-comments:hover span {
width: 50%;
}
#comment-textarea:hover, #author:hover, #email:hover, #url:hover, #comment-textarea:focus, #author:focus, #email:focus, #url:focus {
background: #fff;
}
.comment-submit {
float: right;
}
@ -833,7 +807,7 @@ ul.children {
padding: 0;
}
.widget {
.sidebar .widget {
margin-bottom: 10px;
}
@ -849,21 +823,21 @@ ul.children {
background: #000;
}
.comic-bookmark {
.sidebar .comic-bookmark {
width: 185px;
margin: 0 auto;
margin-bottom: 10px;
}
.archive-dropdown {
margin: 0;
padding: 0;
width: 166px;
height: 23px;
font-size: 14px;
font-family: 'Arial' , sans-serif;
cursor: pointer;
border: solid 1px #555;
width: 192px;
margin-left: 4px;
padding: 2px;
}
.widget_search #s-search, .widget_comicpress_search_transcripts #s-transcript {
width: 155px;
margin-left: 4px;
}
/* CALENDAR */
@ -871,9 +845,9 @@ ul.children {
#wp-calendar-wrap {
margin: 0 auto;
width: 170px;
background:#fff;
padding:10px;
border:1px solid #999;
background: #fff;
padding: 10px;
border: 1px solid #000;
}
#wp-calendar {
@ -952,22 +926,12 @@ ul.children {
/* SEARCH */
#s-search, #s-transcript {
width: 138px;
padding: 4px 0 0 5px;
font-size: 12px;
height: 15px;
font-family: 'Arial' , sans-serif;
color: #000;
float: left;
width: 140px;
}
#searchform button, #searchform-transcript button {
height: 23px;
float: left;
}
.searchresults {
padding-left: 10px;
padding: 0 0 30px 10px;
font-style: italic;
}
/* GALLERY */
@ -979,7 +943,9 @@ ul.children {
}
.gallery-caption {
padding: 2px 0 0 0;
font-size: 11px;
line-height: 11px;
}
.gallery-caption p {
@ -1017,40 +983,38 @@ ul.children {
}
.imagenav-bg {
width: 75px;
height: 75px;
width: 77px;
height: 77px;
position: absolute;
z-index: 0;
background: #ddd;
border: 1px solid #000;
overflow: hidden;
}
.imagenav-bg img {
width: 75px;
height: 75px;
padding: 1px;
}
.imagenav-arrow {
width: 75px;
height: 75px;
width: 77px;
height: 67px;
padding-bottom: 10px;
position: absolute;
z-index: 1;
color: #fff;
font-size: 80px;
font-weight: bold;
line-height: 75px;
line-height: 67px;
text-align: center;
border: 1px solid #000;
float: left;
}
.imagenav-link {
width: 75px;
height: 75px;
width: 77px;
height: 77px;
position: absolute;
z-index: 2;
border: 1px solid #000;
float: left;
overflow: hidden;
}
@ -1058,11 +1022,11 @@ ul.children {
.imagenav-link img {
width: 75px;
height: 75px;
/* opacity: 0.50; filter: alpha(opacity=50); */
padding: 1px;
}
.imagenav-link img:hover {
/* opacity: 0.00; filter: alpha(opacity=0); */
#gallery-1 .attachment-thumbnail {
border: none;
}
/* POSTED IMAGES */
@ -1369,18 +1333,15 @@ li.pingback div p, li.trackback div p {
list-style: none;
float: left;
line-height: 25px;
font-size: 13px;
}
#paginav .paginav-pages, #paginav .paginav-extend {
padding: 0 15px 0 15px;
#paginav .paginav-pages {
padding-right: 10px;
}
#paginav a {
padding: 0px 10px 0 10px;
padding: 0px 10px;
display: block;
color: #000;
text-decoration: none;
}
#paginav ul {
@ -1393,26 +1354,16 @@ li.pingback div p, li.trackback div p {
float: left;
}
#paginav li a {
color: #555;
}
#paginav .paginav-next, #paginav .paginav-previous {
font-size: 20px;
}
#paginav .paginav-current, #paginav .current {
padding: 0px 10px 0 10px;
color: #000;
font-size: larger;
padding: 0px 10px;
font-weight: bold;
}
#paginav li:hover a {
color: #ff0000;
}
/* Tool Tips */
/* Tool Tips (ComicPress Rascal) */
.tt a {
position: relative;
z-index: 1000;
@ -1506,5 +1457,3 @@ li.pingback div p, li.trackback div p {
margin: 0;
padding: 0;
}
.nav { display: none; }

View File

@ -5,10 +5,21 @@ Widget URI: http://comicpress.org/
Description:
Author: Philip M. Hofer (Frumph)
Version: 1.04
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/
/*
function comicpress_archive_dropdown_storyline() {
$storyline = new ComicPressStoryline();
$storyline->create_structure(get_option('comicpress-storyline-category-order'));
$categories = array_keys($storyline->_structure);
foreach ($categories as $id) {
$post = ComicPressDBInterface::get_instance()->get_first_comic($id);
}
}
*/
function comicpress_archive_dropdown() { ?>
<div class="archive-dropdown-wrap">
<select name="archive-dropdown" class="archive-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'>

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Adds a bookmark set of icons to save the page your own.
Author: Tyler Martin
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Places a button that works with the Buy This template.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a calendar of this months posts.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display's the comic's blog post.
Author: Philip M. Hofer (Frumph)
Version: 1.04
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a comments link to put inside the comic area.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display's the date of post of the comic.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a Title of the Comic that can be used in any area around the comic.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display an area for login and logout, forgot password and register.
Author: Philip M. Hofer (Frumph)
Version: 1.02
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: You can place graphical navigation buttons on your comic, for ComicPress 2.8
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: This widget places graphical navigation buttons on your comic. For ComicPress 2.8
Author: Philip M. Hofer (Frumph) &amp; John Bintz
Version: 1.2
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/
require_once(dirname(__FILE__) . '/../classes/ComicPressNavigation.inc');
@ -120,7 +120,7 @@ class WidgetComicPressGraphicalStorylineNavigation extends WP_Widget {
case 'comments':
$temp_id = $id;
$id = $current->ID;
?><a href="<?php echo get_permalink($current); ?>#comment"
?><a href="<?php echo get_permalink($current); ?>#comments"
class="navi navi-comments"
title="<?php echo $instance['comments_title']; ?>"><span class="navi-comments-count"><?php comments_number('0', '1', '%'); ?></span><?php echo $instance['comments_title']; ?></a><?php
$id = $temp_id;

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Creates a link to the latest Comic
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a list of links of the latest comics.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a thumbnail of the latest comic.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a calendar of this months posts.
Author: Philip M. Hofer (Frumph)
Version: 1.05
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Displays whatever inside to non-members.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a permalink link that can be used in any area around the comic.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a link to click on to go to a random comic.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a link to click on to go to a random blog post (not comic).
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Display a list of posts that are due to be scheduled.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Link to the form template for searching transcripts.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Translates a user's URL line into a social widget, associating it to images.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/

View File

@ -5,7 +5,7 @@ Widget URI: http://comicpress.org/
Description: Show the stylized transcription in a widget area.
Author: Philip M. Hofer (Frumph)
Version: 1.01
Author URI: http://webcomicplanet.com/
Author URI: http://frumph.net/
*/