<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[13498] trunk/wp-content/themes/twentyten:
  Better internationalisation for TwentyTen.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13498">13498</a></dd>
<dt>Author</dt> <dd>dd32</dd>
<dt>Date</dt> <dd>2010-02-28 11:43:04 +0000 (Sun, 28 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Better internationalisation for TwentyTen. Props filosofo. Fixes <a href="http://trac.wordpress.org/ticket/12384">#12384</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytenattachmentphp">trunk/wp-content/themes/twentyten/attachment.php</a></li>
<li><a href="#trunkwpcontentthemestwentytencategoryphp">trunk/wp-content/themes/twentyten/category.php</a></li>
<li><a href="#trunkwpcontentthemestwentytencommentsphp">trunk/wp-content/themes/twentyten/comments.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenheaderphp">trunk/wp-content/themes/twentyten/header.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenindexphp">trunk/wp-content/themes/twentyten/index.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenloopphp">trunk/wp-content/themes/twentyten/loop.php</a></li>
<li><a href="#trunkwpcontentthemestwentytensearchphp">trunk/wp-content/themes/twentyten/search.php</a></li>
<li><a href="#trunkwpcontentthemestwentytensinglephp">trunk/wp-content/themes/twentyten/single.php</a></li>
<li><a href="#trunkwpcontentthemestwentytentagphp">trunk/wp-content/themes/twentyten/tag.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentytenattachmentphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/attachment.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/attachment.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/attachment.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -11,11 +11,20 @@
</span><span class="cx">                                         &lt;h2 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div class=&quot;entry-meta&quot;&gt;
</span><del>-                                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'By ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( get_the_author_meta('ID') ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata-&gt;display_name ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;meta-prep meta-prep-entry-date&quot;&gt;&lt;?php _e( 'Published ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &lt;span class=&quot;entry-date&quot;&gt;&lt;abbr class=&quot;published&quot; title=&quot;&lt;?php the_time() ?&gt;&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/abbr&gt;&lt;/span&gt;
</del><ins>+                                                &lt;?php
+                                                        printf(__( '&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt; By &lt;/span&gt; &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;%1$s&quot; title=&quot;%2$s&quot;&gt;%3$s&lt;/a&gt;&lt;/span&gt;', 'twentyten'),
+                                                                get_author_posts_url( get_the_author_meta('ID') ),
+                                                                sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
+                                                                get_the_author()
+                                                        );
+                                                ?&gt;
+                                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
+                                                &lt;?php
+                                                        printf( __( '&lt;span class=&quot;meta-prep meta-prep-entry-date&quot;&gt;Published &lt;/span&gt; &lt;span class=&quot;entry-date&quot;&gt;&lt;abbr class=&quot;published&quot; title=&quot;%1$s&quot;&gt;%2$s&lt;/abbr&gt;&lt;/span&gt;', 'twentyten'),
+                                                                esc_attr(get_the_time()),
+                                                                get_the_date()
+                                                        );
+                                                ?&gt;
</ins><span class="cx">                                                 &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t&quot; ); ?&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -42,12 +51,22 @@
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div class=&quot;entry-utility&quot;&gt;
</span><del>-                                        &lt;?php printf( __( 'This entry was posted in %1$s%2$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;. Follow any comments here with the &lt;a href=&quot;%5$s&quot; title=&quot;Comments RSS to %4$s&quot; rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;&gt;RSS feed for this post&lt;/a&gt;.', 'twentyten' ),
-                                                get_the_category_list(', '),
-                                                get_the_tag_list( __( ' and tagged ', 'twentyten' ), ', ', '' ),
-                                                get_permalink(),
-                                                the_title_attribute('echo=0'),
-                                                get_post_comments_feed_link() ); ?&gt;
</del><ins>+                                        &lt;?php
+                                                $tag_list = get_the_tag_list();
+                                                if ( '' != $tag_list ) {
+                                                        $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;. Follow any comments here with the &lt;a href=&quot;%5$s&quot; title=&quot;Comments RSS to %4$s&quot; rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;&gt;RSS feed for this post&lt;/a&gt;.', 'twentyten' );
+                                                } else {
+                                                        $utility_text = __( 'This entry was posted in %1$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;. Follow any comments here with the &lt;a href=&quot;%5$s&quot; title=&quot;Comments RSS to %4$s&quot; rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;&gt;RSS feed for this post&lt;/a&gt;.', 'twentyten' );
+                                                }
+                                                printf( 
+                                                        $utility_text,
+                                                        get_the_category_list(', '),
+                                                        $tag_list,
+                                                        get_permalink(),
+                                                        the_title_attribute('echo=0'),
+                                                        get_post_comments_feed_link() 
+                                                ); 
+                                        ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php if ( comments_open() &amp;&amp; pings_open() ) : // Comments and trackbacks open ?&gt;
</span><span class="cx">                                                 &lt;?php printf( __( '&lt;a class=&quot;comment-link&quot; href=&quot;#respond&quot; title=&quot;Post a comment&quot;&gt;Post a comment&lt;/a&gt; or leave a trackback: &lt;a class=&quot;trackback-link&quot; href=&quot;%s&quot; title=&quot;Trackback URL for your post&quot; rel=&quot;trackback&quot;&gt;Trackback URL&lt;/a&gt;.', 'twentyten' ), get_trackback_url() ); ?&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytencategoryphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/category.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/category.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/category.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -3,7 +3,9 @@
</span><span class="cx">                 &lt;div id=&quot;container&quot;&gt;
</span><span class="cx">                         &lt;div id=&quot;content&quot;&gt;
</span><span class="cx"> 
</span><del>-                                &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php _e( 'Category Archives:', 'twentyten' ); ?&gt; &lt;span&gt;&lt;?php single_cat_title(); ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
</del><ins>+                                &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php 
+                                        printf(__( 'Category Archives: %s', 'twentyten' ), '&lt;span&gt;' . single_cat_title('', false) . '&lt;/span&gt;');
+                                ?&gt;&lt;/h1&gt;
</ins><span class="cx">                                 &lt;?php $categorydesc = category_description(); if ( !empty($categorydesc) ) echo apply_filters( 'archive_meta', '&lt;div class=&quot;archive-meta&quot;&gt;' . $categorydesc . '&lt;/div&gt;' ); ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php get_generic_template( 'loop', 'category' ); ?&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytencommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/comments.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/comments.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/comments.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -1,8 +1,3 @@
</span><del>-&lt;?php
-        // Do not delete these lines
-        if ( ! defined('ABSPATH') )
-                die ( __( 'Please do not load this page directly. Thanks!', 'twentyten' ) );
-?&gt;
</del><span class="cx">                         &lt;div id=&quot;comments&quot;&gt;
</span><span class="cx"> &lt;?php if ( post_password_required() ) : ?&gt;
</span><span class="cx">                                 &lt;div class=&quot;nopassword&quot;&gt;&lt;?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?&gt;&lt;/div&gt;
</span><span class="lines">@@ -17,7 +12,11 @@
</span><span class="cx"> ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php if ( have_comments() ) : ?&gt;
</span><del>-                        &lt;h3 id=&quot;comments-title&quot;&gt;&lt;?php comments_number( __('No Responses to', 'twentyten'), __('One Response to', 'twentyten'), __('% Responses to', 'twentyten') );?&gt;  &lt;em&gt;&lt;?php the_title(); ?&gt;&lt;/em&gt;&lt;/h3&gt;
</del><ins>+                        &lt;h3 id=&quot;comments-title&quot;&gt;&lt;?php comments_number( 
+                                sprintf(__('No Responses to %s', 'twentyten'), '&lt;em&gt;' . get_the_title() . '&lt;/em&gt;'),
+                                sprintf(__('One Response to %s', 'twentyten'), '&lt;em&gt;' . get_the_title() . '&lt;/em&gt;'),
+                                sprintf(__('%% Responses to %s', 'twentyten'), '&lt;em&gt;' . get_the_title() . '&lt;/em&gt;')
+                        ); ?&gt; &lt;/h3&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php if ( get_comment_pages_count() &gt; 1 ) : // are there comments to navigate through ?&gt;
</span><span class="cx">                         &lt;div class=&quot;navigation&quot;&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/header.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/header.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/header.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> &lt;!DOCTYPE html&gt;
</span><span class="cx"> &lt;html &lt;?php language_attributes(); ?&gt;&gt;
</span><span class="cx"> &lt;head&gt;
</span><del>-    &lt;title&gt;&lt;?php
-        if ( is_single() ) {
</del><ins>+        &lt;title&gt;&lt;?php
+                if ( is_single() ) {
</ins><span class="cx">                         single_post_title(); echo ' | '; bloginfo('name');
</span><span class="cx">                 } elseif ( is_home() || is_front_page() ) {
</span><span class="cx">                         bloginfo('name'); echo ' | '; bloginfo('description'); twentyten_the_page_number();
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx">                 } else {
</span><span class="cx">                         wp_title(''); echo ' | '; bloginfo('name'); twentyten_the_page_number();
</span><span class="cx">                 }
</span><del>-    ?&gt;&lt;/title&gt;
</del><ins>+        ?&gt;&lt;/title&gt;
</ins><span class="cx"> 
</span><span class="cx">         &lt;meta http-equiv=&quot;content-type&quot; content=&quot;&lt;?php bloginfo('html_type'); ?&gt;; charset=&lt;?php bloginfo('charset'); ?&gt;&quot; /&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenindexphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/index.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/index.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/index.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -3,15 +3,7 @@
</span><span class="cx">                 &lt;div id=&quot;container&quot;&gt;
</span><span class="cx">                         &lt;div id=&quot;content&quot;&gt;
</span><span class="cx"> 
</span><del>-    &lt;?php if ( have_posts() ) : 
-                get_generic_template( 'loop', 'index' );
-    else : ?&gt;
-                &lt;h2&gt;&lt;?php _e( 'Not Found', 'twentyten' ); ?&gt;&lt;/h2&gt;
-                &lt;div class=&quot;entry-content&quot;&gt;
-                        &lt;p&gt;&lt;?php _e( 'Apologies, but we were unable to find what you were looking for. Perhaps searching will help.', 'twentyten' ); ?&gt;&lt;/p&gt;
-                        &lt;?php get_search_form(); ?&gt;
-                &lt;/div&gt;
-    &lt;?php endif; ?&gt;
</del><ins>+                        &lt;?php get_generic_template( 'loop', 'index' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #container --&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenloopphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/loop.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/loop.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/loop.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -1,9 +1,9 @@
</span><del>-&lt;?php if ( $wp_query-&gt;max_num_pages &gt; 1 ) { ?&gt;
</del><ins>+&lt;?php if ( $wp_query-&gt;max_num_pages &gt; 1 ) : ?&gt;
</ins><span class="cx">         &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
</span><span class="cx">                 &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
</span><span class="cx">                 &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
</span><span class="cx">         &lt;/div&gt;&lt;!-- #nav-above --&gt;
</span><del>-&lt;?php } ?&gt;
</del><ins>+&lt;?php endif; ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php if ( ! have_posts() ) : ?&gt;
</span><span class="cx">         &lt;div id=&quot;post-0&quot; class=&quot;post error404 not-found&quot;&gt;
</span><span class="lines">@@ -16,112 +16,132 @@
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php while ( have_posts() ) : the_post(); ?&gt;
</span><del>-&lt;?php if ( in_category( 'Gallery' ) ) { ?&gt;
-        &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
</del><ins>+        &lt;?php if ( in_category( 'Gallery' ) ) : ?&gt;
+                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
+                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
</ins><span class="cx"> 
</span><del>-                &lt;div class=&quot;entry-meta&quot;&gt;
-                        &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                        &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                        &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e( 'by ', 'twentyten' ); ?&gt; &lt;/span&gt;
-                        &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( get_the_author_meta('ID') ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</del><ins>+                        &lt;div class=&quot;entry-meta&quot;&gt;
+                                &lt;?php
+                                        printf(__( '&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;Posted on &lt;/span&gt;&lt;a href=&quot;%1$s&quot; title=&quot;%2$s&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;%3$s&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;meta-sep&quot;&gt; by &lt;/span&gt; &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;%4$s&quot; title=&quot;%5$s&quot;&gt;%6$s&lt;/a&gt;&lt;/span&gt;', 'twentyten'),
+                                                get_permalink(),
+                                                esc_attr( get_the_time() ),
+                                                get_the_date(),
+                                                get_author_posts_url( get_the_author_meta('ID') ),
+                                                sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
+                                                get_the_author()
+                                        );
+                                ?&gt;
+                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</ins><span class="cx"> 
</span><del>-                &lt;div class=&quot;entry-content&quot;&gt;
-                        &lt;div class=&quot;gallery-thumb&quot;&gt;
-                                &lt;a class=&quot;size-thumbnail&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php
-                                $images =&amp; get_children( array('post_parent' =&gt; $post-&gt;ID, 'post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'orderby' =&gt; 'menu_order', 'order' =&gt; 'ASC', 'numberposts' =&gt; 999) );
-                                $total_images = count($images);
-                                $image = array_shift($images);
-                                echo wp_get_attachment_image( $image-&gt;ID, 'thumbnail' );
-                                ?&gt;&lt;/a&gt;
-                        &lt;/div&gt;
-                        &lt;p&gt;&lt;em&gt;&lt;?php printf( __('This gallery contains &lt;a %1$s&gt;%2$s photos&lt;/a&gt;.', 'twentyten'), 'href=&quot;' . get_permalink() . '&quot; title=&quot;' . sprintf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '&quot; rel=&quot;bookmark&quot;', $total_images ); ?&gt;&lt;/em&gt;&lt;/p&gt;
</del><ins>+                        &lt;div class=&quot;entry-content&quot;&gt;
+                                &lt;div class=&quot;gallery-thumb&quot;&gt;
+                                        &lt;a class=&quot;size-thumbnail&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php
+                                        $images = get_children( array('post_parent' =&gt; $post-&gt;ID, 'post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'orderby' =&gt; 'menu_order', 'order' =&gt; 'ASC', 'numberposts' =&gt; 999) );
+                                        $total_images = count($images);
+                                        $image = array_shift($images);
+                                        echo wp_get_attachment_image( $image-&gt;ID, 'thumbnail' );
+                                        ?&gt;&lt;/a&gt;
+                                &lt;/div&gt;
+                                &lt;p&gt;&lt;em&gt;&lt;?php printf( __('This gallery contains &lt;a %1$s&gt;%2$s photos&lt;/a&gt;.', 'twentyten'), 
+                                                'href=&quot;' . get_permalink() . '&quot; title=&quot;' . sprintf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '&quot; rel=&quot;bookmark&quot;', 
+                                                $total_images 
+                                        ); ?&gt;&lt;/em&gt;&lt;/p&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php the_excerpt( '' ); ?&gt;
-                &lt;/div&gt;&lt;!-- .entry-content --&gt;
</del><ins>+                                &lt;?php the_excerpt( '' ); ?&gt;
+                        &lt;/div&gt;&lt;!-- .entry-content --&gt;
</ins><span class="cx"> 
</span><del>-                &lt;div class=&quot;entry-utility&quot;&gt;
-                        &lt;?php
-                                $category_id = get_cat_ID( 'Gallery' );
-                                $category_link = get_category_link( $category_id );
-                        ?&gt;
-                        &lt;a href=&quot;&lt;?php echo $category_link; ?&gt;&quot; title=&quot;&lt;?php esc_attr_e('View posts in the Gallery category', 'twentyten'); ?&gt;&quot;&gt;&lt;?php _e('More Galleries', 'twentyten'); ?&gt;&lt;/a&gt;
-                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                        &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                        &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-        &lt;/div&gt;
</del><ins>+                        &lt;div class=&quot;entry-utility&quot;&gt;
+                                &lt;?php
+                                        $category_id = get_cat_ID( 'Gallery' );
+                                        $category_link = get_category_link( $category_id );
+                                ?&gt;
+                                &lt;a href=&quot;&lt;?php echo $category_link; ?&gt;&quot; title=&quot;&lt;?php esc_attr_e('View posts in the Gallery category', 'twentyten'); ?&gt;&quot;&gt;&lt;?php _e('More Galleries', 'twentyten'); ?&gt;&lt;/a&gt;
+                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
+                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
+                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
+                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
+                &lt;/div&gt;
</ins><span class="cx"> 
</span><span class="cx"> 
</span><del>-&lt;?php } elseif ( in_category( 'asides' ) ) { ?&gt;
-        &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-&lt;?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives &amp; search ?&gt;
-                &lt;div class=&quot;entry-summary&quot;&gt;
-                        &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                &lt;/div&gt;&lt;!-- .entry-summary --&gt;
-&lt;?php else : ?&gt;
-                &lt;div class=&quot;entry-content&quot;&gt;
-                        &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                &lt;/div&gt;&lt;!-- .entry-content --&gt;
-&lt;?php endif; ?&gt;
</del><ins>+        &lt;?php elseif ( in_category( 'asides' ) ) : ?&gt;
+                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
+        &lt;?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives &amp; search ?&gt;
+                        &lt;div class=&quot;entry-summary&quot;&gt;
+                                &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
+                        &lt;/div&gt;&lt;!-- .entry-summary --&gt;
+        &lt;?php else : ?&gt;
+                        &lt;div class=&quot;entry-content&quot;&gt;
+                                &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
+                        &lt;/div&gt;&lt;!-- .entry-content --&gt;
+        &lt;?php endif; ?&gt;
</ins><span class="cx"> 
</span><del>-                &lt;div class=&quot;entry-utility&quot;&gt;
-                        &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                        &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                        &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e( ' by ', 'twentyten' ); ?&gt; &lt;/span&gt;
-                        &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( get_the_author_meta('ID') ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                        &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                        &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-        &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
</del><ins>+                        &lt;div class=&quot;entry-utility&quot;&gt;
+                                &lt;?php
+                                        printf(__( '&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;Posted on &lt;/span&gt;&lt;a href=&quot;%1$s&quot; title=&quot;%2$s&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;%3$s&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;meta-sep&quot;&gt; by &lt;/span&gt; &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;%4$s&quot; title=&quot;%5$s&quot;&gt;%6$s&lt;/a&gt;&lt;/span&gt;', 'twentyten'),
+                                                get_permalink(),
+                                                esc_attr( get_the_time() ),
+                                                get_the_date(),
+                                                get_author_posts_url( get_the_author_meta('ID') ),
+                                                sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
+                                                get_the_author()
+                                        );
+                                ?&gt;
+                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
+                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
+                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
+                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
+                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
</ins><span class="cx"> 
</span><span class="cx"> 
</span><del>-&lt;?php } else { ?&gt;
-        &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
-                &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
</del><ins>+        &lt;?php else : ?&gt;
+                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
+                        &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
</ins><span class="cx"> 
</span><del>-                &lt;div class=&quot;entry-meta&quot;&gt;
-                        &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e('Posted on ', 'twentyten'); ?&gt;&lt;/span&gt;
-                        &lt;a href=&quot;&lt;?php
-the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
-                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' by ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                        &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( get_the_author_meta('ID') ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
-                &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</del><ins>+                        &lt;div class=&quot;entry-meta&quot;&gt;
+                                &lt;?php
+                                        printf(__( '&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;Posted on &lt;/span&gt;&lt;a href=&quot;%1$s&quot; title=&quot;%2$s&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;%3$s&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;meta-sep&quot;&gt; by &lt;/span&gt; &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;%4$s&quot; title=&quot;%5$s&quot;&gt;%6$s&lt;/a&gt;&lt;/span&gt;', 'twentyten'),
+                                                get_permalink(),
+                                                esc_attr( get_the_time() ),
+                                                get_the_date(),
+                                                get_author_posts_url( get_the_author_meta('ID') ),
+                                                sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
+                                                get_the_author()
+                                        );
+                                ?&gt;
+                        &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives &amp; search ?&gt;
-                &lt;div class=&quot;entry-summary&quot;&gt;
-                        &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                &lt;/div&gt;&lt;!-- .entry-summary --&gt;
-&lt;?php else : ?&gt;
-                &lt;div class=&quot;entry-content&quot;&gt;
-                        &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
-                        &lt;?php wp_link_pages('before=&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ) . '&amp;after=&lt;/div&gt;'); ?&gt;
-                &lt;/div&gt;&lt;!-- .entry-content --&gt;
-&lt;?php endif; ?&gt;
</del><ins>+        &lt;?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives &amp; search ?&gt;
+                        &lt;div class=&quot;entry-summary&quot;&gt;
+                                &lt;?php the_excerpt( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
+                        &lt;/div&gt;&lt;!-- .entry-summary --&gt;
+        &lt;?php else : ?&gt;
+                        &lt;div class=&quot;entry-content&quot;&gt;
+                                &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
+                                &lt;?php wp_link_pages('before=&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ) . '&amp;after=&lt;/div&gt;'); ?&gt;
+                        &lt;/div&gt;&lt;!-- .entry-content --&gt;
+        &lt;?php endif; ?&gt;
</ins><span class="cx"> 
</span><del>-                &lt;div class=&quot;entry-utility&quot;&gt;
-                        &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php echo twentyten_cat_list(); ?&gt;&lt;/span&gt;&lt;/span&gt;
-                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                        &lt;?php $tags_text = twentyten_tag_list(); ?&gt;
-                        &lt;?php if ( !empty($tags_text) ) : ?&gt;
-                        &lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;&lt;?php echo $tags_text; ?&gt;&lt;/span&gt;&lt;/span&gt;
-                        &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' | ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                        &lt;?php endif; //$tags_text ?&gt;
-                        &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
-                        &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
-                &lt;/div&gt;&lt;!-- #entry-utility --&gt;
-        &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
</del><ins>+                        &lt;div class=&quot;entry-utility&quot;&gt;
+                                &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php echo twentyten_cat_list(); ?&gt;&lt;/span&gt;&lt;/span&gt;
+                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
+                                &lt;?php $tags_text = twentyten_tag_list(); ?&gt;
+                                &lt;?php if ( !empty($tags_text) ) : ?&gt;
+                                &lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;&lt;?php echo $tags_text; ?&gt;&lt;/span&gt;&lt;/span&gt;
+                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
+                                &lt;?php endif; //$tags_text ?&gt;
+                                &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
+                                &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\n&quot; ); ?&gt;
+                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
+                &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
</ins><span class="cx"> 
</span><del>-        &lt;?php comments_template( '', true ); ?&gt;
</del><ins>+                &lt;?php comments_template( '', true ); ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php } ?&gt;
</del><ins>+        &lt;?php endif; // if different categories queried ?&gt;
</ins><span class="cx"> &lt;?php endwhile; ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php if (  $wp_query-&gt;max_num_pages &gt; 1 ) { ?&gt;
</del><ins>+&lt;?php if (  $wp_query-&gt;max_num_pages &gt; 1 ) : ?&gt;
</ins><span class="cx">                                 &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
</span><span class="cx">                                         &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' )); ?&gt;&lt;/div&gt;
</span><span class="cx">                                         &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__( 'Newer posts &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' )); ?&gt;&lt;/div&gt;
</span><span class="cx">                                 &lt;/div&gt;&lt;!-- #nav-below --&gt;
</span><del>-&lt;?php } ?&gt;
</del><span class="cx">\ No newline at end of file
</span><ins>+&lt;?php endif; ?&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytensearchphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/search.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/search.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/search.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">                         &lt;div id=&quot;content&quot;&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php if ( have_posts() ) : ?&gt;
</span><del>-                                &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php _e( 'Search Results for: ', 'twentyten' ); ?&gt;&lt;span&gt;&lt;?php the_search_query(); ?&gt;&lt;/span&gt;&lt;/h1&gt;
</del><ins>+                                &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php printf( __( 'Search Results for: %s', 'twentyten' ), '&lt;span&gt;' . get_search_query() . '&lt;/span&gt;'); ?&gt;&lt;/h1&gt;
</ins><span class="cx">         &lt;?php get_generic_template( 'loop', 'search' ); ?&gt;
</span><span class="cx"> &lt;?php else : ?&gt;
</span><span class="cx">                                 &lt;div id=&quot;post-0&quot; class=&quot;post no-results not-found&quot;&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytensinglephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/single.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/single.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/single.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -42,12 +42,22 @@
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div class=&quot;entry-utility&quot;&gt;
</span><del>-                                        &lt;?php printf( __( 'This entry was posted in %1$s%2$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;. Follow any comments here with the &lt;a href=&quot;%5$s&quot; title=&quot;Comments RSS to %4$s&quot; rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;&gt;RSS feed for this post&lt;/a&gt;.', 'twentyten' ),
-                                                get_the_category_list(', '),
-                                                get_the_tag_list( __( ' and tagged ', 'twentyten' ), ', ', '' ),
-                                                get_permalink(),
-                                                the_title_attribute('echo=0'),
-                                                get_post_comments_feed_link() ); ?&gt;
</del><ins>+                                        &lt;?php
+                                                $tag_list = get_the_tag_list();
+                                                if ( '' != $tag_list ) {
+                                                        $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;. Follow any comments here with the &lt;a href=&quot;%5$s&quot; title=&quot;Comments RSS to %4$s&quot; rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;&gt;RSS feed for this post&lt;/a&gt;.', 'twentyten' );
+                                                } else {
+                                                        $utility_text = __( 'This entry was posted in %1$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;. Follow any comments here with the &lt;a href=&quot;%5$s&quot; title=&quot;Comments RSS to %4$s&quot; rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;&gt;RSS feed for this post&lt;/a&gt;.', 'twentyten' );
+                                                }
+                                                printf( 
+                                                        $utility_text,
+                                                        get_the_category_list(', '),
+                                                        $tag_list,
+                                                        get_permalink(),
+                                                        the_title_attribute('echo=0'),
+                                                        get_post_comments_feed_link() 
+                                                ); 
+                                        ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), &quot;\n\t\t\t\t\t&lt;span class=\&quot;edit-link\&quot;&gt;&quot;, &quot;&lt;/span&gt;&quot; ); ?&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-utility --&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytentagphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/tag.php (13497 => 13498)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/tag.php        2010-02-28 10:23:55 UTC (rev 13497)
+++ trunk/wp-content/themes/twentyten/tag.php        2010-02-28 11:43:04 UTC (rev 13498)
</span><span class="lines">@@ -5,7 +5,9 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php the_post(); ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php _e( 'Tag Archives: ', 'twentyten' ); ?&gt;&lt;span&gt;&lt;?php single_tag_title(); ?&gt;&lt;/span&gt;&lt;/h1&gt;
</del><ins>+                                &lt;h1 class=&quot;page-title&quot;&gt;&lt;?php 
+                                        printf(__( 'Tag Archives: %s', 'twentyten' ), '&lt;span&gt;' . single_tag_title('', false) . '&lt;/span&gt;');
+                                ?&gt;&lt;/h1&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php rewind_posts(); ?&gt;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>