Ticket #4254: 4254-axe-browsehappy.diff
File 4254-axe-browsehappy.diff, 659 bytes (added by , 17 years ago) |
---|
-
template.php
495 495 } 496 496 } 497 497 498 function browse_happy() {499 $getit = __( 'WordPress recommends a better browser' );500 echo '501 <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>502 ';503 }504 505 if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)506 add_action( 'admin_footer', 'browse_happy' );507 508 498 function the_attachment_links( $id = false ) { 509 499 $id = (int) $id; 510 500 $post = & get_post( $id );