Backport of Michael's 1.2.6 changes. Ported by bcrow. Bug 619.
git-svn-id: https://develop.svn.wordpress.org/trunk@2039 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5dbc7ec739
commit
337fe78c65
@ -20,14 +20,14 @@
|
||||
<!-- You can start editing here. -->
|
||||
|
||||
<?php if ($comments) : ?>
|
||||
<a name="comments"></a><h3><?php comments_number('No Responses','One Response','% Responses' );?> to '<?php the_title(); ?>'</h3>
|
||||
<h3 id="comments"><?php comments_number('No Responses','One Response','% Responses' );?> to '<?php the_title(); ?>'</h3>
|
||||
|
||||
<ol class="commentlist">
|
||||
|
||||
<?php foreach ($comments as $comment) : ?>
|
||||
|
||||
<li class="<?php echo $oddcomment; ?>">
|
||||
<a name="comment-<?php comment_ID() ?>"></a><cite><?php comment_author_link() ?></cite> Says:<br />
|
||||
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
|
||||
<cite><?php comment_author_link() ?></cite> Says:<br />
|
||||
<!--<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title="<?php comment_date('l, F jS, Y') ?> at <?php comment_time() ?>"><?php /* $entry_datetime = abs(strtotime($post->post_date)); $comment_datetime = abs(strtotime($comment->comment_date)); echo time_since($entry_datetime, $comment_datetime) */ ?></a> after publication. <?php edit_comment_link('e','',''); ?></small>-->
|
||||
<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
|
||||
|
||||
@ -59,7 +59,7 @@
|
||||
|
||||
<?php if ('open' == $post-> comment_status) : ?>
|
||||
|
||||
<a name="respond"></a><h3>Leave a Comment</h3>
|
||||
<h3 id="respond">Leave a Reply</h3>
|
||||
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
||||
|
||||
<p><input type="text" name="author" id="author" class="styled" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
|
||||
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
|
||||
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
/* Because the template is slightly different, size-wise, with images, this needs to be set here
|
||||
If you don't want to use the template's images, you can also delete the following two lines. */
|
||||
|
||||
#header { padding: 1px; height: 198px; width: 758px; }
|
||||
#header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
|
||||
#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
|
||||
/* END IMAGE CSS */
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
|
||||
<div id="header">
|
||||
<div id="headerimg">
|
||||
<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
|
||||
<h1><a href="<?php echo get_settings('siteurl'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
|
||||
<div class="description"><?php bloginfo('description'); ?></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -13,27 +13,27 @@
|
||||
|
||||
<li>
|
||||
<?php /* If this is a category archive */ if (is_category()) { ?>
|
||||
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for the '<?php echo single_cat_title(); ?>' category.</p>
|
||||
|
||||
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
|
||||
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for the day <?php the_time('l, F jS, Y'); ?>.</p>
|
||||
|
||||
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
|
||||
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for <?php the_time('F, Y'); ?>.</p>
|
||||
|
||||
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
|
||||
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for the year <?php the_time('Y'); ?>.</p>
|
||||
|
||||
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
|
||||
<p>You have searched the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for <strong>'<?php echo $s; ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
|
||||
<p>You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
|
||||
|
||||
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
|
||||
<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
|
||||
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
|
||||
|
||||
<?php } ?>
|
||||
</li>
|
||||
@ -55,7 +55,7 @@
|
||||
|
||||
<li><h2><?php _e('Categories'); ?></h2>
|
||||
<ul>
|
||||
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','28') ?>
|
||||
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user