Changeset 2814
- Timestamp:
- 08/27/05 19:18:26 (3 years ago)
- Files:
-
- trunk/wp-admin/admin-functions.php (modified) (1 diff)
- trunk/wp-admin/images/browse-happy.gif (added)
- trunk/wp-admin/images/get-firefox.png (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/admin-functions.php
r2813 r2814 1369 1369 } 1370 1370 1371 function pimp_firefox() { 1372 if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'Firefox' ) ) 1373 return; 1374 $getit = __('WordPress recommends the open-source Firefox browser'); 1371 function browse_happy() { 1372 $getit = __('WordPress recommends a better browser'); 1375 1373 echo ' 1376 <p id=" firefoxlink" style="text-align: center;"><a href="http://spreadfirefox.com/community/?q=affiliates&id=2490&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> 1377 1375 '; 1378 1376 } 1379 add_action('admin_footer', 'pimp_firefox'); 1377 if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) ) 1378 add_action('admin_footer', 'browse_happy'); 1380 1379 1381 1380 function documentation_link( $for ) {
