Changeset 5965
- Timestamp:
- 08/28/2007 11:23:38 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r5892 r5965 18 18 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 19 19 <title><?php bloginfo('name') ?> › <?php echo wp_specialchars( strip_tags( $title ) ); ?> — WordPress</title> 20 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 21 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 22 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 23 <?php endif; ?> 20 <?php wp_admin_css(); ?> 24 21 <script type="text/javascript"> 25 22 //<![CDATA[ -
trunk/wp-admin/bookmarklet.php
r5056 r5965 52 52 <title><?php bloginfo('name') ?> › Bookmarklet — WordPress</title> 53 53 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 54 < link rel="stylesheet" href="wp-admin.css" type="text/css" />54 <?php wp_admin_css(); ?> 55 55 56 56 <style type="text/css"> -
trunk/wp-admin/includes/upload.php
r5837 r5965 340 340 341 341 function wp_upload_admin_head() { 342 global $wp_locale; 343 echo "<link rel='stylesheet' href='" . get_bloginfo('wpurl') . '/wp-admin/css/upload.css?version=' . get_bloginfo('version') . "a' type='text/css' />\n"; 344 if ( 'rtl' == $wp_locale->text_direction ) 345 echo "<link rel='stylesheet' href='" . get_bloginfo('wpurl') . '/wp-admin/css/upload-rtl.css?version=' . get_bloginfo('version') . "a' type='text/css' />\n"; 342 wp_admin_css( 'css/upload' ); 346 343 if ( 'inline' == @$_GET['style'] ) { 347 344 echo "<style type='text/css' media='screen'>\n"; -
trunk/wp-admin/install.php
r5844 r5965 20 20 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 21 21 <title><?php _e('WordPress › Installation'); ?></title> 22 <link rel="stylesheet" href="css/install.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 23 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 24 <link rel="stylesheet" href="css/install-rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 25 <?php endif; ?> 22 <?php wp_admin_css( 'css/install' ); ?> 26 23 </head> 27 24 <body> -
trunk/wp-admin/sidebar.php
r4495 r5965 14 14 <title>WordPress › Posted</title> 15 15 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=UTF-8" /> 16 < link rel="stylesheet" href="wp-admin.css" type="text/css" />16 <?php wp_admin_css(); ?> 17 17 </head> 18 18 <body> … … 29 29 <title>WordPress › Sidebar</title> 30 30 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('blog_charset'); ?>" /> 31 < link rel="stylesheet" href="wp-admin.css" type="text/css" />31 <?php wp_admin_css(); ?> 32 32 <style type="text/css" media="screen"> 33 33 form { -
trunk/wp-admin/upgrade.php
r5820 r5965 19 19 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 20 20 <title><?php _e('WordPress › Upgrade'); ?></title> 21 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/css/install.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 22 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 23 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/css/install-rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 24 <?php endif; ?> 21 <?php wp_admin_css( 'css/install' ); ?> 25 22 </head> 26 23 <body> -
trunk/wp-admin/upload.php
r5640 r5965 64 64 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 65 65 <title><?php bloginfo('name') ?> › <?php _e('Uploads'); ?> — WordPress</title> 66 <link rel="stylesheet" href="<?php bloginfo( 'wpurl' ); ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 67 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 68 <link rel="stylesheet" href="<?php bloginfo( 'wpurl' ); ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 69 <?php endif; ?> 66 <?php wp_admin_css(); ?> 70 67 <script type="text/javascript"> 71 68 //<![CDATA[ -
trunk/wp-admin/widgets.php
r5934 r5965 11 11 global $wp_registered_sidebars, $wp_registered_widgets, $wp_registered_widget_controls; 12 12 ?> 13 < link rel="stylesheet" href="<?php bloginfo( 'wpurl' ); ?>/wp-admin/css/widgets.css?version=<?php bloginfo('version'); ?>" type="text/css" />13 <?php wp_admin_css( 'css/widgets' ); ?> 14 14 <!--[if IE 7]> 15 15 <style type="text/css"> … … 18 18 <![endif]--> 19 19 <?php 20 if ( get_bloginfo( 'text_direction' ) == 'rtl' ) {21 ?>22 <link rel="stylesheet" href="<?php bloginfo( 'wpurl' ); ?>/wp-admin/css/widgets-rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" />23 <?php24 }25 20 26 21 $cols = array(); -
trunk/wp-includes/general-template.php
r5945 r5965 1064 1064 return $r; 1065 1065 } 1066 1067 function wp_admin_css_uri( $file = 'wp-admin' ) { 1068 $_file = add_query_arg( 'version', get_bloginfo( 'version' ), get_option( 'siteurl' ) . "/wp-admin/$file.css" ); 1069 return apply_filters( 'wp_admin_css_uri', $_file, $file ); 1070 } 1071 1072 function wp_admin_css( $file = 'wp-admin' ) { 1073 echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . wp_admin_css_uri( $file ) . "' type='text/css' />\n", $file ); 1074 if ( 'rtl' == get_bloginfo( 'text_direction' ) ) { 1075 $rtl = ( 'wp-admin' == $file ) ? 'rtl' : "$file-rtl"; 1076 echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . wp_admin_css_uri( $rtl ) . "' type='text/css' />\n", $rtl ); 1077 } 1078 } 1079 1066 1080 ?> -
trunk/wp-includes/js/tinymce/wp-mce-help.php
r4983 r5965 7 7 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 8 8 <title><?php _e('Rich Editor Help') ?></title> 9 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 10 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 11 <link rel="stylesheet" href="<?php echo get_option('siteurl') ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 12 <?php endif; ?> 9 <?php wp_admin_css(); ?> 13 10 <style type="text/css"> 14 11 #wphead { … … 184 181 </body> 185 182 </html> 186 -
trunk/wp-login.php
r5800 r5965 32 32 <title><?php bloginfo('name'); ?> › <?php echo $title; ?></title> 33 33 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 34 <link rel="stylesheet" href="<?php bloginfo('wpurl'); ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 35 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 36 <link rel="stylesheet" href="<?php bloginfo('wpurl'); ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 37 <?php endif; ?> 34 <?php wp_admin_css(); ?> 38 35 <!--[if IE]><style type="text/css">#login h1 a { margin-top: 35px; } #login #login_error { margin-bottom: 10px; }</style><![endif]--><!-- Curse you, IE! --> 39 36 <script type="text/javascript">
Note: See TracChangeset
for help on using the changeset viewer.