Ticket #6775: 6775.8.diff
File 6775.8.diff, 3.2 KB (added by , 16 years ago) |
---|
-
wp-includes/post-template.php
677 677 $actions = ''; 678 678 679 679 $rows .= "<tr$class>\n"; 680 $rows .= "\t<th style='white-space: nowrap' scope='row'><input type='radio' name='left' value='$revision->ID'$left_checked /><input type='radio' name='right' value='$revision->ID'$right_checked /> \n";680 $rows .= "\t<th style='white-space: nowrap' scope='row'><input type='radio' name='left' value='$revision->ID'$left_checked /><input type='radio' name='right' value='$revision->ID'$right_checked /></th>\n"; 681 681 $rows .= "\t<td>$date</td>\n"; 682 682 $rows .= "\t<td>$name</td>\n"; 683 683 $rows .= "\t<td class='action-links'>$actions</td>\n"; … … 707 707 <col style="width: 33%" /> 708 708 <col style="width: 33%" /> 709 709 <thead> 710 <tr> 710 711 <th scope="col"></th> 711 712 <th scope="col"><?php _e( 'Date Created' ); ?></th> 712 713 <th scope="col"><?php _e( 'Author' ); ?></th> 713 714 <th scope="col" class="action-links"><?php _e( 'Actions' ); ?></th> 715 </tr> 714 716 </thead> 715 717 <tbody> 716 718 … … 719 721 </tbody> 720 722 </table> 721 723 724 </form> 725 722 726 <?php 723 727 else : 724 728 echo "<ul class='post-revisions'>\n"; -
wp-admin/wp-admin.css
927 927 margin-right: 5px 928 928 } 929 929 930 .form-table pre {930 .form-table .pre { 931 931 padding: 8px; 932 932 margin: 0; 933 } 934 935 .pre { 933 936 /* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */ 934 937 white-space: pre-wrap; /* css-3 */ 935 938 white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ -
wp-admin/revision.php
146 146 <th scope="col" class="th-full"> 147 147 <span class="alignleft"><?php printf( __('Older: %s'), wp_post_revision_title( $left_revision ) ); ?></span> 148 148 <span class="alignright"><?php printf( __('Newer: %s'), wp_post_revision_title( $right_revision ) ); ?></span> 149 </t d>149 </th> 150 150 </tr> 151 151 <?php endif; 152 152 … … 167 167 168 168 <tr id="revision-field-<?php echo $field; ?>"> 169 169 <th scope="row"><?php echo wp_specialchars( $field_title ); ?></th> 170 <td>< pre><?php echo $content; ?></pre></td>170 <td><div class="pre"><?php echo $content; ?></div></td> 171 171 </tr> 172 172 173 173 <?php … … 200 200 201 201 wp_list_post_revisions( $post, $args ); 202 202 203 ?> 204 205 </div> 206 207 <?php 208 203 209 require_once( 'admin-footer.php' ); -
wp-admin/css/colors-fresh.css
2 2 border-color: #999; 3 3 } 4 4 5 body, .form-table pre {5 body, .form-table .pre { 6 6 background-color: #fff; 7 7 color: #333; 8 8 } -
wp-admin/css/colors-classic.css
2 2 border-color: #999; 3 3 } 4 4 5 body, .form-table pre {5 body, .form-table .pre { 6 6 background-color: #fff; 7 7 color: #333; 8 8 }