stuff stuff

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-10-01 18:30:23 -07:00
parent bdf4ee7cbc
commit 31c3e97d26
15 changed files with 90 additions and 74 deletions

View File

@ -5,7 +5,7 @@
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<h2 class="pagetitle">Page Not Found</h2> <h2 class="pagetitle">Page Not Found</h2>
<p><a href="<?php bloginfo('url') ?>">Click here to return to the home page</a> or try a search:</p> <p><a href="<?php bloginfo('url') ?>"><?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> <p><?php include (get_template_directory() . '/searchform.php') ?></p>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>

View File

@ -53,18 +53,18 @@ function leapYear($yr) {
} }
$leapYear = leapYear($archive_year); $leapYear = leapYear($archive_year);
$month['1'] = array('month' => 'January', 'days' => '31'); $month['1'] = array('month' => __('January','comicpress'), 'days' => '31');
$month['2'] = array('month' => 'February', 'days' => $leapYear); $month['2'] = array('month' => __('February','comicpress'), 'days' => $leapYear);
$month['3'] = array('month' => 'March', 'days' => '31'); $month['3'] = array('month' => __('March','comicpress'), 'days' => '31');
$month['4'] = array('month' => 'April', 'days' => '30'); $month['4'] = array('month' => __('April','comicpress'), 'days' => '30');
$month['5'] = array('month' => 'May', 'days' => '31'); $month['5'] = array('month' => __('May','comicpress'), 'days' => '31');
$month['6'] = array('month' => 'June', 'days' => '30'); $month['6'] = array('month' => __('June','comicpress'), 'days' => '30');
$month['7'] = array('month' => 'July', 'days' => '31'); $month['7'] = array('month' => __('July','comicpress'), 'days' => '31');
$month['8'] = array('month' => 'August', 'days' => '31'); $month['8'] = array('month' => __('August','comicpress'), 'days' => '31');
$month['9'] = array('month' => 'September', 'days' => '30'); $month['9'] = array('month' => __('September','comicpress'), 'days' => '30');
$month['10'] = array('month' => 'October', 'days' => '31'); $month['10'] = array('month' => __('October','comicpress'), 'days' => '31');
$month['11'] = array('month' => 'November', 'days' => '30'); $month['11'] = array('month' => __('November','comicpress'), 'days' => '30');
$month['12'] = array('month' => 'December', 'days' => '31'); $month['12'] = array('month' => __('December','comicpress'), 'days' => '31');
?> ?>
<div class="<?php comicpress_post_class(); ?>"> <div class="<?php comicpress_post_class(); ?>">

View File

@ -63,7 +63,7 @@ Template Name: Comic Storyline with Thumbs
} }
} }
} else { ?> } else { ?>
<li><h3>Storyline Support is not currently enabled on this site.</h3><br /><br /><strong>Note to the Administrator:</strong><br /> To enable storyline support and manage storyline categories make sure you are running the latest version of the <a href="http://wordpress.org/extend/plugins/comicpress-manager/">ComicPress Manager</a> plugin and check your storyline settings from it's administration menu.</h3></li> <li><h3><?php _e('Storyline Support is not currently enabled on this site.','comicpress'); ?></h3><br /><br /><strong><?php _e('Note to the Administrator:','comicpress'); ?></strong><br /> <?php _e('To enable storyline support and manage storyline categories make sure you are running the latest version of the ','comicpress'); ?><a href="http://wordpress.org/extend/plugins/comicpress-manager/">ComicPress Manager</a> <?php _e('plugin and check your storyline settings from it\'s administration menu.','comicpress'); ?></h3></li>
<?php } ?> <?php } ?>
</ul> </ul>
<br class="clear-margins" /> <br class="clear-margins" />

View File

@ -65,7 +65,7 @@ Template Name: Comic Storyline Archive
} }
} }
} else { ?> } else { ?>
<li><h3>Storyline Support is not currently enabled on this site.</h3><br /><br /><strong>Note to the Administrator:</strong><br /> To enable storyline support and manage storyline categories make sure you are running the latest version of the <a href="http://wordpress.org/extend/plugins/comicpress-manager/">ComicPress Manager</a> plugin and check your storyline settings from it's administration menu.</h3></li> <li><h3><?php _e('Storyline Support is not currently enabled on this site.','comicpress'); ?></h3><br /><br /><strong><?php _e('Note to the Administrator:','comicpress'); ?></strong><br /> <?php _e('To enable storyline support and manage storyline categories make sure you are running the latest version of the ','comicpress'); ?><a href="http://wordpress.org/extend/plugins/comicpress-manager/">ComicPress Manager</a> <?php _e('plugin and check your storyline settings from it\'s administration menu.','comicpress'); ?></h3></li>
<?php } ?> <?php } ?>
</ul> </ul>
<br class="clear-margins" /> <br class="clear-margins" />

View File

@ -24,19 +24,19 @@
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* Category Archive */ if (is_category()) { ?> <?php /* Category Archive */ if (is_category()) { ?>
<div class="content"><h2 class="pagetitle">Archive for &#8216;<?php single_cat_title() ?>&#8217;</h2></div> <div class="content"><h2 class="pagetitle"><?php _e('Archive for &#8216;','comicpress'); ?><?php single_cat_title() ?>&#8217;</h2></div>
<?php /* Tag Archive */ } elseif( is_tag() ) { ?> <?php /* Tag Archive */ } elseif( is_tag() ) { ?>
<div class="content"><h2 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title() ?>&#8217;</h2></div> <div class="content"><h2 class="pagetitle"><?php _e('Posts Tagged &#8216;','comicpress'); ?><?php single_tag_title() ?>&#8217;</h2></div>
<?php /* Daily Archive */ } elseif (is_day()) { ?> <?php /* Daily Archive */ } elseif (is_day()) { ?>
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('F jS, Y') ?></h2></div> <div class="content"><h2 class="pagetitle"><?php _e('Archive for','comicpress'); ?> <?php the_time('F jS, Y') ?></h2></div>
<?php /* Monthly Archive */ } elseif (is_month()) { ?> <?php /* Monthly Archive */ } elseif (is_month()) { ?>
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('F, Y') ?></h2></div> <div class="content"><h2 class="pagetitle"><?php _e('Archive for','comicpress'); ?> <?php the_time('F, Y') ?></h2></div>
<?php /* Yearly Archive */ } elseif (is_year()) { ?> <?php /* Yearly Archive */ } elseif (is_year()) { ?>
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('Y') ?></h2></div> <div class="content"><h2 class="pagetitle"><?php _e('Archive for','comicpress'); ?> <?php the_time('Y') ?></h2></div>
<?php /* Author Archive */ } elseif (is_author()) { ?> <?php /* Author Archive */ } elseif (is_author()) { ?>
<div class="content"><h2 class="pagetitle">Author Archive</h2></div> <div class="content"><h2 class="pagetitle"><?php _e('Author Archive','comicpress'); ?></h2></div>
<?php /* Paged Archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <?php /* Paged Archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<div class="content"><h2 class="pagetitle">Archives</h2></div> <div class="content"><h2 class="pagetitle"><?php _e('Archives','comicpress'); ?></h2></div>
<?php } ?> <?php } ?>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
@ -71,7 +71,14 @@
<?php } ?> <?php } ?>
<div class="post-text"> <div class="post-text">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br /> <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', ' [ ', ' ] '); ?></small><br />
<?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 { ?>
<?php if ($disable_categories_in_posts != 'yes') { ?>
<small> <?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br />
<?php } ?>
<?php } ?>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
@ -99,9 +106,9 @@
<?php } ?> <?php } ?>
<div class="post-text"> <div class="post-text">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br /> <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', ' [ ', ' ] '); ?></small><br />
<?php if ($disable_categories_in_posts != 'yes') { ?> <?php if ($disable_categories_in_posts != 'yes') { ?>
<small> Posted In: <?php the_category(','); ?></small><br /> <small> <?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br />
<?php } ?> <?php } ?>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div> </div>
@ -109,14 +116,14 @@
</div> </div>
<?php global $excerpt_or_content_archive; <?php global $excerpt_or_content_archive;
if ($excerpt_or_content_archive != 'excerpt') { if ($excerpt_or_content_archive != 'excerpt') {
the_content('&darr; Read the rest of this entry...'); the_content(__('&darr; Read the rest of this entry...','comicpress'));
} else { } else {
the_excerpt(); the_excerpt();
} ?> } ?>
<br class="clear-margins" /> <br class="clear-margins" />
<div class="post-extras"> <div class="post-extras">
<div class="tags"> <div class="tags">
<?php the_tags('&#9492; Tags: ',',','<br />');?> <?php the_tags(__('&#9492; Tags:','comicpress'),'','','<br />'); ?>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>

View File

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

View File

@ -9,7 +9,7 @@
$curauth = get_userdata(get_query_var('author')); $curauth = get_userdata(get_query_var('author'));
} }
if (empty($curauth)) { ?> if (empty($curauth)) { ?>
<h2>No such author.</h2> <h2><?php _e('No such author.','comicpress'); ?></h2>
<?php } else { ?> <?php } else { ?>
<div class="<?php comicpress_post_class(); ?>"> <div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div> <div class="post-page-head"></div>
@ -20,7 +20,7 @@
<div class="userpage-info"> <div class="userpage-info">
<div class="userpage-bio"> <div class="userpage-bio">
<h2><?php echo $curauth->display_name; ?></h2> <h2><?php echo $curauth->display_name; ?></h2>
Registered on <?php echo date('l \\t\h\e jS \o\f M, Y',strtotime($curauth->user_registered)); ?><br /> <?php _e('Registered on','comicpress'); ?> <?php echo date('l \\t\h\e jS \o\f M, Y',strtotime($curauth->user_registered)); ?><br />
<br /> <br />
<?php if (!empty($curauth->user_url)) { ?>Website: <a href="<?php echo $curauth->user_url; ?>" target="_blank"><?php echo $curauth->user_url; ?></a><br /><?php } ?> <?php if (!empty($curauth->user_url)) { ?>Website: <a href="<?php echo $curauth->user_url; ?>" target="_blank"><?php echo $curauth->user_url; ?></a><br /><?php } ?>
<?php if (!empty($curauth->aim)) { ?>AIM: <a href="<?php echo $curauth->user_aim; ?>" target="_blank"><?php echo $curauth->aim; ?></a><br /><?php } ?> <?php if (!empty($curauth->aim)) { ?>AIM: <a href="<?php echo $curauth->user_aim; ?>" target="_blank"><?php echo $curauth->aim; ?></a><br /><?php } ?>
@ -37,7 +37,7 @@
<div class="clear"></div> <div class="clear"></div>
<div class="userpage-posts"> <div class="userpage-posts">
<?php if (have_posts()) { ?> <?php if (have_posts()) { ?>
<h3>Posts by <?php echo $curauth->nickname; ?> (<?php echo get_usernumposts($curauth->ID); ?>) &not;</h3> <h3><?php _e('Posts by','comicpress'); ?> <?php echo $curauth->nickname; ?> (<?php echo get_usernumposts($curauth->ID); ?>) &not;</h3>
<?php // this area is a loop that shows what posts the person has done. ?> <?php // this area is a loop that shows what posts the person has done. ?>
<ol> <ol>
<table class="month-table"> <table class="month-table">

View File

@ -1,5 +1,13 @@
<?php <?php
load_theme_textdomain( 'comicpress', get_template_directory().'/languages' );
$locale = get_locale();
$locale_file = get_template_directory()."/languages/$locale.php";
if (file_exists($locale_file)) require_once($locale_file);
// remove intense debates control over the comment numbers // remove intense debates control over the comment numbers
if (function_exists('id_get_comment_number')) { if (function_exists('id_get_comment_number')) {
remove_filter('comments_number','id_get_comment_number'); remove_filter('comments_number','id_get_comment_number');
@ -697,19 +705,19 @@ add_filter('the_content','insert_comic_feed');
// Register Sidebar and Define Widgets // Register Sidebar and Define Widgets
if ( function_exists('register_sidebar') ) { if ( function_exists('register_sidebar') ) {
register_sidebar(array('name'=>'Left Sidebar','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Left Sidebar','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Right Sidebar','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Right Sidebar','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Above Header','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Above Header','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Header','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Header','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Menubar','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Menubar','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Over Comic','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Over Comic','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Left of Comic','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Left of Comic','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Right of Comic','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Right of Comic','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Under Comic','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Under Comic','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Over Blog','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Over Blog','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Blog','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Blog','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Under Blog','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Under Blog','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
register_sidebar(array('name'=>'Footer','before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' )); register_sidebar(array('name'=>__('Footer','comicpress'),'before_widget' => '<ul><li id="%1$s" class="widget %2$s">','after_widget' => '</li></ul>','before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>' ));
} }
function storyline_category_list() { function storyline_category_list() {

View File

@ -11,8 +11,8 @@ function display_blog_post() {
<?php if (is_single()) { ?> <?php if (is_single()) { ?>
<div class="blognav"> <div class="blognav">
<div class="nav-single"> <div class="nav-single">
<?php previous_post_link('%link','Previous', TRUE); ?> <?php previous_post_link('%link',__('Previous','comicpress'), TRUE); ?>
<?php next_post_link('%link','Next', TRUE); ?> <?php next_post_link('%link',__('Next','comicpress'), TRUE); ?>
</div> </div>
</div> </div>
<?php } ?> <?php } ?>
@ -34,7 +34,7 @@ function display_blog_post() {
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br /> <small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br />
<?php if ($disable_categories_in_posts != 'yes') { ?> <?php if ($disable_categories_in_posts != 'yes') { ?>
<small> Posted In: <?php the_category(','); ?></small><br /> <small><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br />
<?php } ?> <?php } ?>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div> </div>

View File

@ -37,7 +37,7 @@ function display_comic_post() {
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', multiple) ?></li></ul> <ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', multiple) ?></li></ul>
<?php } else { ?> <?php } else { ?>
<?php if ($disable_categories_in_posts != 'yes') { ?> <?php if ($disable_categories_in_posts != 'yes') { ?>
<small> Posted In: <?php the_category(','); ?></small><br /> <small><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br />
<?php } ?> <?php } ?>
<?php } ?> <?php } ?>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>

View File

@ -63,17 +63,16 @@
<div id="subcontent-wrapper-head"></div> <div id="subcontent-wrapper-head"></div>
<div id="subcontent-wrapper"> <div id="subcontent-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c,rgn')) get_sidebar('left'); ?> <?php if (is_cp_theme_layout('3c,rgn')) get_sidebar('left'); ?>
<?php if (!is_cp_theme_layout('v3c')) { ?> <?php if (!is_cp_theme_layout('v3c,v')) { ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="column"> <div class="column">
<?php } <?php } ?>
} <?php } ?>
if (function_exists('the_project_wonderful_ad')) { ?> <?php if (function_exists('the_project_wonderful_ad')) { ?>
<div class="blogpwad"> <div class="blogpwad">
<center> <center>
<?php the_project_wonderful_ad('blog'); ?> <?php the_project_wonderful_ad('blog'); ?>

View File

@ -8,7 +8,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?> <?php } ?>
<?php if (is_cp_theme_layout('3c')) { ?> <?php if (is_cp_theme_layout('3c')) { ?>
<div class="clear"></div>
<div id="subcontent-wrapper-bottom"></div> <div id="subcontent-wrapper-bottom"></div>
</div> </div>
<?php } ?> <?php } ?>

View File

@ -7,8 +7,8 @@ $tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_pa
$count = $tmp_search->post_count; $count = $tmp_search->post_count;
?> ?>
<?php if (!$count) $count = "no"; ?> <?php if (!$count) $count = "no"; ?>
<div class="searchresults">Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.</div> <div class="searchresults"><?php printf(__ngettext("Found %d result.", "Found %d results.", $count,'comicpress'),$count); ?></div>
<h2 class="pagetitle">Transcript search for &lsquo;<?php the_search_query() ?>&rsquo;</h2> <h2 class="pagetitle"><?php _e('Transcript search for &lsquo;','comicpress'); ?><?php the_search_query() ?><?php _e('&rsquo;','comicpress'); ?></h2>
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
@ -37,7 +37,7 @@ $count = $tmp_search->post_count;
</div> </div>
<div class="post-extras"> <div class="post-extras">
<div class="tags"> <div class="tags">
<?php the_tags('&#9492; Tags: ',', ','<br />'); ?> <?php the_tags(__('&#9492; Tags:','comicpress'),', ','<br />'); ?>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
@ -66,7 +66,7 @@ $count = $tmp_search->post_count;
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br /> <small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br />
<?php if ($disable_categories_in_posts != 'yes') { ?> <?php if ($disable_categories_in_posts != 'yes') { ?>
<small> Posted In: <?php the_category(','); ?></small><br /> <small><?php _e('Posted In:','comicpress'); ?><?php the_category(','); ?></small><br />
<?php } ?> <?php } ?>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
@ -90,8 +90,8 @@ $count = $tmp_search->post_count;
<div class="<?php comicpress_post_class(); ?>"> <div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<h3>No transcripts found.</h3> <h3><?php _e('No transcripts found.','comicpress'); ?></h3>
<p>Try another search?</p> <p><?php _e('Try another search?','comicpress'); ?></p>
<p><?php include(get_template_directory() . '/searchform-transcript.php') ?></p> <p><?php include(get_template_directory() . '/searchform-transcript.php') ?></p>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>

View File

@ -7,8 +7,9 @@ $tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_pa
$count = $tmp_search->post_count; $count = $tmp_search->post_count;
?> ?>
<?php if (!$count) $count = "no"; ?> <?php if (!$count) $count = "no"; ?>
<div class="searchresults">Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.</div>
<h2 class="pagetitle">Search for &lsquo;<?php the_search_query() ?>&rsquo;</h2> <div class="searchresults"><?php printf(__ngettext("Found %d result.", "Found %d results.", $count,'comicpress'),$count); ?></div>
<h2 class="pagetitle"><?php _e('Search for &lsquo;','comicpress'); the_search_query(); _e('&rsquo;','comicpress'); ?></h2>
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
@ -32,7 +33,7 @@ $count = $tmp_search->post_count;
<?php } ?> <?php } ?>
<div class="post-text"> <div class="post-text">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br /> <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', ' [ ', ' ] '); ?></small><br />
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
@ -61,12 +62,12 @@ $count = $tmp_search->post_count;
<?php } ?> <?php } ?>
<div class="post-text"> <div class="post-text">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?></small><br /> <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', ' [ ', ' ] '); ?></small><br />
<?php if ($disable_categories_in_posts != 'yes') { ?> <?php if ($disable_categories_in_posts != 'yes') { ?>
<?php if (is_page()) { ?> <?php if ($post->post_type == 'page') { ?>
<small>This is a page.</small><break /> <small><?php _e('This is a page.','comicpress'); ?></small><break />
<?php } else { ?> <?php } else { ?>
<small> Posted In: <?php the_category(','); ?></small><br /> <small><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br />
<?php } ?> <?php } ?>
<?php } ?> <?php } ?>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
@ -75,14 +76,14 @@ $count = $tmp_search->post_count;
</div> </div>
<?php global $excerpt_or_content_search; <?php global $excerpt_or_content_search;
if ($excerpt_or_content_search != 'excerpt') { if ($excerpt_or_content_search != 'excerpt') {
the_content('&darr; Read the rest of this entry...'); the_content(__('&darr; Read the rest of this entry...','comicpress'));
} else { } else {
the_excerpt(); the_excerpt();
} ?> } ?>
<br class="clear-margins" /> <br class="clear-margins" />
<div class="post-extras"> <div class="post-extras">
<div class="tags"> <div class="tags">
<?php the_tags('&#9492; Tags: ',',','<br />');?> <?php the_tags(__('&#9492; Tags:','comicpress'),', ','<br />'); ?>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
@ -97,8 +98,8 @@ $count = $tmp_search->post_count;
<div class="<?php comicpress_post_class(); ?>"> <div class="<?php comicpress_post_class(); ?>">
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<h3>No entries found.</h3> <h3><?php _e('No entries found.','comicpress'); ?></h3>
<p>Try another search?</p> <p><?php _e('Try another search?','comicpress'); ?></p>
<p><?php include (get_template_directory() . '/searchform.php') ?></p> <p><?php include (get_template_directory() . '/searchform.php') ?></p>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>

View File

@ -46,11 +46,13 @@ global $contact_in_menubar,$enable_search_in_menubar,$enable_rss_in_menubar,$ena
<?php } ?> <?php } ?>
</div> </div>
<?php <?php
$linkcatid = get_term_by('name','menubar','link_category');
$linkcatid = $linkcatid->term_id;
$menulinks = wp_list_bookmarks('echo=0&title_li=&categorize=0&title_before=&title_after=&category_name=menubar'); $menulinks = wp_list_bookmarks('echo=0&title_li=&categorize=0&title_before=&title_after=&category_name=menubar');
$menulinks = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $menulinks); $menulinks = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $menulinks);
$menulinks = preg_replace('#<ul ([^>]*)>#', '', $menulinks); $menulinks = preg_replace('#<ul ([^>]*)>#', '', $menulinks);
$menulinks = str_replace('</ul>', '', $menulinks); $menulinks = str_replace('</ul>', '', $menulinks);
$bookmarks = wp_list_bookmarks('echo=0&title_li=&categorize=1&title_before=&title_after=&exclude_category=menubar'); $bookmarks = wp_list_bookmarks('echo=0&title_li=&categorize=1&title_before=&title_after=&exclude_category='.$linkcatid);
$bookmarks = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $bookmarks); $bookmarks = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $bookmarks);
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks); $bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
$listpages = ''; $listpages = '';