Make WordPress Core


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

RTL enhancements from Sewar. #3136

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r4201 r4258  
    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';
     
    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');
Note: See TracChangeset for help on using the changeset viewer.