From 665989f969836e721a30e639decd38f1d8c15075 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 29 Jun 2009 00:40:26 +0000 Subject: [PATCH] RTL admin fixes. Props sambauers, nbachiyski. fixes #10159 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@11665 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/rtl.css | 6 ++++++ wp-content/plugins/hello.php | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/wp-admin/rtl.css b/wp-admin/rtl.css index d56c2ef620..201dfa67ce 100644 --- a/wp-admin/rtl.css +++ b/wp-admin/rtl.css @@ -138,6 +138,12 @@ td.available-theme { .folded #adminmenu img.wp-menu-image { padding: 7px 6px 0 0; } +#adminmenu a.separator { + cursor: e-resize; +} +.folded #adminmenu a.separator { + cursor: w-resize; +} #adminmenu .wp-submenu .wp-submenu-head { padding: 6px 10px 6px 4px; } diff --git a/wp-content/plugins/hello.php b/wp-content/plugins/hello.php index 08a01bbf3d..a80b1ea245 100644 --- a/wp-content/plugins/hello.php +++ b/wp-content/plugins/hello.php @@ -2,14 +2,14 @@ /** * @package Hello_Dolly * @author Matt Mullenweg - * @version 1.5 + * @version 1.5.1 */ /* Plugin Name: Hello Dolly Plugin URI: http://wordpress.org/# Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from Hello, Dolly in the upper right of your admin screen on every page. Author: Matt Mullenweg -Version: 1.5 +Version: 1.5.1 Author URI: http://ma.tt/ */ @@ -62,6 +62,9 @@ add_action('admin_footer', 'hello_dolly'); // We need some CSS to position the paragraph function dolly_css() { + // This makes sure that the posinioning is also good for right-to-left languages + $x = ( 'rtl' == get_bloginfo( 'text_direction' ) ) ? 'left' : 'right'; + echo "