Ticket #17748: 17748.2.diff
File 17748.2.diff, 5.5 KB (added by , 14 years ago) |
---|
-
wp-content/themes/twentyeleven/content-page.php
16 16 <div class="entry-content"> 17 17 <?php the_content(); ?> 18 18 <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> 19 </div><!-- .entry-content --> 20 <footer class="entry-meta"> 19 21 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 20 </ div><!-- .entry-content-->22 </footer><!-- .entry-meta --> 21 23 </article><!-- #post-<?php the_ID(); ?> --> -
wp-content/themes/twentyeleven/content-single.php
27 27 <footer class="entry-meta"> 28 28 <?php 29 29 /* translators: used between list items, there is a space after the comma */ 30 $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); 31 32 /* translators: used between list items, there is a space after the comma */ 30 33 $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); 31 34 if ( '' != $tag_list ) { 32 35 $utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); 36 } elseif ( '' != $categories_list ) { 37 $utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); 33 38 } else { 34 $utility_text = __( 'This entry was posted in %1$sby <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );39 $utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' ); 35 40 } 41 36 42 printf( 37 43 $utility_text, 38 /* translators: used between list items, there is a space after the comma */ 39 get_the_category_list( __( ', ', 'twentyeleven' ) ), 44 $categories_list, 40 45 $tag_list, 41 46 esc_url( get_permalink() ), 42 47 the_title_attribute( 'echo=0' ), -
wp-content/themes/twentyeleven/functions.php
500 500 case 'trackback' : 501 501 ?> 502 502 <li class="post pingback"> 503 <p><?php _e( 'Pingback:', 'twentyeleven' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( ' (Edit)', 'twentyeleven' ), '' ); ?></p>503 <p><?php _e( 'Pingback:', 'twentyeleven' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?></p> 504 504 <?php 505 505 break; 506 506 default : … … 528 528 ); 529 529 ?> 530 530 531 <?php edit_comment_link( __( ' [Edit]', 'twentyeleven' ), '' ); ?>531 <?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 532 532 </div><!-- .comment-author .vcard --> 533 533 534 534 <?php if ( $comment->comment_approved == '0' ) : ?> -
wp-content/themes/twentyeleven/rtl.css
446 446 float: left; 447 447 } 448 448 #respond input#submit { 449 left: auto;450 right: 30px;449 left: 0px; 450 right: auto; 451 451 padding: 5px 22px 5px 42px; 452 452 } 453 453 #respond #cancel-comment-reply-link { -
wp-content/themes/twentyeleven/style.css
822 822 .page-link span { 823 823 margin-right: 6px; 824 824 } 825 .entry-meta .edit-link a { 825 .entry-meta .edit-link a, 826 .commentlist .edit-link a { 826 827 background: #eee; 827 828 -moz-border-radius: 3px; 828 829 border-radius: 3px; 829 830 color: #666; 830 831 float: right; 831 832 font-size: 12px; 833 line-height: 1.5em; 832 834 font-weight: 300; 833 835 text-decoration: none; 834 836 padding: 0px 8px; 835 837 } 836 .entry-meta .edit-link a:hover { 838 839 .entry-meta .edit-link a:hover, 840 .commentlist .edit-link a:hover { 837 841 background: #888; 838 color: #fff ;842 color: #fff !important; /* for the Edit link on the Image post format */ 839 843 } 840 844 .entry-content .edit-link { 841 845 clear: both; 842 846 display: block; 843 847 } 848 .commentlist .edit-link a { 849 float: none; 850 } 844 851 845 852 /* Images */ 846 853 .entry-content img, … … 1223 1230 margin-bottom: 0; 1224 1231 } 1225 1232 .indexed.format-image footer.entry-meta { 1226 background: # e0e6e8;1233 background: #ddd; 1227 1234 margin-top: -7px; 1228 1235 padding: 20px 30px; 1229 1236 overflow: hidden; … … 2023 2030 border-radius: 3px; 2024 2031 margin: 0 auto 1.625em; 2025 2032 padding: 1.625em; 2033 padding-bottom: 2.5em; 2026 2034 position: relative; 2027 2035 width: 68.9%; 2028 2036 } … … 2103 2111 color: #eee; 2104 2112 cursor: pointer; 2105 2113 font-size: 15px; 2106 left: 30px;2107 margin: 20px 0;2108 2114 padding: 5px 42px 5px 22px; 2109 position: relative; 2115 position: absolute; 2116 right: 0px; 2117 bottom: 0px; 2110 2118 text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 2111 2119 } 2112 2120 #respond input#submit:active {