<?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/
*/
// 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 {
top: 4.5em;
margin: 0;
padding: 0;
- right: 215px;
+ $x: 215px;
font-size: 11px;
}
</style>