Make WordPress Core

Ticket #3136: RTL.r4247.diff

File RTL.r4247.diff, 20.7 KB (added by Sewar, 19 years ago)
  • wp-admin/admin-functions.php

     
    750750        $category->category_count = number_format( $category->category_count );
    751751        $category->link_count = number_format( $category->link_count );
    752752        return "<tr id='cat-$category->cat_ID'$class>
    753                 <th scope='row'>$category->cat_ID</th>
     753                <th scope='row' style='text-align: center'>$category->cat_ID</th>
    754754                <td>" . ( $name_override ? $name_override : $pad . ' ' . $category->cat_name ) . "</td>
    755755                <td>$category->category_description</td>
    756756                <td align='center'>$category->category_count</td>
     
    778778                $class = ('alternate' == $class) ? '' : 'alternate';
    779779?>
    780780  <tr id='page-<?php echo $id; ?>' class='<?php echo $class; ?>'>
    781     <th scope="row"><?php echo $post->ID; ?></th>
     781    <th scope="row" style="text-align: center"><?php echo $post->ID; ?></th>
    782782    <td>
    783783      <?php echo $pad; ?><?php the_title() ?>
    784784      <?php if ('private' == $post->post_status) _e(' - <strong>Private</strong>'); ?>
  • wp-admin/categories.php

     
    8989<table class="widefat">
    9090        <thead>
    9191        <tr>
    92                 <th scope="col"><?php _e('ID') ?></th>
    93         <th scope="col" style="text-align: left"><?php _e('Name') ?></th>
    94         <th scope="col" style="text-align: left"><?php _e('Description') ?></th>
    95         <th scope="col" width="90"><?php _e('Posts') ?></th>
    96         <th scope="col" width="90"><?php _e('Bookmarks') ?></th>
    97         <th colspan="2"><?php _e('Action') ?></th>
     92                <th scope="col" style="text-align: center"><?php _e('ID') ?></th>
     93        <th scope="col"><?php _e('Name') ?></th>
     94        <th scope="col"><?php _e('Description') ?></th>
     95        <th scope="col" width="90" style="text-align: center"><?php _e('Posts') ?></th>
     96        <th scope="col" width="90" style="text-align: center"><?php _e('Bookmarks') ?></th>
     97        <th colspan="2" style="text-align: center"><?php _e('Action') ?></th>
    9898        </tr>
    9999        </thead>
    100100        <tbody id="the-list">
  • wp-admin/edit-comments.php

     
    155155                echo '<table class="widefat">
    156156<thead>
    157157  <tr>
    158     <th scope="col"><input type="checkbox" onclick="checkAll(document.getElementById(\'deletecomments\'));" /></th>
    159     <th scope="col" style="text-align: left">' .  __('Name') . '</th>
    160     <th scope="col" style="text-align: left">' .  __('E-mail') . '</th>
    161     <th scope="col" style="text-align: left">' . __('IP') . '</th>
    162     <th scope="col" style="text-align: left">' . __('Comment Excerpt') . '</th>
    163         <th scope="col" colspan="3">' .  __('Actions') . '</th>
     158    <th scope="col" style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById(\'deletecomments\'));" /></th>
     159    <th scope="col">' .  __('Name') . '</th>
     160    <th scope="col">' .  __('E-mail') . '</th>
     161    <th scope="col">' . __('IP') . '</th>
     162    <th scope="col">' . __('Comment Excerpt') . '</th>
     163        <th scope="col" colspan="3" style="text-align: center">' .  __('Actions') . '</th>
    164164  </tr>
    165165</thead>';
    166166                foreach ($comments as $comment) {
  • wp-admin/edit-pages.php

     
    3131<table class="widefat">
    3232  <thead>
    3333  <tr>
    34     <th scope="col"><?php _e('ID') ?></th>
    35     <th scope="col" style="text-align: left"><?php _e('Title') ?></th>
    36     <th scope="col" style="text-align: left"><?php _e('Owner') ?></th>
    37         <th scope="col" style="text-align: left"><?php _e('Updated') ?></th>
    38         <th scope="col" colspan="3"><?php _e('Action'); ?></th>
     34    <th scope="col" style="text-align: center"><?php _e('ID') ?></th>
     35    <th scope="col"><?php _e('Title') ?></th>
     36    <th scope="col"><?php _e('Owner') ?></th>
     37        <th scope="col"><?php _e('Updated') ?></th>
     38        <th scope="col" colspan="3" style="text-align: center"><?php _e('Action'); ?></th>
    3939  </tr>
    4040  </thead>
    4141  <tbody id="the-list">
  • wp-admin/edit.php

     
    7373?>
    7474</h2>
    7575
    76 <form name="searchform" action="" method="get" style="float: left; width: 16em; margin-right: 3em;">
     76<form name="searchform" id="searchform" action="" method="get">
    7777  <fieldset>
    7878  <legend><?php _e('Search Posts&hellip;') ?></legend>
    7979  <input type="text" name="s" value="<?php if (isset($s)) echo wp_specialchars($s, 1); ?>" size="17" />
     
    8585
    8686if ( count($arc_result) ) { ?>
    8787
    88 <form name="viewarc" action="" method="get" style="float: left; width: 20em; margin-bottom: 1em;">
     88<form name="viewarc" id="viewarc" action="" method="get">
    8989        <fieldset>
    9090        <legend><?php _e('Browse Month&hellip;') ?></legend>
    9191    <select name='m'>
     
    112112
    113113<?php } ?>
    114114
    115 <form name="viewcat" action="" method="get" style="float: left; width: 30em; margin-bottom: 1em;">
     115<form name="viewcat" id="viewcat" action="" method="get">
    116116        <fieldset>
    117117        <legend><?php _e('Browse Category&hellip;') ?></legend>
    118118        <?php wp_dropdown_categories('show_option_all='.__('All').'&hide_empty=0&hierarchical=1&show_count=1&selected='.$cat);?>
     
    169169
    170170        case 'id':
    171171                ?>
    172                 <th scope="row"><?php echo $id ?></th>
     172                <th scope="row" style="text-align: center"><?php echo $id ?></th>
    173173                <?php
    174174                break;
    175175
  • wp-admin/link-manager.php

     
    104104<table class="widefat">
    105105        <thead>
    106106        <tr>
    107                 <th width="15%" style="text-align: left"><?php _e('Name') ?></th>
    108                 <th style="text-align: left"><?php _e('URL') ?></th>
    109                 <th style="text-align: left"><?php _e('Categories') ?></th>
    110                 <th><?php _e('rel') ?></th>
    111                 <th><?php _e('Visible') ?></th>
    112                 <th colspan="2"><?php _e('Action') ?></th>
    113                 <th><input type="checkbox" onclick="checkAll(document.getElementById('links'));" /></th>
     107                <th width="15%"><?php _e('Name') ?></th>
     108                <th><?php _e('URL') ?></th>
     109                <th><?php _e('Categories') ?></th>
     110                <th style="text-align: center"><?php _e('rel') ?></th>
     111                <th style="text-align: center"><?php _e('Visible') ?></th>
     112                <th colspan="2" style="text-align: center"><?php _e('Action') ?></th>
     113                <th style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById('links'));" /></th>
    114114        </tr>
    115115        </thead>
    116116        <tbody id="the-list">
  • wp-admin/moderation.php

     
    2020
    2121        check_admin_referer('moderate-comments');
    2222
    23         if ( ! current_user_can('moderate_comments') )
    24         wp_die('<p>'.__('Your level is not high enough to moderate comments.').'</p>');
     23        if ( !current_user_can('moderate_comments') )
     24                wp_die(__('Your level is not high enough to moderate comments.'));
    2525
    2626        $item_ignored = 0;
    2727        $item_deleted = 0;
  • wp-admin/plugins.php

     
    8181<table class="widefat">
    8282        <thead>
    8383        <tr>
    84                 <th style="text-align: left"><?php _e('Plugin'); ?></th>
    85                 <th><?php _e('Version'); ?></th>
    86                 <th style="text-align: left"><?php _e('Description'); ?></th>
    87                 <th><?php _e('Action'); ?></th>
     84                <th><?php _e('Plugin'); ?></th>
     85                <th style="text-align: center"><?php _e('Version'); ?></th>
     86                <th><?php _e('Description'); ?></th>
     87                <th style="text-align: center"><?php _e('Action'); ?></th>
    8888        </tr>
    8989        </thead>
    9090<?php
  • wp-admin/rtl.css

     
    1 body    {
    2         direction: rtl;
    3 }
    4 
    5 body, td {
    6         font: 13px Tahoma, "Lucida Grande", "Lucida Sans Unicode", Verdana;
    7 }
    8 
    9 h2 small.quickjump {
    10         text-align: left;
    11 }
    12 
    13 h2 small.quickjump a {
    14         font-size: 12px;
    15         font-family: Tahoma, sans-serif;
    16 }
    17 
    18 textarea, input, select {
    19         font:  12px Tahoma, Arial, Helvetica, sans-serif;
    20 }
    21 
    22 #adminmenu {
    23         float: right;
    24         width: 100%;
    25 }
    26 
    27 #adminmenu a {
    28         font-size: 16px;
    29         font-weight: bold;
    30         font-family: georgia;
    31         margin: 0px 2px;
    32         padding: 1px 5px;
    33         float: right;
    34 }
    35 
    36 #submenu {
    37         clear: both;
    38         float: right;
    39         width: 100%;
    40 }
    41 
    42 #submenu a {
    43         padding: .1em .33em;
    44         float: right;
    45         margin: 0px 2px;
    46 }
    47 
    48 #title {
    49         font-family: georgia;
    50 }
    51 
    52 #login h1 {
    53         direction: ltr;
    54 }
    55 
    56 #postcustom .updatemeta, #postcustom .deletemeta {
    57         width: 5em;
    58 }
    59 
    60 #template div {
    61         direction: ltr;
    62 }
    63 
    64 #user_info {
    65         left: 1em;
    66         top: 0;
    67         right: auto;
    68 }
    69 
    70 #wphead {
    71         padding: .8em 2em .8em 19em;
    72 }
    73 
    74 #moremeta fieldset div {
    75         padding: 0 7px 0 0;
    76 }
    77 
    78 #moremeta .dbx-content {
    79         background: url(images/box-butt.gif) no-repeat bottom left;
    80         padding: 5px 10px 15px 5px;
    81 }
    82 
    83 #moremeta .dbx-handle {
    84         background: url(images/box-head.gif) no-repeat right;
    85 }
    86        
    87 /* toggle images */
    88 a.dbx-toggle, a.dbx-toggle:visited {
     1#viewarc, #viewcat, #namediv, #emaildiv, #uridiv, #planetnews li, #login ul li, #your-profile fieldset, .alignleft .available-theme {
     2        float: right
     3}
     4
     5#templateside, .alignright {
     6        float: left;
     7}
     8
     9#login, #send, .widefat th {
     10        text-align: right
     11}
     12
     13#postcustomsubmit, h2 small.quickjump, form#upload th, .submit, .editform th {
     14        text-align: left
     15}
     16
     17body, td {
     18        font: 13px Tahoma, "Lucida Grande", "Lucida Sans Unicode", Verdana;
     19}
     20
     21fieldset.options legend {
     22        font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
     23}
     24
     25textarea, input, select {
     26        font:  13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
     27}
     28
     29.quicktags, .search {
     30        font: 12px Tahoma, Georgia, "Times New Roman", Times, serif;
     31}
     32
     33.submit input, .submit input:focus, .button {
     34        border-right-color: #ccc;
     35}
     36
     37.submit input:active, .button:active {
     38        border-right-color: #999;
     39}
     40
     41.updated, .confirm {
     42        padding: 0 3em 0 1em;
     43}
     44
     45#adminmenu {
     46        padding: .2em 2em .3em .2em;
     47        height: 30px;
     48}
     49
     50#adminmenu a {
     51        margin: 0 0 0 10px;
     52        display: block;
     53        float: right;
     54}
     55
     56#submenu {
     57        height: 21px;
     58        padding: 3px 3em 0 2em;
     59}
     60
     61#submenu .current {
     62        border-left: 2px solid #045290;
     63}
     64
     65#submenu a {
     66        padding: .3em .4em .33em .4em;
     67        margin: 0 0 0 10px;
     68        display: block;
     69        float: right;
     70}
     71
     72#submenu li {
     73        line-height: 100%;
     74}
     75
     76#postdiv , #titlediv, #guiddiv {
     77        margin: 0 0 0 8px;
     78}
     79
     80#currenttheme img {
     81        float: right;
     82        margin-right: auto;
     83        margin-left: 1em;
     84}
     85
     86#postdiv #quicktags {
     87        padding-right: auto;
     88        padding-left: 6px;
     89}
     90
     91#quicktags #ed_toolbar {
     92        padding: 0px 0 0 2px;
     93}
     94
     95#ed_toolbar input {
     96        margin: 3px 0 2px 2px;
     97}
     98
     99* html #postexcerpt .dbx-toggle-open, * html #postexcerpt .dbx-toggle-open, #postexcerpt div, #attachmentlinks div {
     100        padding-right: auto;
     101        padding-left: 8px;
     102}
     103
     104#login h1 {
     105        left: auto;
     106        right: 137px;
     107}
     108
     109#login h1 a {
     110        display: none;
     111}
     112
     113#searchform {
     114        float: right;
     115        margin-right: auto;
     116        margin-left: 3em;
     117}
     118
     119#poststuff {
     120        margin-right: auto;
     121        margin-left: 16em;
     122}
     123
     124#template div {
     125        margin-right: auto;
     126        margin-left: 190px;
     127}
     128
     129* html #template div {
     130        margin-right: auto;
     131        margin-left: 0px;
     132}
     133
     134#user_info {
     135        right: auto;
     136        left: 1em;
     137}
     138
     139#wphead {
     140        padding: .8em 2em .8em 19em;
     141}
     142
     143#wphead h1 {
     144        font-size: 2.4em;
     145        font-family: Tahoma, Georgia, "Times New Roman", Times, serif
     146}
     147
     148#zeitgeist {
     149        float: left;
     150        margin-left: auto;
     151        margin-right: 1em;
     152}
     153
     154#zeitgeist ul {
     155        margin: 0 .6em .3em 0;
     156        padding: 0 .6em 0 0;
     157}
     158
     159#moremeta fieldset div {
     160        margin: 2px 0px 0 0;
     161}
     162#moremeta {
     163        margin-right: auto;
     164        margin-left: 15px;
     165        right: auto;
     166        left: 5%;
     167}
     168#categorydiv ul {
     169        margin-left: auto;
     170        margin-right: 10px;
     171}
     172
     173#your-profile legend {
     174        font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
     175}
     176
     177#moremeta .dbx-content {
     178        background: url(images/box-butt.gif) no-repeat bottom left;
     179        padding-right: auto;
     180        padding-left: 2px;
     181}
     182
     183#moremeta .dbx-handle {
     184        background: #2685af url(images/box-head.gif) no-repeat left;
     185}
     186
     187#moremeta .dbx-box {
     188        background: url(images/box-bg.gif) repeat-y left;
     189}
     190
     191a.dbx-toggle, a.dbx-toggle:visited {
     192        right: auto;
     193        left: 2px;
     194}
     195
     196#advancedstuff a.dbx-toggle, #advancedstuff a.dbx-toggle-open:visited {
     197        right: auto;
    89198        left: 5px;
    90         right: auto;
    91 }
    92 
    93 #advancedstuff a.dbx-toggle-open, #advancedstuff a.dbx-toggle-open:visited {
    94 
    95         }
    96 
    97 /* Ali ix Corrections and Additions ;) */
    98 
    99 td.desc, td.name, textarea#ping_sites, textarea#moderation_keys, textarea#blacklist_keys, input#home, input#admin_email, input#siteurl, input#mailserver_url, input#mailserver_port, input#mailserver_login, input#mailserver_pass, input#blog_charset, input#permalink_structure, input#post_name, input#trackback {
    100         direction: ltr;
    101         text-align: left;
    102 }
    103 .mceToolbarTop {
    104         direction: ltr;
    105 }
    106 
    107 div#zeitgeist ul, div.wrap ul {
    108         list-style: none;
    109         }
    110        
    111 table.widefat th, tr.thead {
    112         text-align: right;
    113 }
    114  No newline at end of file
     199}
     200
     201#advancedstuff a.dbx-toggle-open, #advancedstuff a.dbx-toggle-open:visited {
     202        right: auto;
     203        left: 5px;
     204}
     205
     206#categorychecklist {
     207        margin-right: auto;
     208        margin-left: 6px;
     209}
     210
     211#ajax-response.alignleft {
     212        margin-left: auto;
     213        margin-right: 2em;
     214}
     215
     216#postdivrich #edButtons {
     217        padding-left: auto;
     218        padding-right: 3px;
     219}
     220
     221#edButtons input, #edButtons input:active {
     222        margin: 0px 0 -1px 2px;
     223}
  • wp-admin/users.php

     
    378378
    379379<tr>
    380380<?php if ( !empty($role) ) : ?>
    381         <th colspan="7" align="left"><h3><?php echo $wp_roles->role_names[$role]; ?></h3></th>
     381        <th colspan="7"><h3><?php echo $wp_roles->role_names[$role]; ?></h3></th>
    382382<?php else : ?>
    383         <th colspan="7" align="left"><h3><em><?php _e('No role for this blog'); ?></h3></th>
     383        <th colspan="7"><h3><em><?php _e('No role for this blog'); ?></h3></th>
    384384<?php endif; ?>
    385385</tr>
    386386<tr class="thead">
    387         <th style="text-align: left"><?php _e('ID') ?></th>
    388         <th style="text-align: left"><?php _e('Username') ?></th>
    389         <th style="text-align: left"><?php _e('Name') ?></th>
    390         <th style="text-align: left"><?php _e('E-mail') ?></th>
    391         <th style="text-align: left"><?php _e('Website') ?></th>
    392         <th colspan="2"><?php _e('Actions') ?></th>
     387        <th><?php _e('ID') ?></th>
     388        <th><?php _e('Username') ?></th>
     389        <th><?php _e('Name') ?></th>
     390        <th><?php _e('E-mail') ?></th>
     391        <th><?php _e('Website') ?></th>
     392        <th colspan="2" style="text-align: center"><?php _e('Actions') ?></th>
    393393</tr>
    394394</thead>
    395395<tbody id="role-<?php echo $role; ?>"><?php
  • wp-admin/wp-admin.css

     
    4848        padding: 5px 6px;
    4949}
    5050
     51.widefat th {
     52        text-align: left;
     53}
     54
    5155.import-system {
    5256        font-size: 16px;
    5357}
     
    366370}
    367371
    368372.updated, .confirm {
    369         background: #CFEBF7 url(images/notice.gif) no-repeat 1em ;
     373        background: #CFEBF7 url(images/notice.gif) no-repeat 1em;
    370374        border: 1px solid #2580B2;
    371375        margin: 1em 5% 10px;
    372376        padding: 0 1em 0 3em;
     
    514518        border: 1px solid #ccc;
    515519        border-bottom: none;
    516520}
     521
    517522#postdiv #quicktags {
    518523        padding-right: 6px;
    519524}
     525
    520526#postdivrich #quicktags {
    521527        display: none;
    522528}
     529
    523530#quicktags #ed_toolbar {
    524531        padding: 0px 2px;
    525532}
     
    633640}
    634641
    635642#login ul:after {
    636   content: "."; 
    637   display: block; 
    638   height: 0; 
    639   clear: both; 
     643  content: ".";
     644  display: block;
     645  height: 0;
     646  clear: both;
    640647  visibility: hidden;
    641648}
    642649
     
    677684        font-size: 1.2em;
    678685}
    679686
     687#searchform {
     688        float: left;
     689        margin-right: 3em;
     690        width: 16em;
     691}
     692
     693#viewarc {
     694        float: left;
     695        width: 20em;
     696        margin-bottom: 1em;
     697}
     698
     699#viewcat {
     700        float: left;
     701        width: 30em;
     702        margin-bottom: 1em;
     703}
     704
    680705#postcustom .updatemeta, #postcustom .deletemeta {
    681706        margin: auto;
    682707}
     
    916941#categorydiv ul {
    917942        list-style: none;
    918943        padding: 0;
    919         margin-left:10px;
     944        margin-left: 10px;
    920945}
     946
    921947#categorychecklist {
    922948        height: 12em;
    923949        overflow: auto;
    924950        margin-top: 8px;
    925951}
     952
    926953#categorychecklist li {
    927954        margin: 0;
    928955        padding: 0;
    929956}
     957
    930958#ajaxcat input {
    931959        border: 1px solid #ccc;
    932960}
     
    941969        float: left;
    942970        width: 40%;
    943971        padding: .5em 2em 1em;
    944         margin: 1em 1em 1em 0; 
     972        margin: 1em 1em 1em 0;
    945973}
    946974
    947975#your-profile fieldset input  {
     
    11111139        filter: alpha(opacity=80);
    11121140}
    11131141
    1114 #newcat { width: 120px; margin-right: 5px; }
    1115 input#catadd {  background: #a4a4a4;
     1142#newcat {
     1143        width: 120px;
     1144        margin-right: 5px;
     1145}
     1146
     1147input #catadd {
     1148        background: #a4a4a4;
    11161149        border-bottom: 1px solid #898989;
    11171150        border-left: 1px solid #bcbcbc;
    11181151        border-right: 1px solid #898989;
     
    11251158        height: 20px;
    11261159        margin-bottom: 2px;
    11271160        text-align: center;
    1128         width: 37px; }
     1161        width: 37px;
     1162}
     1163
    11291164#howto {
    11301165        font-size: 11px;
    11311166        margin: 0 5px;
    11321167        display: block;
    11331168}
     1169
    11341170#jaxcat {
    11351171        margin: 0;
    11361172        padding: 0;
    11371173}
     1174
    11381175#ajax-response.alignleft {
    11391176        margin-left: 2em;
    11401177}
     1178
    11411179#postdivrich #edButtons {
    11421180        padding-left: 3px;
    11431181}
     1182
    11441183#postdivrich #content, #postdivrich #content:active {
    11451184        border: 1px solid #ccc;
    11461185}
     1186
    11471187#edButtons input, #edButtons input:active {
    11481188        margin: 0px 2px -1px;
    11491189}
     1190
    11501191#edButtons input.edButtonFore, #edButtons input.edButtonFore:active {
    11511192        background: #f0f0ee;
    11521193        border-bottom: 1px solid #f0f0ee;
    11531194}
     1195
    11541196#edButtons input.edButtonBack, #edButtons input.edButtonBack:active {
    11551197        background: #fff url( images/fade-butt.png ) repeat-x 0px 15px;
    11561198        border-bottom: 1px solid #ccc;
  • wp-includes/functions.php

     
    11611161
    11621162function _mce_set_direction() {
    11631163        global $wp_locale;
    1164         if ('rtl' == $wp_locale->text_direction)
     1164
     1165        if ('rtl' == $wp_locale->text_direction) {
    11651166                echo 'directionality : "rtl" ,';
     1167                echo 'theme_advanced_toolbar_align : "right" ,';
     1168        }
    11661169}
    11671170
    11681171function _mce_load_rtl_plugin($input) {
    1169         global $wp_locale;
     1172        global $wp_locale;
     1173
    11701174        if ('rtl' == $wp_locale->text_direction)
    11711175                $input[] = 'directionality';
    11721176
     
    11741178}
    11751179
    11761180function _mce_add_direction_buttons($input) {
    1177         global $wp_locale;
     1181        global $wp_locale;
     1182
    11781183        if ('rtl' == $wp_locale->text_direction) {
    11791184                $new_buttons = array('separator', 'ltr', 'rtl');
    11801185                $input = array_merge($input, $new_buttons);
  • wp-includes/js/tinymce/wp-mce-help.php

     
    1 <?php
    2 
    3 require_once('../../../wp-config.php');
    4 
    5 ?>
     1<?php require_once('../../../wp-config.php'); ?>
    62<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    7 <html xmlns="http://www.w3.org/1999/xhtml">
     3<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    84<head>
     5<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    96<title><?php _e('Rich Editor Help') ?></title>
    10 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" />
     7<link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" />
     8<?php if ( ('rtl' == $wp_locale->text_direction) ) : ?>
     9<link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" />
     10<?php endif; ?>
    1111<style type="text/css">
    1212        #wphead {
    1313                padding-top: 5px;
     
    7878                border-bottom: 0px;
    7979        }
    8080</style>
     81<?php if ( ('rtl' == $wp_locale->text_direction) ) : ?>
     82<style type="text/css">
     83        #wphead, #adminmenu {
     84                padding-left: auto;
     85                padding-right: 15px;
     86        }
     87        #flipper {
     88                margin: 5px 0 3px 10px;
     89        }
     90        #keys .left, .top, .action { text-align: right; }
     91        #keys .right { text-align: left; }
     92        td b { font-family: Tahoma, "Times New Roman", Times, serif }
     93</style>
     94<?php endif; ?>
    8195<script type="text/javascript">
    8296        window.onkeydown = window.onkeypress = function (e) {
    8397                e = e ? e : window.event;