stuff stuff
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
bdf4ee7cbc
commit
31c3e97d26
2
404.php
2
404.php
|
@ -5,7 +5,7 @@
|
|||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<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>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
|
|
|
@ -53,18 +53,18 @@ function leapYear($yr) {
|
|||
}
|
||||
$leapYear = leapYear($archive_year);
|
||||
|
||||
$month['1'] = array('month' => 'January', 'days' => '31');
|
||||
$month['2'] = array('month' => 'February', 'days' => $leapYear);
|
||||
$month['3'] = array('month' => 'March', 'days' => '31');
|
||||
$month['4'] = array('month' => 'April', 'days' => '30');
|
||||
$month['5'] = array('month' => 'May', 'days' => '31');
|
||||
$month['6'] = array('month' => 'June', 'days' => '30');
|
||||
$month['7'] = array('month' => 'July', 'days' => '31');
|
||||
$month['8'] = array('month' => 'August', 'days' => '31');
|
||||
$month['9'] = array('month' => 'September', 'days' => '30');
|
||||
$month['10'] = array('month' => 'October', 'days' => '31');
|
||||
$month['11'] = array('month' => 'November', 'days' => '30');
|
||||
$month['12'] = array('month' => 'December', 'days' => '31');
|
||||
$month['1'] = array('month' => __('January','comicpress'), 'days' => '31');
|
||||
$month['2'] = array('month' => __('February','comicpress'), 'days' => $leapYear);
|
||||
$month['3'] = array('month' => __('March','comicpress'), 'days' => '31');
|
||||
$month['4'] = array('month' => __('April','comicpress'), 'days' => '30');
|
||||
$month['5'] = array('month' => __('May','comicpress'), 'days' => '31');
|
||||
$month['6'] = array('month' => __('June','comicpress'), 'days' => '30');
|
||||
$month['7'] = array('month' => __('July','comicpress'), 'days' => '31');
|
||||
$month['8'] = array('month' => __('August','comicpress'), 'days' => '31');
|
||||
$month['9'] = array('month' => __('September','comicpress'), 'days' => '30');
|
||||
$month['10'] = array('month' => __('October','comicpress'), 'days' => '31');
|
||||
$month['11'] = array('month' => __('November','comicpress'), 'days' => '30');
|
||||
$month['12'] = array('month' => __('December','comicpress'), 'days' => '31');
|
||||
|
||||
?>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
|
|
|
@ -63,7 +63,7 @@ Template Name: Comic Storyline with Thumbs
|
|||
}
|
||||
}
|
||||
} 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 } ?>
|
||||
</ul>
|
||||
<br class="clear-margins" />
|
||||
|
|
|
@ -65,7 +65,7 @@ Template Name: Comic Storyline Archive
|
|||
}
|
||||
}
|
||||
} 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 } ?>
|
||||
</ul>
|
||||
<br class="clear-margins" />
|
||||
|
|
31
archive.php
31
archive.php
|
@ -24,19 +24,19 @@
|
|||
|
||||
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
|
||||
<?php /* Category Archive */ if (is_category()) { ?>
|
||||
<div class="content"><h2 class="pagetitle">Archive for ‘<?php single_cat_title() ?>’</h2></div>
|
||||
<div class="content"><h2 class="pagetitle"><?php _e('Archive for ‘','comicpress'); ?><?php single_cat_title() ?>’</h2></div>
|
||||
<?php /* Tag Archive */ } elseif( is_tag() ) { ?>
|
||||
<div class="content"><h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title() ?>’</h2></div>
|
||||
<div class="content"><h2 class="pagetitle"><?php _e('Posts Tagged ‘','comicpress'); ?><?php single_tag_title() ?>’</h2></div>
|
||||
<?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()) { ?>
|
||||
<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()) { ?>
|
||||
<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()) { ?>
|
||||
<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'])) { ?>
|
||||
<div class="content"><h2 class="pagetitle">Archives</h2></div>
|
||||
<div class="content"><h2 class="pagetitle"><?php _e('Archives','comicpress'); ?></h2></div>
|
||||
<?php } ?>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
|
@ -71,7 +71,14 @@
|
|||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<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(' » </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(); } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
@ -99,9 +106,9 @@
|
|||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<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') { ?>
|
||||
<small> Posted In: <?php the_category(','); ?></small><br />
|
||||
<small> <?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br />
|
||||
<?php } ?>
|
||||
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||
</div>
|
||||
|
@ -109,14 +116,14 @@
|
|||
</div>
|
||||
<?php global $excerpt_or_content_archive;
|
||||
if ($excerpt_or_content_archive != 'excerpt') {
|
||||
the_content('↓ Read the rest of this entry...');
|
||||
the_content(__('↓ Read the rest of this entry...','comicpress'));
|
||||
} else {
|
||||
the_excerpt();
|
||||
} ?>
|
||||
<br class="clear-margins" />
|
||||
<div class="post-extras">
|
||||
<div class="tags">
|
||||
<?php the_tags('└ Tags: ',',','<br />');?>
|
||||
<?php the_tags(__('└ Tags:','comicpress'),'','','<br />'); ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
|
|
@ -10,9 +10,9 @@ Template Name: Archives
|
|||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<div id="archivepage">
|
||||
<h2>Archives by Month:</h2>
|
||||
<h2><?php _e('Archives by Month:','comicpress'); ?></h2>
|
||||
<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>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
$curauth = get_userdata(get_query_var('author'));
|
||||
}
|
||||
if (empty($curauth)) { ?>
|
||||
<h2>No such author.</h2>
|
||||
<h2><?php _e('No such author.','comicpress'); ?></h2>
|
||||
<?php } else { ?>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-page-head"></div>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<div class="userpage-info">
|
||||
<div class="userpage-bio">
|
||||
<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 />
|
||||
<?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 } ?>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<div class="clear"></div>
|
||||
<div class="userpage-posts">
|
||||
<?php if (have_posts()) { ?>
|
||||
<h3>Posts by <?php echo $curauth->nickname; ?> (<?php echo get_usernumposts($curauth->ID); ?>) ¬</h3>
|
||||
<h3><?php _e('Posts by','comicpress'); ?> <?php echo $curauth->nickname; ?> (<?php echo get_usernumposts($curauth->ID); ?>) ¬</h3>
|
||||
<?php // this area is a loop that shows what posts the person has done. ?>
|
||||
<ol>
|
||||
<table class="month-table">
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
<?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
|
||||
if (function_exists('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
|
||||
|
||||
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'=>'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'=>'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'=>'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'=>'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'=>'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'=>'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'=>'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'=>'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'=>'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'=>'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','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'=>__('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','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','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','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','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','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','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','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','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','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','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','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','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() {
|
||||
|
|
|
@ -11,8 +11,8 @@ function display_blog_post() {
|
|||
<?php if (is_single()) { ?>
|
||||
<div class="blognav">
|
||||
<div class="nav-single">
|
||||
<?php previous_post_link('%link','Previous', TRUE); ?>
|
||||
<?php next_post_link('%link','Next', TRUE); ?>
|
||||
<?php previous_post_link('%link',__('Previous','comicpress'), TRUE); ?>
|
||||
<?php next_post_link('%link',__('Next','comicpress'), TRUE); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?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>
|
||||
<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') { ?>
|
||||
<small> Posted In: <?php the_category(','); ?></small><br />
|
||||
<small><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></small><br />
|
||||
<?php } ?>
|
||||
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||
</div>
|
||||
|
|
|
@ -37,7 +37,7 @@ function display_comic_post() {
|
|||
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' » </li><li>', multiple) ?></li></ul>
|
||||
<?php } else { ?>
|
||||
<?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(); } ?>
|
||||
|
|
|
@ -65,15 +65,14 @@
|
|||
<?php } ?>
|
||||
|
||||
<?php get_sidebar('overblog'); ?>
|
||||
|
||||
<?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 class="column">
|
||||
<?php }
|
||||
}
|
||||
if (function_exists('the_project_wonderful_ad')) { ?>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('the_project_wonderful_ad')) { ?>
|
||||
<div class="blogpwad">
|
||||
<center>
|
||||
<?php the_project_wonderful_ad('blog'); ?>
|
||||
|
|
|
@ -8,7 +8,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
|
|||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_layout('3c')) { ?>
|
||||
<div class="clear"></div>
|
||||
<div id="subcontent-wrapper-bottom"></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
|
|
@ -7,8 +7,8 @@ $tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_pa
|
|||
$count = $tmp_search->post_count;
|
||||
?>
|
||||
<?php if (!$count) $count = "no"; ?>
|
||||
<div class="searchresults">Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.</div>
|
||||
<h2 class="pagetitle">Transcript search for ‘<?php the_search_query() ?>’</h2>
|
||||
<div class="searchresults"><?php printf(__ngettext("Found %d result.", "Found %d results.", $count,'comicpress'),$count); ?></div>
|
||||
<h2 class="pagetitle"><?php _e('Transcript search for ‘','comicpress'); ?><?php the_search_query() ?><?php _e('’','comicpress'); ?></h2>
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
|
@ -37,7 +37,7 @@ $count = $tmp_search->post_count;
|
|||
</div>
|
||||
<div class="post-extras">
|
||||
<div class="tags">
|
||||
<?php the_tags('└ Tags: ',', ','<br />'); ?>
|
||||
<?php the_tags(__('└ Tags:','comicpress'),', ','<br />'); ?>
|
||||
</div>
|
||||
<div class="clear"></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>
|
||||
<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') { ?>
|
||||
<small> Posted In: <?php the_category(','); ?></small><br />
|
||||
<small><?php _e('Posted In:','comicpress'); ?><?php the_category(','); ?></small><br />
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
@ -90,8 +90,8 @@ $count = $tmp_search->post_count;
|
|||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h3>No transcripts found.</h3>
|
||||
<p>Try another search?</p>
|
||||
<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>
|
||||
|
|
23
search.php
23
search.php
|
@ -7,8 +7,9 @@ $tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_pa
|
|||
$count = $tmp_search->post_count;
|
||||
?>
|
||||
<?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 ‘<?php the_search_query() ?>’</h2>
|
||||
|
||||
<div class="searchresults"><?php printf(__ngettext("Found %d result.", "Found %d results.", $count,'comicpress'),$count); ?></div>
|
||||
<h2 class="pagetitle"><?php _e('Search for ‘','comicpress'); the_search_query(); _e('’','comicpress'); ?></h2>
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
|
@ -32,7 +33,7 @@ $count = $tmp_search->post_count;
|
|||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<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 class="clear"></div>
|
||||
</div>
|
||||
|
@ -61,12 +62,12 @@ $count = $tmp_search->post_count;
|
|||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<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 (is_page()) { ?>
|
||||
<small>This is a page.</small><break />
|
||||
<?php if ($post->post_type == 'page') { ?>
|
||||
<small><?php _e('This is a page.','comicpress'); ?></small><break />
|
||||
<?php } else { ?>
|
||||
<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(); } ?>
|
||||
|
@ -75,14 +76,14 @@ $count = $tmp_search->post_count;
|
|||
</div>
|
||||
<?php global $excerpt_or_content_search;
|
||||
if ($excerpt_or_content_search != 'excerpt') {
|
||||
the_content('↓ Read the rest of this entry...');
|
||||
the_content(__('↓ Read the rest of this entry...','comicpress'));
|
||||
} else {
|
||||
the_excerpt();
|
||||
} ?>
|
||||
<br class="clear-margins" />
|
||||
<div class="post-extras">
|
||||
<div class="tags">
|
||||
<?php the_tags('└ Tags: ',',','<br />');?>
|
||||
<?php the_tags(__('└ Tags:','comicpress'),', ','<br />'); ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
@ -97,8 +98,8 @@ $count = $tmp_search->post_count;
|
|||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h3>No entries found.</h3>
|
||||
<p>Try another search?</p>
|
||||
<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>
|
||||
|
|
|
@ -46,11 +46,13 @@ global $contact_in_menubar,$enable_search_in_menubar,$enable_rss_in_menubar,$ena
|
|||
<?php } ?>
|
||||
</div>
|
||||
<?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 = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $menulinks);
|
||||
$menulinks = preg_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('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
||||
$listpages = '';
|
||||
|
|
Loading…
Reference in New Issue