WordPress.org

Make WordPress Core

Ticket #6228: 6228.diff

File 6228.diff, 28.4 KB (added by mdawaffe, 7 years ago)
  • wp-admin/users.php

     
    297297        <div class="tablenav-pages"><?php $wp_user_search->page_links(); ?></div> 
    298298<?php endif; ?> 
    299299 
    300 <div style="float: left"> 
     300<div class="alignleft"> 
    301301<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 
    302302<select name="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option>"<?php wp_dropdown_roles(); ?></select> 
    303303<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" /> 
    304304<?php wp_nonce_field('bulk-users'); ?> 
    305305</div> 
    306306 
    307 <br style="clear:both;" /> 
     307<br class="clear" /> 
    308308</div> 
    309309 
    310 <br style="clear:both;" /> 
     310<br class="clear" /> 
    311311 
    312312        <?php if ( is_wp_error( $wp_user_search->search_errors ) ) : ?> 
    313313                <div class="error"> 
     
    359359        <div class="tablenav-pages"><?php $wp_user_search->page_links(); ?></div> 
    360360<?php endif; ?> 
    361361 
    362 <br style="clear:both;" /> 
     362<br class="clear" /> 
    363363</div> 
    364364 
    365365</form> 
     
    377377        } 
    378378?> 
    379379 
    380 <br style="clear:both;" /> 
     380<br class="clear" /> 
    381381 
    382382<div class="wrap"> 
    383383<h2 id="add-new-user"><?php _e('Add New User') ?></h2> 
  • wp-admin/edit-link-categories.php

     
    5959        <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> 
    6060</p> 
    6161 
    62 <br style="clear:both;" /> 
     62<br class="clear" /> 
    6363 
    6464<div class="tablenav"> 
    6565 
     
    8181        echo "<div class='tablenav-pages'>$page_links</div>"; 
    8282?> 
    8383 
    84 <div style="float: left"> 
     84<div class="alignleft"> 
    8585<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 
    8686<?php wp_nonce_field('bulk-link-categories'); ?> 
    8787</div> 
    8888 
    89 <br style="clear:both;" /> 
     89<br class="clear" /> 
    9090</div> 
    9191 
    92 <br style="clear:both;" /> 
     92<br class="clear" /> 
    9393 
    9494<table class="widefat"> 
    9595        <thead> 
     
    124124</table> 
    125125</form> 
    126126 
    127 <br style="clear:both;" /> 
     127<br class="clear" /> 
    128128 
    129129<div class="tablenav"> 
    130130 
     
    132132if ( $page_links ) 
    133133        echo "<div class='tablenav-pages'>$page_links</div>"; 
    134134?> 
    135 <br style="clear:both;" /> 
     135<br class="clear" /> 
    136136</div> 
    137137 
    138138</div> 
  • wp-admin/edit-comments.php

     
    162162        echo "<div class='tablenav-pages'>$page_links</div>"; 
    163163?> 
    164164 
    165 <div style="float: left"> 
     165<div class="alignleft"> 
    166166<?php if ( 'approved' != $comment_status ): ?> 
    167167<input type="submit" value="<?php _e('Approve'); ?>" name="approveit" class="button-secondary" /> 
    168168<?php endif; ?> 
     
    175175<?php wp_nonce_field('bulk-comments'); ?> 
    176176</div> 
    177177 
    178 <br style="clear:both;" /> 
     178<br class="clear" /> 
     179 
    179180</div> 
    180181 
    181 <br style="clear:both;" /> 
     182<br class="clear" /> 
    182183<?php 
    183184if ($comments) { 
    184185?> 
    185186<table class="widefat"> 
    186187<thead> 
    187188  <tr> 
    188     <th scope="col" style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById('comments-form'));" /></th> 
     189    <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('comments-form'));" /></th> 
    189190    <th scope="col"><?php _e('Comment') ?></th> 
    190191    <th scope="col"><?php _e('Date') ?></th> 
    191192    <th scope="col"><?php _e('Actions') ?></th> 
     
    236237if ( $page_links ) 
    237238        echo "<div class='tablenav-pages'>$page_links</div>"; 
    238239?> 
    239 <br style="clear:both;" /> 
     240<br class="clear" /> 
    240241</div> 
    241242 
    242243</div> 
  • wp-admin/wp-admin.css

     
    151151        list-style: square; 
    152152} 
    153153 
    154 .submit input, .button, .button-secondary { 
     154.submit input, .button, .button-secondary, .button-highlighted { 
    155155        font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 
    156156        padding: 2px 3px; 
    157157        border: none; 
     
    166166        text-decoration: none;   
    167167} 
    168168 
     169.button-highlighted { 
     170        font-weight: bold; 
     171} 
     172 
    169173select { 
    170174        font: 12px/14px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 
    171175        padding: 0; 
  • wp-admin/includes/template.php

     
    5656                <th scope='row' class='check-column'><input type='checkbox' name='delete[]' value='$category->term_id' /></th> 
    5757                <td>$edit</td> 
    5858                <td>$category->description</td> 
    59                 <td style='text-align: center;'>$posts_count</td>\n\t</tr>\n"; 
     59                <td class='num'>$posts_count</td>\n\t</tr>\n"; 
    6060 
    6161        return apply_filters('cat_row', $output); 
    6262} 
     
    8484                '<th scope="row" class="check-column"> <input type="checkbox" name="delete[]" value="' . $category->term_id . '" /></th>' . 
    8585                "<td>$edit</td> 
    8686                <td>$category->description</td> 
    87                 <td style='text-align: center;'>$count</td></tr>"; 
     87                <td class='num'>$count</td></tr>"; 
    8888 
    8989        return apply_filters( 'link_cat_row', $output ); 
    9090} 
     
    276276// define the columns to display, the syntax is 'internal name' => 'display name' 
    277277function wp_manage_posts_columns() { 
    278278        $posts_columns = array(); 
    279         $posts_columns['cb'] = '<div style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" /></div>'; 
     279        $posts_columns['cb'] = '<input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" />'; 
    280280        if ( 'draft' === $_GET['post_status'] ) 
    281281                $posts_columns['modified'] = __('Modified'); 
    282282        elseif ( 'pending' === $_GET['post_status'] ) 
     
    298298// define the columns to display, the syntax is 'internal name' => 'display name' 
    299299function wp_manage_media_columns() { 
    300300        $posts_columns = array(); 
    301         $posts_columns['cb'] = '<div style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" /></div>'; 
     301        $posts_columns['cb'] = '<input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" />'; 
    302302        $posts_columns['icon'] = ''; 
    303303        $posts_columns['media'] = _c('Media|media column header'); 
    304304        $posts_columns['desc'] = _c('Description|media column header'); 
     
    313313 
    314314function wp_manage_pages_columns() { 
    315315        $posts_columns = array(); 
    316         $posts_columns['cb'] = '<div style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" /></div>'; 
     316        $posts_columns['cb'] = '<input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" />'; 
    317317        if ( 'draft' === $_GET['post_status'] ) 
    318318                $posts_columns['modified'] = __('Modified'); 
    319319        elseif ( 'pending' === $_GET['post_status'] ) 
     
    400400 
    401401        case 'comments': 
    402402                ?> 
    403                 <td style="text-align: center"> 
     403                <td class="num"> 
    404404                <?php 
    405405                $left = get_pending_comments_num( $page->ID ); 
    406406                $pending_phrase = sprintf( __('%s pending'), number_format( $left ) ); 
     
    627627?> 
    628628  <tr id="comment-<?php echo $comment->comment_ID; ?>" class='<?php echo $class; ?>'> 
    629629<?php if ( $checkbox ) : ?> 
    630     <td style="text-align: center;"><?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?><input type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /><?php } ?></td> 
     630    <td class="check-column"><?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?><input type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /><?php } ?></td> 
    631631<?php endif; ?> 
    632632    <td class="comment"> 
    633633    <p class="comment-author"><strong><a class="row-title" href="comment.php?action=editcomment&amp;c=<?php echo $comment->comment_ID?>"><?php comment_author(); ?></a></strong><br /> 
     
    769769<th><?php _e( 'Value' ) ?></th> 
    770770</tr> 
    771771        <tr valign="top"> 
    772                 <td style="text-align: right; width: 18%;"> 
     772                <td style="width: 18%;" class="textright"> 
    773773<?php if ( $keys ) : ?> 
    774774<select id="metakeyselect" name="metakeyselect" tabindex="7"> 
    775775<option value="#NONE#"><?php _e( '- Select -' ); ?></option> 
     
    877877function browse_happy() { 
    878878        $getit = __( 'WordPress recommends a better browser' ); 
    879879        echo ' 
    880                 <p id="bh" style="float: right"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p> 
     880                <p id="bh" class="alignright"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p> 
    881881                '; 
    882882} 
    883883 
  • wp-admin/includes/media.php

     
    823823        <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" value="<?php echo attribute_escape(__('Upload')); ?>" /> <a href="#" onClick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 
    824824        </p> 
    825825        <input type="hidden" name="post_id" id="post_id" value="<?php echo $post_id; ?>" /> 
    826         <br style="clear:both" /> 
     826        <br class="clear" /> 
    827827</div> 
    828828<?php 
    829829} 
     
    989989        echo "<div class='tablenav-pages'>$page_links</div>"; 
    990990?> 
    991991 
    992 <div style="float: left"> 
     992<div class="alignleft"> 
    993993<?php 
    994994 
    995995$arc_query = "SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'attachment' ORDER BY post_date DESC"; 
     
    10241024 
    10251025</div> 
    10261026 
    1027 <br style="clear:both;" /> 
     1027<br class="clear" /> 
    10281028</div> 
    10291029</form> 
    10301030 
  • wp-admin/edit-tags.php

     
    122122        <input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" /> 
    123123</p> 
    124124 
    125 <br style="clear:both;" /> 
     125<br class="clear" /> 
    126126 
    127127<div class="tablenav"> 
    128128 
     
    144144        echo "<div class='tablenav-pages'>$page_links</div>"; 
    145145?> 
    146146 
    147 <div style="float: left"> 
     147<div class="alignleft"> 
    148148<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 
    149149<?php wp_nonce_field('bulk-tags'); ?> 
    150150</div> 
    151151 
    152 <br style="clear:both;" /> 
     152<br class="clear" /> 
    153153</div> 
    154154 
    155 <br style="clear:both;" /> 
     155<br class="clear" /> 
    156156 
    157157<table class="widefat"> 
    158158        <thead> 
     
    173173</table> 
    174174</form> 
    175175 
    176 <br style="clear:both;" /> 
     176<br class="clear" /> 
    177177 
    178178<div class="tablenav"> 
    179179 
     
    181181if ( $page_links ) 
    182182        echo "<div class='tablenav-pages'>$page_links</div>"; 
    183183?> 
    184 <br style="clear:both;" /> 
     184<br class="clear" /> 
    185185</div> 
    186186 
    187187</div> 
  • wp-admin/theme-editor.php

     
    9090?> 
    9191<div class="wrap"> 
    9292<div class="bordertitle"> 
    93         <h2 style="border: none; padding-bottom: 0px;"><?php _e('Theme Editor'); ?></h2> 
     93        <h2><?php _e('Theme Editor'); ?></h2> 
    9494        <form id="themeselector" name="theme" action="theme-editor.php" method="post"> 
    9595                <strong><?php _e('Select theme to edit:'); ?> </strong> 
    96                 <select name="theme" id="theme" style="margin: 0; padding: 0;"> 
     96                <select name="theme" id="theme"> 
    9797<?php 
    9898        foreach ($themes as $a_theme) { 
    9999        $theme_name = $a_theme['Name']; 
     
    107107                <input type="submit" name="Submit" value="<?php _e('Select') ?>" class="button" /> 
    108108        </form> 
    109109</div> 
    110 <div class="tablenav" style="margin-right: 210px;"> 
    111 <div style="float: left;"> 
     110<div class="tablenav"> 
     111<div class="alignleft"> 
    112112<big><strong><?php echo sprintf($desc_header, $file_show); ?></big> 
    113113</div> 
    114 <br style="clear: both;" /> 
     114<br class="clear" /> 
    115115</div> 
    116 <br style="clear: both;" /> 
     116<br class="clear" /> 
    117117        <div id="templateside"> 
    118         <h3 id="bordertitle" style="margin-bottom: 10px;"><?php _e("Theme Files"); ?></h3> 
     118        <h3 id="bordertitle"><?php _e("Theme Files"); ?></h3> 
    119119 
    120120<?php 
    121121if ($allowed_files) : 
    122122?> 
    123         <h4 style="margin-bottom: 0px;"><?php _e('Templates'); ?></h4> 
     123        <h4><?php _e('Templates'); ?></h4> 
    124124        <ul> 
    125125<?php foreach($themes[$theme]['Template Files'] as $template_file) : 
    126126                $description = get_file_description($template_file); 
     
    131131                <li><a href="theme-editor.php?file=<?php echo "$template_file"; ?>&amp;theme=<?php echo urlencode($theme) ?>"><?php echo $filedesc ?></a></li> 
    132132<?php endforeach; ?> 
    133133        </ul> 
    134         <h4 style="margin-bottom: 0px;"><?php echo _c('Styles|Theme stylesheets in theme editor'); ?></h4> 
     134        <h4><?php echo _c('Styles|Theme stylesheets in theme editor'); ?></h4> 
    135135        <ul> 
    136136<?php foreach($themes[$theme]['Stylesheet Files'] as $style_file) : 
    137137                $description = get_file_description($style_file); 
  • wp-admin/edit-page-form.php

     
    111111</div> 
    112112 
    113113<p class="submit"> 
    114 <input type="submit" name="save" class="button" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 
     114<input type="submit" name="save" class="button" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> 
    115115<?php 
    116116if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) { 
    117117?> 
  • wp-admin/edit-post-rows.php

     
    105105 
    106106        case 'comments': 
    107107                ?> 
    108                 <td style="text-align: center"> 
     108                <td class="num"> 
    109109                <?php 
    110110                $left = get_pending_comments_num( $post->ID ); 
    111111                $pending_phrase = sprintf( __('%s pending'), number_format( $left ) ); 
  • wp-admin/comment.php

     
    7979<table width="100%"> 
    8080<tr> 
    8181<td><input type='button' class="button" value='<?php _e('No'); ?>' onclick="self.location='<?php echo get_option('siteurl'); ?>/wp-admin/edit-comments.php';" /></td> 
    82 <td style="text-align: right;"><input type='submit' class="button" value='<?php echo $button; ?>' /></td> 
     82<td class="textright"><input type='submit' class="button" value='<?php echo $button; ?>' /></td> 
    8383</tr> 
    8484</table> 
    8585 
  • wp-admin/edit-attachment-rows.php

     
    3333 
    3434        case 'cb': 
    3535                ?> 
    36                 <th scope="row" style="text-align: center"><input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /></th> 
     36                <th scope="row" class="check-column"><input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /></th> 
    3737                <?php 
    3838                break; 
    3939 
     
    9595 
    9696        case 'comments': 
    9797                ?> 
    98                 <td style="text-align: center"> 
     98                <td class="num"> 
    9999                <?php 
    100100                $left = get_pending_comments_num( $post->ID ); 
    101101                $pending_phrase = sprintf( __('%s pending'), number_format( $left ) ); 
  • wp-admin/edit-link-form.php

     
    5252</div> 
    5353 
    5454<p class="submit"> 
    55 <input type="submit" class="button" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 
     55<input type="submit" class="button" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> 
    5656<?php 
    5757if ( ( 'edit' == $action) && current_user_can('manage_links') ) 
    5858        echo "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&amp;link_id=$link_id", 'delete-bookmark_' . $link_id) . "' onclick=\"if ( confirm('" . js_escape( sprintf( __("You are about to delete this link '%s'\n'Cancel' to stop, 'OK' to delete."), $link->link_name )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;link') . "</a>"; 
  • wp-admin/upload.php

     
    136136        echo "<div class='tablenav-pages'>$page_links</div>"; 
    137137?> 
    138138 
    139 <div style="float: left"> 
     139<div class="alignleft"> 
    140140<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 
    141141<?php wp_nonce_field('bulk-media'); ?> 
    142142<?php 
     
    176176 
    177177</div> 
    178178 
    179 <br style="clear:both;" /> 
     179<br class="clear" /> 
    180180</div> 
    181181 
    182 <br style="clear:both;" /> 
     182<br class="clear" /> 
    183183 
    184184<?php include( 'edit-attachment-rows.php' ); ?> 
    185185 
     
    193193if ( $page_links ) 
    194194        echo "<div class='tablenav-pages'>$page_links</div>"; 
    195195?> 
    196 <br style="clear:both;" /> 
     196<br class="clear" /> 
    197197</div> 
    198198 
    199199<?php 
  • wp-admin/edit-form-comment.php

     
    5151</div> 
    5252 
    5353<p class="submit"> 
    54 <input type="submit" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 
     54<input type="submit" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> 
    5555<?php 
    5656echo "<a href='" . wp_nonce_url("comment.php?action=deletecomment&amp;c=$comment->comment_ID", 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n  'Cancel' to stop, 'OK' to delete.")) . "') ) { return true;}return false;\">" . __('Delete comment') . "</a>"; 
    5757?> 
  • wp-admin/edit-form.php

     
    5858        <input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value="<?php _e('Save as Private') ?>" /> 
    5959 
    6060         <?php if ( current_user_can('edit_posts') ) : ?> 
    61         <input name="publish" type="submit" id="publish" tabindex="6" style="font-weight: bold;" value="<?php _e('Publish') ?>" /> 
     61        <input name="publish" type="submit" id="publish" tabindex="6" value="<?php _e('Publish') ?>" class="button button-highlighted" /> 
    6262<?php endif; ?> 
    6363 
    6464<?php if ('bookmarklet' != $mode) { 
  • wp-admin/edit-form-advanced.php

     
    133133</div> 
    134134 
    135135<p class="submit"> 
    136 <input type="submit" name="save" id="save-post" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" class="button" /> 
     136<input type="submit" name="save" id="save-post" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> 
    137137<?php 
    138138if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) { 
    139139?> 
  • wp-admin/link-import.php

     
    2929<div style="width: 70%; margin: auto; height: 8em;"> 
    3030<input type="hidden" name="step" value="1" /> 
    3131<input type="hidden" name="MAX_FILE_SIZE" value="30000" /> 
    32 <div style="width: 48%; float: left;"> 
     32<div style="width: 48%;" class="alignleft"> 
    3333<h3><?php _e('Specify an OPML URL:'); ?></h3> 
    3434<input type="text" name="opml_url" size="50" style="width: 90%;" value="http://" /> 
    3535</div> 
    3636 
    37 <div style="width: 48%; float: left;"> 
     37<div style="width: 48%;" class="alignleft"> 
    3838<h3><?php _e('Or choose from your local disk:'); ?></h3> 
    3939<input id="userfile" name="userfile" type="file" size="30" /> 
    4040</div> 
  • wp-admin/plugins.php

     
    8383?> 
    8484 
    8585<div class="tablenav"> 
    86         <div style="float: left"> 
     86        <div class="alignleft"> 
    8787        <?php 
    8888        $active = get_option('active_plugins'); 
    8989        $inactive = get_option('deactivated_plugins'); 
     
    9898        } // endif active/inactive plugin check 
    9999        ?> 
    100100        </div> 
    101         <br style="clear:both;"> 
     101        <br class="clear" /> 
    102102</div> 
    103103 
    104 <br style="clear:both;"> 
     104<br class="clear" /> 
    105105 
    106106<table class="widefat"> 
    107107        <thead> 
    108108        <tr> 
    109109                <th><?php _e('Plugin'); ?></th> 
    110                 <th style="text-align: center"><?php _e('Version'); ?></th> 
     110                <th class="num"><?php _e('Version'); ?></th> 
    111111                <th><?php _e('Description'); ?></th> 
    112112                <th <?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th> 
    113113        </tr> 
  • wp-admin/edit.php

     
    134134        echo "<div class='tablenav-pages'>$page_links</div>"; 
    135135?> 
    136136 
    137 <div style="float: left"> 
     137<div class="alignleft"> 
    138138<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 
    139139<?php wp_nonce_field('bulk-posts'); ?> 
    140140<?php 
     
    174174<?php } ?> 
    175175</div> 
    176176 
    177 <br style="clear:both;" /> 
     177<br class="clear" /> 
    178178</div> 
    179179 
    180 <br style="clear:both;" /> 
     180<br class="clear" /> 
    181181 
    182182<?php include( 'edit-post-rows.php' ); ?> 
    183183 
  • wp-admin/user-edit.php

     
    322322?> 
    323323 
    324324<?php if (count($profileuser->caps) > count($profileuser->roles)): ?> 
    325 <br style="clear: both;" /> 
     325<br class="clear" /> 
    326326        <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform"> 
    327327                <tr> 
    328328                        <th scope="row"><?php _e('Additional Capabilities:') ?></th> 
  • wp-admin/css/global.css

     
    2727} 
    2828 
    2929.alignleft { float: left; } 
    30  
    3130.alignright { float: right; } 
    3231 
     32.textleft { text-align: left; } 
     33.textright { text-align: right; } 
    3334 
    3435.clear { clear: both; height: 2px; } 
    3536 
     
    8283        width: 3%; 
    8384} 
    8485 
     86.widefat .num { 
     87        text-align: center; 
     88} 
     89 
    8590.wrap, .updated, .error { 
    8691        margin: 0; 
    8792        margin-left: 15px; 
  • wp-admin/css/theme-editor.css

     
    1818        margin: 0; 
    1919} 
    2020 
     21h3#bordertitle { 
     22        margin-bottom: 10px; 
     23} 
     24 
     25#templateside h4 { 
     26        margin-bottom: 0px; 
     27} 
     28 
    2129#templateside ol, #templateside ul { 
    2230        list-style: none; 
    2331        margin: .5em; 
     
    3543        bottom: 25px; 
    3644} 
    3745 
     46#themeselector select { 
     47        margin: 0; 
     48        padding: 0; 
     49} 
     50 
    3851.nonessential { 
    3952        font-size: small; 
    4053} 
    4154 
    4255.highlight { 
    4356        padding: 1px; 
    44 } 
    45  No newline at end of file 
     57} 
     58 
     59div.bordertitle h2 { 
     60        border: none; 
     61        padding-bottom: 0px; 
     62} 
     63 
     64div.tablenav { 
     65        margin-right: 210px; 
     66} 
  • wp-admin/link-manager.php

     
    8484        <input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" /> 
    8585</p> 
    8686 
    87 <br style="clear:both;" /> 
     87<br class="clear" /> 
    8888 
    8989<div class="tablenav"> 
    9090 
    91 <div style="float: left"> 
     91<div class="alignleft"> 
    9292<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 
    9393<?php 
    9494$categories = get_terms('link_category', "hide_empty=1"); 
     
    113113 
    114114</div> 
    115115 
    116 <br style="clear:both;" /> 
     116<br class="clear" /> 
    117117</div> 
    118118 
    119 <br style="clear:both;" /> 
     119<br class="clear" /> 
    120120 
    121121<?php 
    122122$link_columns = array( 
     
    220220<div id="ajax-response"></div> 
    221221 
    222222<div class="tablenav"> 
    223 <br style="clear:both;" /> 
     223<br class="clear" /> 
    224224</div> 
    225225 
    226226 
  • wp-admin/sidebar.php

     
    7373<p> 
    7474        <input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="Save as Draft" /> 
    7575<?php if ( current_user_can('publish_posts') ) : ?> 
    76         <input name="publish" type="submit" id="publish" tabindex="6" style="font-weight: bold;" value="Publish" /> 
     76        <input name="publish" type="submit" id="publish" tabindex="6" value="Publish" class="button button-highlighted" /> 
    7777<?php endif; ?> 
    7878</p> 
    7979</div> 
  • wp-admin/options-writing.php

     
    1515<table class="form-table"> 
    1616<tr valign="top"> 
    1717<th scope="row"> <?php _e('Size of the post box') ?></th> 
    18 <td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" size="2" style="width: 1.5em; " /> 
     18<td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" size="2" style="width: 1.5em;" /> 
    1919<?php _e('lines') ?></td> 
    2020</tr> 
    2121<tr valign="top"> 
  • wp-admin/edit-pages.php

     
    117117 
    118118<div class="tablenav"> 
    119119 
    120 <div style="float: left"> 
     120<div class="alignleft"> 
    121121<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 
    122122<?php wp_nonce_field('bulk-pages'); ?> 
    123123</div> 
    124124 
    125 <br style="clear:both;" /> 
     125<br class="clear" /> 
    126126</div> 
    127127 
    128 <br style="clear:both;" /> 
     128<br class="clear" /> 
    129129 
    130130<?php 
    131131 
     
    161161?> 
    162162 
    163163<div class="tablenav"> 
    164 <br style="clear:both;" /> 
     164<br class="clear" /> 
    165165</div> 
    166166 
    167167<?php 
  • wp-admin/plugin-editor.php

     
    9999<?php endif; ?> 
    100100 <div class="wrap"> 
    101101<div class="bordertitle"> 
    102         <h2 style="border: none; padding-bottom: 0px;"><?php _e('Plugin Editor'); ?></h2> 
     102        <h2><?php _e('Plugin Editor'); ?></h2> 
    103103</div> 
    104 <div class="tablenav" style="margin-right: 210px;"> 
    105 <div style="float: left;"> 
     104<div class="tablenav"> 
     105<div class="alignleft"> 
    106106<big><strong><?php 
    107107        if ( in_array($file, (array) get_option('active_plugins')) ) { 
    108108                if (is_writeable($real_file)) { 
     
    119119        } 
    120120        ?></strong></big> 
    121121</div> 
    122 <br style="clear: both;" /> 
     122<br class="clear" /> 
    123123</div> 
    124 <br style="clear: both;" /> 
     124<br class="clear" /> 
    125125        <div id="templateside"> 
    126         <h3 id="bordertitle" style="margin-bottom: 10px;"><?php _e("Plugin Files"); ?></h3> 
     126        <h3 id="bordertitle"><?php _e("Plugin Files"); ?></h3> 
    127127 
    128         <h4 style="margin-bottom: 0px;"><?php _e('Plugins'); ?></h4> 
     128        <h4><?php _e('Plugins'); ?></h4> 
    129129        <ul> 
    130130<?php foreach($plugin_files as $plugin_file) : ?> 
    131131                <li><a href="plugin-editor.php?file=<?php echo "$plugin_file"; ?>"><?php echo $plugins[$plugin_file]['Name']; ?></a></li> 
  • wp-admin/categories.php

     
    130130        <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> 
    131131</p> 
    132132 
    133 <br style="clear:both;" /> 
     133<br class="clear" /> 
    134134 
    135135<div class="tablenav"> 
    136136 
    137 <div style="float: left"> 
     137<div class="alignleft"> 
    138138<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" /> 
    139139<?php wp_nonce_field('bulk-categories'); ?> 
    140140</div> 
    141141 
    142 <br style="clear:both;" /> 
     142<br class="clear" /> 
    143143</div> 
    144144 
    145 <br style="clear:both;" /> 
     145<br class="clear" /> 
    146146 
    147147<table class="widefat"> 
    148148        <thead> 
    149149        <tr> 
    150                 <th scope="col" class="check-column"><div style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></div></th> 
     150                <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th> 
    151151        <th scope="col"><?php _e('Name') ?></th> 
    152152        <th scope="col"><?php _e('Description') ?></th> 
    153         <th scope="col" style="text-align: center"><?php _e('Posts') ?></th> 
     153        <th scope="col" class="num"><?php _e('Posts') ?></th> 
    154154        </tr> 
    155155        </thead> 
    156156        <tbody id="the-list" class="list:cat"> 
     
    161161</table> 
    162162</form> 
    163163 
    164 <br style="clear:both;" /> 
     164<br class="clear" /> 
    165165 
    166166<div class="tablenav"> 
    167 <br style="clear:both;" /> 
     167<br class="clear" /> 
    168168</div> 
    169169 
    170170</div>