Browse Happy :)

git-svn-id: http://svn.automattic.com/wordpress/trunk@2814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-08-27 19:18:26 +00:00
parent e7d3959ae5
commit 6da9feeacb
3 changed files with 5 additions and 6 deletions

View File

@ -1368,15 +1368,14 @@ function get_plugin_page_hook($plugin_page, $parent_page) {
return ''; return '';
} }
function pimp_firefox() { function browse_happy() {
if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'Firefox' ) ) $getit = __('WordPress recommends a better browser');
return;
$getit = __('WordPress recommends the open-source Firefox browser');
echo ' echo '
<p id="firefoxlink" style="text-align: center;"><a href="http://spreadfirefox.com/community/?q=affiliates&amp;id=2490&amp;t=1" title="' . $getit . '"><img src="images/get-firefox.png" alt="Get Firefox" /></a></p> <p id="bh" style="text-align: center;"><a href="http://browsehappy.com/" title="' . $getit . '"><img src="images/browse-happy.png" alt="Browse Happy" /></a></p>
'; ';
} }
add_action('admin_footer', 'pimp_firefox'); if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) )
add_action('admin_footer', 'browse_happy');
function documentation_link( $for ) { function documentation_link( $for ) {
return; return;

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB