WordPress.org

Make WordPress Core

Changeset 2814


Ignore:
Timestamp:
08/27/2005 07:18:26 PM (16 years ago)
Author:
matt
Message:

Browse Happy :)

Location:
trunk/wp-admin
Files:
1 added
1 deleted
1 edited

Legend:

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

    r2813 r2814  
    13691369}
    13701370
    1371 function pimp_firefox() {
    1372     if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'Firefox' ) )
    1373         return;
    1374     $getit = __('WordPress recommends the open-source Firefox browser');
     1371function browse_happy() {
     1372    $getit = __('WordPress recommends a better browser');
    13751373    echo '
    1376     <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>
     1374    <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>
    13771375    ';
    13781376}
    1379 add_action('admin_footer', 'pimp_firefox');
     1377if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) )
     1378    add_action('admin_footer', 'browse_happy');
    13801379
    13811380function documentation_link( $for ) {
Note: See TracChangeset for help on using the changeset viewer.