Changeset 8012
- Timestamp:
- 05/29/2008 11:16:11 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-classic.css
r7993 r8012 3 3 } 4 4 5 body, .form-table pre {5 body, .form-table .pre { 6 6 background-color: #fff; 7 7 color: #333; -
trunk/wp-admin/css/colors-fresh.css
r7993 r8012 3 3 } 4 4 5 body, .form-table pre {5 body, .form-table .pre { 6 6 background-color: #fff; 7 7 color: #333; -
trunk/wp-admin/revision.php
r8011 r8012 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; … … 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 … … 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' ); -
trunk/wp-admin/wp-admin.css
r7961 r8012 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 */ -
trunk/wp-includes/post-template.php
r8011 r8012 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"; … … 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> … … 719 721 </tbody> 720 722 </table> 723 724 </form> 721 725 722 726 <?php
Note: See TracChangeset
for help on using the changeset viewer.