WordPress.org

Make WordPress Core

Ticket #4264: 4264.RTL.diff

File 4264.RTL.diff, 1.0 KB (added by Sewar, 12 years ago)

RTL support

  • wp-admin/css/widgets-rtl.css

     
    1 #sbreset, #lastmodule, #palettediv .module, .dropzone, .dropzone ul { float: right; }
     1#sbreset, #lastmodule, #palettediv .module, .dropzone, .dropzone ul, .placematt { float: right; }
    22
    33* .module, #lastmodule { text-align: right; }
    44
  • wp-admin/widgets.php

     
    1717        <link rel="stylesheet" href="<?php bloginfo( 'wpurl' ); ?>/wp-admin/css/widgets.css?version=<?php bloginfo('version'); ?>" type="text/css" />
    1818        <!--[if IE 7]>
    1919        <style type="text/css">
    20                 #palette { float:left; }
     20                #palette { float: <?php echo ( get_bloginfo( 'text_direction' ) == 'rtl' ) ? 'right' : 'left'; ?>; }
    2121        </style>
    2222        <![endif]-->
    2323        <style type="text/css">