Firefox fixes

git-svn-id: https://develop.svn.wordpress.org/trunk@2544 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-04-19 02:16:57 +00:00
parent bd7d179803
commit f7c0f0c76c
3 changed files with 11 additions and 2 deletions

View File

@@ -1072,4 +1072,14 @@ function get_plugin_page_hook($plugin_page, $parent_page) {
return '';
}
?>
function pimp_firefox() {
if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'Firefox' ) )
return;
$getit = __('WordPress recommends the open-source Firefox browser');
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="../wp-images/get-firefox.png" alt="Get Firefox" /></a></p>
';
}
add_action('admin_footer', 'pimp_firefox');
?>