From 6e7706463d5156a1692f4e24b517d1c19076d318 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 29 Aug 2005 13:07:54 +0000 Subject: Massive merge from WP Core. Deleted unused files. git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@251 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-admin/admin-functions.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'wp-inst/wp-admin/admin-functions.php') diff --git a/wp-inst/wp-admin/admin-functions.php b/wp-inst/wp-admin/admin-functions.php index 8663b7b..098c0bc 100644 --- a/wp-inst/wp-admin/admin-functions.php +++ b/wp-inst/wp-admin/admin-functions.php @@ -670,7 +670,7 @@ function meta_form() { ORDER BY meta_id DESC LIMIT 10"); ?> -

+

@@ -885,7 +885,7 @@ function the_quicktags () { if ( !strstr($_SERVER['HTTP_USER_AGENT'], 'Safari') ) : echo '
- + '; echo '
'; @@ -1370,15 +1370,14 @@ function get_plugin_page_hook($plugin_page, $parent_page) { return ''; } -function pimp_firefox() { - if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'Firefox' ) ) - return; - $getit = __('WordPress recommends the open-source Firefox browser'); +function browse_happy() { + $getit = __('WordPress recommends a better browser'); echo ' - +

Browse Happy

'; } -add_action('admin_footer', 'pimp_firefox'); +if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) ) + add_action('admin_footer', 'browse_happy'); function documentation_link( $for ) { return; -- cgit