<!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>[13024] trunk/wp-content/themes/twentyten: gettext for twentyten.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13024">13024</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2010-02-08 17:59:08 +0000 (Mon, 08 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>gettext for twentyten. see <a href="http://trac.wordpress.org/ticket/12170">#12170</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytencommentsphp">trunk/wp-content/themes/twentyten/comments.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenfooterphp">trunk/wp-content/themes/twentyten/footer.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenindexphp">trunk/wp-content/themes/twentyten/index.php</a></li>
<li><a href="#trunkwpcontentthemestwentytensearchformphp">trunk/wp-content/themes/twentyten/searchform.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentytencommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/comments.php (13023 => 13024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/comments.php        2010-02-08 16:23:32 UTC (rev 13023)
+++ trunk/wp-content/themes/twentyten/comments.php        2010-02-08 17:59:08 UTC (rev 13024)
</span><span class="lines">@@ -20,14 +20,14 @@
</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', 'One Response to', '% Responses to' );?&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( __('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;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php $total_pages = get_comment_pages_count(); if ( $total_pages &gt; 1 ) : // are there comments to navigate through ?&gt;
</span><span class="cx">                         &lt;div class=&quot;navigation&quot;&gt;
</span><span class="cx">                                 &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php previous_comments_link( __('&amp;larr; Older Comments', 'twentyten') ) ?&gt;&lt;/div&gt;
</span><span class="cx">                                 &lt;div class=&quot;nav-next&quot;&gt;&lt;?php next_comments_link( __('Newer Comments &amp;rarr;', 'twentyten') ) ?&gt;&lt;/div&gt;
</span><span class="cx">                         &lt;/div&gt;
</span><del>-&lt;?php endif; // check for comment navigation ?&gt;                                                                
</del><ins>+&lt;?php endif; // check for comment navigation ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;ol class=&quot;commentlist&quot;&gt;
</span><span class="cx">                         &lt;?php wp_list_comments( array('callback' =&gt; 'twentyten_comment') ); ?&gt;
</span><span class="lines">@@ -38,15 +38,15 @@
</span><span class="cx">                                 &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php previous_comments_link( __('&amp;larr; Older Comments', 'twentyten') ) ?&gt;&lt;/div&gt;
</span><span class="cx">                                 &lt;div class=&quot;nav-next&quot;&gt;&lt;?php next_comments_link( __('Newer Comments &amp;rarr;', 'twentyten') ) ?&gt;&lt;/div&gt;
</span><span class="cx">                         &lt;/div&gt;
</span><del>-&lt;?php endif; // check for comment navigation ?&gt;                                                                                        
-                        
</del><ins>+&lt;?php endif; // check for comment navigation ?&gt;
+
</ins><span class="cx"> &lt;?php else : // this is displayed if there are no comments so far ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php if ( comments_open() ) : // If comments are open, but there are no comments ?&gt;                
</del><ins>+&lt;?php if ( comments_open() ) : // If comments are open, but there are no comments ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php else : // if comments are closed ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;p class=&quot;nocomments&quot;&gt;Comments are closed.&lt;/p&gt;
</del><ins>+                &lt;p class=&quot;nocomments&quot;&gt;&lt;?php _e('Comments are closed.', 'twentyten'); ?&gt;&lt;/p&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="lines">@@ -54,61 +54,61 @@
</span><span class="cx"> &lt;?php if ( comments_open() ) : ?&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;respond&quot;&gt;
</span><del>-                        
-                                &lt;h3 id=&quot;reply-title&quot;&gt;&lt;?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?&gt; &lt;small&gt;&lt;?php cancel_comment_reply_link('Cancel reply'); ?&gt;&lt;/small&gt;&lt;/h3&gt;
-                        
</del><ins>+
+                                &lt;h3 id=&quot;reply-title&quot;&gt;&lt;?php comment_form_title( __('Leave a Reply', 'twentyten'), __('Leave a Reply to %s', 'twentyten') ); ?&gt; &lt;small&gt;&lt;?php cancel_comment_reply_link( __('Cancel reply', 'twentyten') ); ?&gt;&lt;/small&gt;&lt;/h3&gt;
+
</ins><span class="cx"> &lt;?php if ( get_option('comment_registration') &amp;&amp; !is_user_logged_in() ) : ?&gt;
</span><del>-                                &lt;p&gt;You must be &lt;a href=&quot;&lt;?php echo wp_login_url( get_permalink() ); ?&gt;&quot;&gt;logged in&lt;/a&gt; to post a comment.&lt;/p&gt;
-                                
-&lt;?php else : // here's the big comment form ?&gt;                        
-                                &lt;form action=&quot;&lt;?php echo get_option('siteurl'); ?&gt;/wp-comments-post.php&quot; method=&quot;post&quot; id=&quot;commentform&quot;&gt;
-                                
</del><ins>+                                &lt;p&gt;&lt;?php printf( __('You must be &lt;a href=&quot;%s&quot;&gt;logged in&lt;/a&gt; to post a comment.', 'twentyten'), wp_login_url( get_permalink() ) ); ?&gt;&lt;/p&gt;
+
+&lt;?php else : // here's the big comment form ?&gt;
+                                &lt;form action=&quot;&lt;?php echo site_url('wp-comments-post.php'); ?&gt;&quot; method=&quot;post&quot; id=&quot;commentform&quot;&gt;
+
</ins><span class="cx">         &lt;?php if ( $user_ID ) : ?&gt;
</span><span class="cx">                                         &lt;p id=&quot;login&quot;&gt;&lt;?php printf(__('&lt;span class=&quot;loggedin&quot;&gt;Logged in as &lt;a href=&quot;%1$s&quot; title=&quot;Logged in as %2$s&quot;&gt;%2$s&lt;/a&gt;.&lt;/span&gt; &lt;span class=&quot;logout&quot;&gt;&lt;a href=&quot;%3$s&quot; title=&quot;Log out of this account&quot;&gt;Log out?&lt;/a&gt;&lt;/span&gt;', 'twentyten'),
</span><del>-                                                get_option('siteurl') . '/wp-admin/profile.php',
</del><ins>+                                                admin_url('profile.php'),
</ins><span class="cx">                                                 wp_specialchars($user_identity, true),
</span><span class="cx">                                                 wp_logout_url(get_permalink()) ) ?&gt;&lt;/p&gt;
</span><del>-                                        
</del><ins>+
</ins><span class="cx">         &lt;?php else : ?&gt;
</span><del>-        
</del><ins>+
</ins><span class="cx">                                         &lt;p id=&quot;comment-notes&quot;&gt;&lt;?php _e('Your email is &lt;em&gt;never&lt;/em&gt; published nor shared.', 'twentyten') ?&gt; &lt;?php if ($req) _e('Required fields are marked &lt;span class=&quot;required&quot;&gt;*&lt;/span&gt;', 'twentyten') ?&gt;&lt;/p&gt;
</span><del>-        
-                                        
</del><ins>+
+
</ins><span class="cx">                                         &lt;div id=&quot;form-section-author&quot; class=&quot;form-section&quot;&gt;
</span><span class="cx">                                                 &lt;div class=&quot;form-label&quot;&gt;&lt;label for=&quot;author&quot;&gt;&lt;?php _e('Name', 'twentyten') ?&gt;&lt;/label&gt; &lt;?php if ($req) _e('&lt;span class=&quot;required&quot;&gt;*&lt;/span&gt;', 'twentyten') ?&gt;&lt;/div&gt;
</span><span class="cx">                                                 &lt;div class=&quot;form-input&quot;&gt;&lt;input id=&quot;author&quot; name=&quot;author&quot; type=&quot;text&quot; value=&quot;&lt;?php echo $comment_author ?&gt;&quot; size=&quot;30&quot; tabindex=&quot;3&quot; /&gt;&lt;/div&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- #form-section-author .form-section --&gt;
</span><del>-                                        
</del><ins>+
</ins><span class="cx">                                         &lt;div id=&quot;form-section-email&quot; class=&quot;form-section&quot;&gt;
</span><span class="cx">                                                 &lt;div class=&quot;form-label&quot;&gt;&lt;label for=&quot;email&quot;&gt;&lt;?php _e('Email', 'twentyten') ?&gt;&lt;/label&gt; &lt;?php if ($req) _e('&lt;span class=&quot;required&quot;&gt;*&lt;/span&gt;', 'twentyten') ?&gt;&lt;/div&gt;
</span><span class="cx">                                                 &lt;div class=&quot;form-input&quot;&gt;&lt;input id=&quot;email&quot; name=&quot;email&quot; type=&quot;text&quot; value=&quot;&lt;?php echo $comment_author_email ?&gt;&quot; size=&quot;30&quot; tabindex=&quot;4&quot; /&gt;&lt;/div&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- #form-section-email .form-section --&gt;
</span><del>-                                        
</del><ins>+
</ins><span class="cx">                                         &lt;div id=&quot;form-section-url&quot; class=&quot;form-section&quot;&gt;
</span><span class="cx">                                                 &lt;div class=&quot;form-label&quot;&gt;&lt;label for=&quot;url&quot;&gt;&lt;?php _e('Website', 'twentyten') ?&gt;&lt;/label&gt;&lt;/div&gt;
</span><span class="cx">                                                 &lt;div class=&quot;form-input&quot;&gt;&lt;input id=&quot;url&quot; name=&quot;url&quot; type=&quot;text&quot; value=&quot;&lt;?php echo $comment_author_url ?&gt;&quot; size=&quot;30&quot; tabindex=&quot;5&quot; /&gt;&lt;/div&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- #form-section-url .form-section --&gt;
</span><del>-                                        
</del><ins>+
</ins><span class="cx">         &lt;?php endif; // if ( $user_ID ) ?&gt;
</span><del>-                                        
</del><ins>+
</ins><span class="cx">                                         &lt;div id=&quot;form-section-comment&quot; class=&quot;form-section&quot;&gt;
</span><span class="cx">                                                 &lt;div class=&quot;form-label&quot;&gt;&lt;label for=&quot;comment&quot;&gt;&lt;?php _e('Comment', 'twentyten') ?&gt;&lt;/label&gt;&lt;/div&gt;
</span><span class="cx">                                                 &lt;div class=&quot;form-textarea&quot;&gt;&lt;textarea id=&quot;comment&quot; name=&quot;comment&quot; cols=&quot;45&quot; rows=&quot;8&quot; tabindex=&quot;6&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- #form-section-comment .form-section --&gt;
</span><del>-                                        
</del><ins>+
</ins><span class="cx">                                         &lt;div id=&quot;form-allowed-tags&quot; class=&quot;form-section&quot;&gt;
</span><span class="cx">                                                 &lt;p&gt;&lt;span&gt;&lt;?php _e('You may use these &lt;abbr title=&quot;HyperText Markup Language&quot;&gt;HTML&lt;/abbr&gt; tags and attributes:', 'twentyten') ?&gt;&lt;/span&gt; &lt;code&gt;&lt;?php echo allowed_tags(); ?&gt;&lt;/code&gt;&lt;/p&gt;
</span><span class="cx">                                         &lt;/div&gt;
</span><del>-                                        
</del><ins>+
</ins><span class="cx">                                         &lt;?php do_action('comment_form', $post-&gt;ID); ?&gt;
</span><del>-                                        
</del><ins>+
</ins><span class="cx">                                         &lt;div class=&quot;form-submit&quot;&gt;&lt;input id=&quot;submit&quot; name=&quot;submit&quot; type=&quot;submit&quot; value=&quot;&lt;?php _e('Post Comment', 'twentyten') ?&gt;&quot; tabindex=&quot;7&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;comment_post_ID&quot; value=&quot;&lt;?php echo $id; ?&gt;&quot; /&gt;&lt;/div&gt;
</span><span class="cx"> 
</span><del>-&lt;?php comment_id_fields(); ?&gt;    
</del><ins>+&lt;?php comment_id_fields(); ?&gt;
</ins><span class="cx"> 
</span><del>-                                
</del><ins>+
</ins><span class="cx">                                 &lt;/form&gt;
</span><del>-                        
</del><ins>+
</ins><span class="cx">         &lt;?php endif; // If registration required and not logged in ?&gt;
</span><span class="cx">                         &lt;/div&gt; &lt;!-- #respond --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenfooterphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/footer.php (13023 => 13024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/footer.php        2010-02-08 16:23:32 UTC (rev 13023)
+++ trunk/wp-content/themes/twentyten/footer.php        2010-02-08 17:59:08 UTC (rev 13024)
</span><span class="lines">@@ -1,23 +1,23 @@
</span><span class="cx">         &lt;/div&gt;&lt;!-- #main --&gt;
</span><del>-        
</del><ins>+
</ins><span class="cx">         &lt;div id=&quot;footer&quot;&gt;
</span><span class="cx">                 &lt;div id=&quot;colophon&quot;&gt;
</span><del>-                
-&lt;?php get_sidebar('footer'); ?&gt;                                
-                
</del><ins>+
+&lt;?php get_sidebar('footer'); ?&gt;
+
</ins><span class="cx">                         &lt;div id=&quot;site-info&quot;&gt;
</span><span class="cx">                                 &lt;a href=&quot;&lt;?php bloginfo( 'url' ) ?&gt;/&quot; title=&quot;&lt;?php bloginfo( 'name' ) ?&gt;&quot; rel=&quot;home&quot;&gt;&lt;?php bloginfo( 'name' ) ?&gt;&lt;/a&gt;
</span><span class="cx">                         &lt;/div&gt;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         &lt;div id=&quot;site-generator&quot;&gt;
</span><del>-                                Proudly powered by &lt;span id=&quot;generator-link&quot;&gt;&lt;a href=&quot;http://wordpress.org/&quot; title=&quot;&lt;?php _e( 'Semantic Personal Publishing Platform', 'twentyten' ) ?&gt;&quot; rel=&quot;generator&quot;&gt;&lt;?php _e( 'WordPress', 'twentyten' ) ?&gt;&lt;/a&gt;.&lt;/span&gt;
</del><ins>+                                &lt;?php printf( __('Proudly powered by &lt;span id=&quot;generator-link&quot;&gt;%s&lt;/span&gt;.', 'twentyten'), '&lt;a href=&quot;http://wordpress.org/&quot; title=&quot;' . __( 'Semantic Personal Publishing Platform', 'twentyten' ) . '&quot; rel=&quot;generator&quot;&gt;' . __( 'WordPress', 'twentyten' ) . '&lt;/a&gt;' ); ?&gt;
</ins><span class="cx">                         &lt;/div&gt;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                 &lt;/div&gt;&lt;!-- #colophon --&gt;
</span><span class="cx">         &lt;/div&gt;&lt;!-- #footer --&gt;
</span><del>-        
-&lt;/div&gt;&lt;!-- #wrapper --&gt;        
</del><span class="cx"> 
</span><ins>+&lt;/div&gt;&lt;!-- #wrapper --&gt;
+
</ins><span class="cx"> &lt;?php wp_footer(); ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/body&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenindexphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/index.php (13023 => 13024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/index.php        2010-02-08 16:23:32 UTC (rev 13023)
+++ trunk/wp-content/themes/twentyten/index.php        2010-02-08 17:59:08 UTC (rev 13024)
</span><span class="lines">@@ -1,16 +1,16 @@
</span><span class="cx"> &lt;?php get_header(); ?&gt;
</span><del>-        
-                &lt;div id=&quot;container&quot;&gt;        
</del><ins>+
+                &lt;div id=&quot;container&quot;&gt;
</ins><span class="cx">                         &lt;div id=&quot;content&quot;&gt;
</span><del>-                        
</del><ins>+
</ins><span class="cx"> &lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
</span><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;                        
-        
-    &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
</del><ins>+&lt;?php } ?&gt;
+
+    &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
</ins><span class="cx">     &lt;?php if ( in_category( 'Gallery' ) ) { ?&gt;
</span><span class="cx">             &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
</span><span class="cx">                         &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( __('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;
</span><span class="lines">@@ -20,14 +20,14 @@
</span><span class="cx">                                 &lt;a href=&quot;&lt;?php
</span><span class="cx"> the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time('Y-m-d\TH:i:sO') ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php the_time( get_option( 'date_format' ) ); ?&gt;&lt;/span&gt;&lt;/a&gt;
</span><span class="cx">                                 &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e('by ', 'twentyten'); ?&gt; &lt;/span&gt;
</span><del>-                                &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( $authordata-&gt;ID, $authordata-&gt;user_nicename ); ?&gt;&quot; title=&quot;&lt;?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata-&gt;display_name ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;                                        
</del><ins>+                                &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( $authordata-&gt;ID, $authordata-&gt;user_nicename ); ?&gt;&quot; title=&quot;&lt;?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata-&gt;display_name ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
</ins><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div class=&quot;entry-content&quot;&gt;
</span><span class="cx">                                 &lt;div class=&quot;gallery-thumb&quot;&gt;&lt;a class=&quot;size-thumbnail&quot; href=&quot;&lt;?php permalink_link() ?&gt;&quot;&gt;&lt;?php $hilite = $wpdb-&gt;get_var( &quot;SELECT ID FROM $wpdb-&gt;posts WHERE post_parent = '$post-&gt;ID' AND post_type = 'attachment' LIMIT 1&quot; ); echo wp_get_attachment_image( $hilite, 'thumbnail' );?&gt;&lt;/a&gt;&lt;/div&gt;
</span><del>-                                                
-                                &lt;p&gt;&lt;em&gt;This gallery contains &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( __('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php echo $wpdb-&gt;get_var( &quot;SELECT COUNT(*) FROM $wpdb-&gt;posts WHERE post_parent = '$post-&gt;ID' AND post_type = 'attachment'&quot; ); ?&gt; photos&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
-                                
</del><ins>+
+                                &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( __('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ) . '&quot; rel=&quot;bookmark&quot;', $wpdb-&gt;get_var( &quot;SELECT COUNT(*) FROM $wpdb-&gt;posts WHERE post_parent = '$post-&gt;ID' AND post_type = 'attachment'&quot; )); ?&gt;&lt;/em&gt;&lt;/p&gt;
+
</ins><span class="cx">                                 &lt;?php the_excerpt(''); ?&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx">                                 ?&gt;
</span><span class="cx">                                 &lt;a href=&quot;&lt;?php echo $category_link; ?&gt;&quot; title=&quot;&lt;?php _e('View posts in the Gallery category', 'twentyten'); ?&gt;&quot;&gt;&lt;?php _e('More Galleries', 'twentyten'); ?&gt;&lt;/a&gt;
</span><span class="cx"> 
</span><del>-                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;                                
</del><ins>+                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
</ins><span class="cx"> 
</span><span class="cx">                                 &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;
</span><span class="cx"> 
</span><span class="lines">@@ -48,8 +48,8 @@
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx">         &lt;?php } elseif ( in_category( 'asides' ) ) { ?&gt;
</span><del>-                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;                                                                                
-                        &lt;div class=&quot;entry-content&quot;&gt;        
</del><ins>+                &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
+                        &lt;div class=&quot;entry-content&quot;&gt;
</ins><span class="cx"> &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;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -59,26 +59,26 @@
</span><span class="cx"> the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time('Y-m-d\TH:i:sO') ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php the_time( get_option( 'date_format' ) ); ?&gt;&lt;/span&gt;&lt;/a&gt;
</span><span class="cx">                                 &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e('by ', 'twentyten'); ?&gt; &lt;/span&gt;
</span><span class="cx">                                 &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( $authordata-&gt;ID, $authordata-&gt;user_nicename ); ?&gt;&quot; title=&quot;&lt;?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata-&gt;display_name ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
</span><del>-                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;                        
</del><ins>+                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
</ins><span class="cx">                                 &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;
</span><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\n&quot; ) ?&gt;
</span><del>-                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;        
</del><ins>+                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
</ins><span class="cx">                 &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
</span><del>-                                
-        
</del><ins>+
+
</ins><span class="cx">     &lt;?php } else { ?&gt;
</span><span class="cx">                 &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
</span><span class="cx">                         &lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( __('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;
</span><del>-                        
</del><ins>+
</ins><span class="cx">                         &lt;div class=&quot;entry-meta&quot;&gt;
</span><span class="cx">                                 &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e('Posted on ', 'twentyten'); ?&gt;&lt;/span&gt;
</span><span class="cx">                                 &lt;a href=&quot;&lt;?php
</span><span class="cx"> the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time('Y-m-d\TH:i:sO') ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php the_time( get_option( 'date_format' ) ); ?&gt;&lt;/span&gt;&lt;/a&gt;
</span><span class="cx">                                 &lt;span class=&quot;meta-sep&quot;&gt; &lt;?php _e('by ', 'twentyten'); ?&gt; &lt;/span&gt;
</span><del>-                                &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( $authordata-&gt;ID, $authordata-&gt;user_nicename ); ?&gt;&quot; title=&quot;&lt;?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata-&gt;display_name ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;                                        
</del><ins>+                                &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot;2 href=&quot;&lt;?php echo get_author_posts_url( $authordata-&gt;ID, $authordata-&gt;user_nicename ); ?&gt;&quot; title=&quot;&lt;?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata-&gt;display_name ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
</ins><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</span><del>-                                                                
-                        &lt;div class=&quot;entry-content&quot;&gt;        
</del><ins>+
+                        &lt;div class=&quot;entry-content&quot;&gt;
</ins><span class="cx"> &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;
</span><span class="cx"> &lt;?php wp_link_pages('before=&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ) . '&amp;after=&lt;/div&gt;') ?&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="lines">@@ -89,11 +89,11 @@
</span><span class="cx">                                 &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __('Tagged ', 'twentyten' ) . '&lt;/span&gt;', &quot;, &quot;, &quot;&lt;/span&gt;\n\t\t\t\t\t\t&lt;span class=\&quot;meta-sep\&quot;&gt;|&lt;/span&gt;\n&quot; ) ?&gt;
</span><span class="cx">                                 &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;
</span><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\n&quot; ) ?&gt;
</span><del>-                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;        
</del><ins>+                        &lt;/div&gt;&lt;!-- #entry-utility --&gt;
</ins><span class="cx">                 &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
</span><del>-                                
-&lt;?php comments_template(); ?&gt;                                
-        
</del><ins>+
+&lt;?php comments_template(); ?&gt;
+
</ins><span class="cx">     &lt;?php } ?&gt;
</span><span class="cx">     &lt;?php endwhile; ?&gt;
</span><span class="cx">     &lt;?php else : ?&gt;
</span><span class="lines">@@ -102,17 +102,17 @@
</span><span class="cx">                         &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;
</span><span class="cx">                 &lt;?php get_search_form(); ?&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><del>-    &lt;?php endif; ?&gt;                
</del><ins>+    &lt;?php endif; ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php global $wp_query; $total_pages = $wp_query-&gt;max_num_pages; if ( $total_pages &gt; 1 ) { ?&gt;
</span><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;                        
-                        
-                        &lt;/div&gt;&lt;!-- #content --&gt;                
</del><ins>+&lt;?php } ?&gt;
+
+                        &lt;/div&gt;&lt;!-- #content --&gt;
</ins><span class="cx">                 &lt;/div&gt;&lt;!-- #container --&gt;
</span><del>-                
-&lt;?php get_sidebar(); ?&gt;        
</del><ins>+
+&lt;?php get_sidebar(); ?&gt;
</ins><span class="cx"> &lt;?php get_footer(); ?&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytensearchformphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/searchform.php (13023 => 13024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/searchform.php        2010-02-08 16:23:32 UTC (rev 13023)
+++ trunk/wp-content/themes/twentyten/searchform.php        2010-02-08 17:59:08 UTC (rev 13024)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx">     &lt;form id=&quot;searchform&quot; name=&quot;searchform&quot; method=&quot;get&quot; action=&quot;/&quot;&gt;
</span><span class="cx">                 &lt;div&gt;
</span><del>-                        &lt;label for=&quot;s&quot;&gt;Search&lt;/label&gt;
</del><ins>+                        &lt;label for=&quot;s&quot;&gt;&lt;?php _e('Search', 'twentyten'); ?&gt;&lt;/label&gt;
</ins><span class="cx">                         &lt;input type=&quot;text&quot; id=&quot;s&quot; name=&quot;s&quot; /&gt;
</span><span class="cx">                         &lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;&lt;?php _e('Search', 'twentyten'); ?&gt;&quot; /&gt;
</span><span class="cx">                 &lt;/div&gt;
</span></span></pre>
</div>
</div>

</body>
</html>