Ticket #6051: max-width-IE6.patch

File max-width-IE6.patch, 6.6 kB (added by azaozz, 9 months ago)
  • wp-admin/admin-footer.php

    old new  
     1</div><!-- wpbody --> 
    12</div><!-- wpcontent --> 
    23</div><!-- wpwrap --> 
    34<div id="footer"> 
  • wp-admin/admin-header.php

    old new  
    66                wp_enqueue_script( 'wp_tiny_mce' ); 
    77} 
    88 
    9 $min_width_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'widgets.php', 'comment.php' ); 
     9$min_width_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'widgets.php', 'comment.php', 'link.php' ); 
    1010$the_current_page = preg_replace('|^.*/wp-admin/|i', '', $_SERVER['PHP_SELF']); 
    1111$ie6_no_scrollbar = true; 
    1212 
     
    7070        require(ABSPATH . 'wp-admin/options-head.php'); 
    7171} 
    7272?> 
     73<div id="wpbody"> 
  • wp-admin/css/ie.css

    old new  
    1010} 
    1111 
    1212* html body.minwidth { 
    13         _width: expression(document.documentElement.clientWidth < 942 ? "940px" : "auto"); 
     13        _width: expression(document.documentElement.clientWidth < 810 ? "808px" : "99.9%"); 
    1414} 
    1515 
    16 * html #poststuff #titlediv
    17         display: inline-block
     16* html #wpbody
     17        _width: expression(document.documentElement.clientWidth > 962 ? "960px" : "99.9%")
    1818} 
    1919 
     20* html #poststuff .postarea, * html #poststuff #titlediv { 
     21        width: 95%; 
     22        margin-left: 2%; 
     23} 
     24 
     25.submitbox { 
     26        margin-top: 10px; 
     27} 
     28 
    2029* html div.widget-liquid-left-holder, * html div.widget-liquid-right { 
    2130        display: block; 
    2231        position: relative; 
    2332} 
    2433 
    25 #wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #editorcantainer
    26 display: block; 
    27 zoom: 100%; 
     34#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #titlediv, #post-body, #editorcontainer, .tablenav, .widget-control-list
     35       display: block; 
     36       zoom: 100%; 
    2837} 
    2938 
    3039* html #editorcontainer { 
    31 padding: 0; 
     40       padding: 0; 
    3241} 
    3342 
    3443* html #editorcontainer #content { 
    35 position: relative; 
    36 overflow: auto; 
    37 padding: 6px; 
    38 margin: auto; 
    39 width: 98%; 
     44       position: relative; 
     45       overflow: auto; 
     46       padding: 6px; 
     47       margin: auto; 
     48       width: 98%; 
    4049} 
    4150 
     51 
    4252form#template div { 
    4353        width: 100%; 
    4454} 
  • wp-admin/edit-form-comment.php

    old new  
    6868<?php do_action('submitcomment_box'); ?> 
    6969</div> 
    7070 
     71<div id="post-body"> 
    7172<div id="namediv" class="stuffbox"> 
    7273<h3><?php _e('Name') ?></h3> 
    7374<div class="inside"> 
     
    103104<input type="hidden" name="noredir" value="1" /> 
    104105</div> 
    105106</div> 
     107</div> 
    106108 
    107109</form> 
  • wp-admin/js/editor.js

    old new  
    7777 
    7878            qt.style.display = 'none'; 
    7979            ec.style.padding = '0px'; 
     80            ta.style.padding = '0px'; 
    8081 
    8182            ta.value = this.wpautop(ta.value); 
    8283 
  • wp-admin/wp-admin.css

    old new  
    342342#excerpt, .attachmentlinks { 
    343343        margin: 0; 
    344344        height: 4em; 
    345         width: 100%; 
     345        width: 98%; 
    346346} 
    347347 
    348348.plugins p { 
     
    13401340} 
    13411341 
    13421342body.minwidth { 
    1343         min-width: 770px; 
     1343        min-width: 808px; 
    13441344} 
    13451345 
    13461346ul.view-switch { 
  • wp-includes/functions.php

    old new  
    14211421 
    14221422        if ( 'rtl' == $wp_locale->text_direction ) { 
    14231423                $input['directionality'] = 'rtl'; 
    1424                 $input['theme_advanced_toolbar_align'] = 'right'; 
    14251424                $input['plugins'] .= ',directionality'; 
    1426                 $input['theme_advanced_buttons2'] .= ',|,ltr,rtl'; 
     1425                $input['theme_advanced_buttons1'] .= ',ltr'; 
    14271426        } 
    14281427 
    14291428        return $input; 
  • wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css

    old new  
    4242padding: 1px 2px;  
    4343margin: 1px;  
    4444background: #e9e8e8 url(img/butt2.png) 2px 1px no-repeat scroll; 
    45 -moz-border-radius: 4px; 
    46 -webkit-border-radius: 4px; 
    47 -khtml-border-radius: 4px; 
    48 border-radius: 4px; 
     45-moz-border-radius: 3px; 
     46-webkit-border-radius: 3px; 
     47-khtml-border-radius: 3px; 
     48border-radius: 3px; 
    4949border: 1px solid #abc0fb; 
    5050} 
    5151.wp_themeSkin a.mceButton span, .wp_themeSkin a.mceButton img {} 
     
    9090} 
    9191.wp_themeSkin .mceListBox { 
    9292margin: 1px; 
     93direction: ltr; 
    9394} 
    9495.wp_themeSkin .mceListBox .mceOpen { 
    9596width:14px; 
     
    129130.wp_themeSkin .mceSplitButton {  
    130131display:block; 
    131132margin: 1px; 
     133direction: ltr; 
    132134} 
    133135.wp_themeSkin table.mceSplitButton td { 
    134136padding: 2px; 
     
    184186background: #d6d8da; 
    185187} 
    186188.wp_themeSkin .mceListBox a.mceText, .wp_themeSkin .mceSplitButton a.mceAction { 
    187 -moz-border-radius-bottomleft: 4px; 
    188 -webkit-border-radius-bottomleft: 4px; 
    189 -khtml-border-radius-bottomleft: 4px; 
    190 border-radius-bottomleft: 4px; 
    191 -moz-border-radius-topleft: 4px; 
    192 -webkit-border-radius-topleft: 4px; 
    193 -khtml-border-radius-topleft: 4px; 
    194 border-radius-topleft: 4px; 
     189-moz-border-radius-bottomleft: 3px; 
     190-webkit-border-bottom-left-radius: 3px; 
     191-khtml-border-bottom-left-radius: 3px; 
     192border-bottom-left-radius: 3px; 
     193-moz-border-radius-topleft: 3px; 
     194-webkit-border-top-left-radius: 3px; 
     195-khtml-border-top-left-radius: 3px; 
     196border-top-left-radius: 3px; 
    195197} 
    196198.wp_themeSkin .mceSplitButton a.mceOpen, .wp_themeSkin .mceListBox a.mceOpen { 
    197 -moz-border-radius-bottomright: 4px; 
    198 -webkit-border-radius-bottomright: 4px; 
    199 -khtml-border-radius-bottomright: 4px; 
    200 border-radius-bottomright: 4px; 
    201 -moz-border-radius-topright: 4px; 
    202 -webkit-border-radius-topright: 4px; 
    203 -khtml-border-radius-topright: 4px; 
    204 border-radius-topright: 4px; 
     199-moz-border-radius-bottomright: 3px; 
     200-webkit-border-bottom-right-radius: 3px; 
     201-khtml-border-bottom-right-radius: 3px; 
     202border-bottom-right-radius: 3px; 
     203-moz-border-radius-topright: 3px; 
     204-webkit-border-top-right-radius: 3px; 
     205-khtml-border-top-right-radius: 3px; 
     206border-top-right-radius: 3px; 
    205207} 
    206208 
    207209/* ColorSplitButton */