diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-29 13:07:54 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-29 13:07:54 +0000 |
| commit | 6e7706463d5156a1692f4e24b517d1c19076d318 (patch) | |
| tree | 0cbe4e47db536cdedc64f544a12bde2cb4596c0c /wp-inst/wp-admin/admin-functions.php | |
| parent | d5ab61938e90ae1db9dc65953ac1058822db6ff5 (diff) | |
| download | wordpress-mu-6e7706463d5156a1692f4e24b517d1c19076d318.tar.gz wordpress-mu-6e7706463d5156a1692f4e24b517d1c19076d318.tar.xz wordpress-mu-6e7706463d5156a1692f4e24b517d1c19076d318.zip | |
Massive merge from WP Core.
Deleted unused files.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@251 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/admin-functions.php')
| -rw-r--r-- | wp-inst/wp-admin/admin-functions.php | 15 |
1 files changed, 7 insertions, 8 deletions
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"); ?> -<h3><?php _e('Add a new custom field to this post:') ?></h3> +<h3><?php _e('Add a new custom field:') ?></h3> <table cellspacing="3" cellpadding="3"> <tr> <th colspan="2"><?php _e('Key') ?></th> @@ -885,7 +885,7 @@ function the_quicktags () { if ( !strstr($_SERVER['HTTP_USER_AGENT'], 'Safari') ) : echo ' <div id="quicktags"> - <script src="quicktags.js" type="text/javascript"></script> + <script src="../wp-includes/js/quicktags.js" type="text/javascript"></script> <script type="text/javascript">edToolbar();</script> '; echo '</div>'; @@ -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 ' - <p id="firefoxlink" style="text-align: center;"><a href="http://spreadfirefox.com/community/?q=affiliates&id=2490&t=1" title="' . $getit . '"><img src="../wp-images/get-firefox.png" alt="Get Firefox" /></a></p> + <p id="bh" style="text-align: center;"><a href="http://browsehappy.com/" title="' . $getit . '"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p> '; } -add_action('admin_footer', 'pimp_firefox'); +if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) ) + add_action('admin_footer', 'browse_happy'); function documentation_link( $for ) { return; |
