Changeset 2814

Show
Ignore:
Timestamp:
08/27/05 19:18:26 (3 years ago)
Author:
matt
Message:

Browse Happy :)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 ) {