Make WordPress Core


Ignore:
Timestamp:
09/27/2006 12:51:17 AM (19 years ago)
Author:
ryan
Message:

RTL enhancements from Sewar. #3136

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/wp-mce-help.php

    r4144 r4258  
    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>
    107<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 {
     
    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) {
Note: See TracChangeset for help on using the changeset viewer.