Make WordPress Core


Ignore:
Timestamp:
04/19/2005 02:16:57 AM (19 years ago)
Author:
matt
Message:

Firefox fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r2474 r2544  
    10731073}
    10741074
     1075function pimp_firefox() {
     1076    if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'Firefox' ) )
     1077        return;
     1078    $getit = __('WordPress recommends the open-source Firefox browser');
     1079    echo '
     1080    <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>
     1081    ';
     1082}
     1083add_action('admin_footer', 'pimp_firefox');
     1084
    10751085?>
Note: See TracChangeset for help on using the changeset viewer.