Color scheme selector fixes from andy. see #6167

git-svn-id: http://svn.automattic.com/wordpress/trunk@7258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-12 00:12:34 +00:00
parent 553e8d935c
commit 4b2bc59df8
3 changed files with 4 additions and 3 deletions

View File

@ -28,8 +28,6 @@ get_admin_page_title();
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
<title><?php bloginfo('name') ?> &rsaquo; <?php echo wp_specialchars( strip_tags( $title ) ); ?> &#8212; WordPress</title>
<?php
wp_admin_css_color('classic', __('Classic'), get_option( 'siteurl' ) . "/wp-admin/css/colors-classic.css", array('#07273E', '#14568A', '#D54E21', '#2683AE'));
wp_admin_css_color('fresh', __('Fresh'), get_option( 'siteurl' ) . "/wp-admin/css/colors-fresh.css", array('#464646', '#CEE1EF', '#D54E21', '#2683AE'));
wp_admin_css( 'css/global' );
wp_admin_css();
wp_admin_css( 'css/colors' );

View File

@ -26,6 +26,9 @@ $time_format = get_option('time_format');
wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'popuptitle', 'popupurl', 'text', 'trackback', 'pingback'));
wp_admin_css_color('classic', __('Classic'), get_option( 'siteurl' ) . "/wp-admin/css/colors-classic.css", array('#07273E', '#14568A', '#D54E21', '#2683AE'));
wp_admin_css_color('fresh', __('Fresh'), get_option( 'siteurl' ) . "/wp-admin/css/colors-fresh.css", array('#464646', '#CEE1EF', '#D54E21', '#2683AE'));
wp_enqueue_script( 'common' );
wp_enqueue_script( 'jquery-color' );

View File

@ -128,7 +128,7 @@ function wp_iframe($content_func /* ... */) {
<?php
wp_admin_css( 'css/global' );
wp_admin_css();
wp_admin_css( 'css/colors-classic' );
wp_admin_css( 'css/colors' );
?>
<script type="text/javascript">
//<![CDATA[