]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/plugins/hello.php
Wordpress 3.0.1-scripts
[autoinstalls/wordpress.git] / wp-content / plugins / hello.php
index 08a01bbf3d8cf6b5809a97bf7014ba85ab1efb5d..2877f083468c9df5966b4cc604ac23942d98feaa 100644 (file)
@@ -1,15 +1,14 @@
 <?php
 /**
  * @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 +61,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 = ( is_rtl() ) ? 'left' : 'right';
+
        echo "
        <style type='text/css'>
        #dolly {
@@ -69,7 +71,7 @@ function dolly_css() {
                top: 4.5em;
                margin: 0;
                padding: 0;
-               right: 215px;
+               $x: 215px;
                font-size: 11px;
        }
        </style>