mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
RTL admin fixes. Props sambauers, nbachiyski. fixes #10159 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11665 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 <cite>Hello, Dolly</cite> 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 "
|
||||
<style type='text/css'>
|
||||
#dolly {
|
||||
@@ -69,7 +72,7 @@ function dolly_css() {
|
||||
top: 4.5em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
right: 215px;
|
||||
$x: 215px;
|
||||
font-size: 11px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user