Index: wp-admin/includes/template.php
===================================================================
--- wp-admin/includes/template.php	(revision 5624)
+++ wp-admin/includes/template.php	(working copy)
@@ -492,14 +492,16 @@
 }
 
 function browse_happy() {
-	$getit = __( 'WordPress recommends a better browser' );
-	echo '
-		<p id="bh" style="text-align: center;"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p>
-		';
+?>
+	<!--[if lt IE 7]>
+		<p id="bh" style="text-align:center"><a href="http://browsehappy.com/" title="<?php _e( 'WordPress recommends a better browser' ); ?>"><img src="<?php bloginfo( 'wpurl' ); ?>/wp-admin/images/browse-happy.gif" alt="Browse Happy" /></a></p>
+	<![endif]-->
+<?php
 }
 
-if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)
+if ( $is_IE ) {
 	add_action( 'admin_footer', 'browse_happy' );
+}
 
 function the_attachment_links( $id = false ) {
 	$id = (int) $id;
