mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Press This: properly add and load press-this-ie.css, cleanup of the bookmarklet code. Props azaozz. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8323 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
8
wp-admin/css/press-this-ie.css
Normal file
8
wp-admin/css/press-this-ie.css
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
#posting {
|
||||
position: static !important;
|
||||
}
|
||||
.ui-tabs-nav {
|
||||
margin-left: 0;
|
||||
border: 0 !important;
|
||||
}
|
||||
@@ -79,12 +79,10 @@ if ( 'post' == $_REQUEST['action'] ) {
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
||||
<title><?php _e('Press This') ?></title>
|
||||
<!--[if gte IE 6]>
|
||||
<link rel="stylesheet" href="./css/press-this-ie.css" type="text/css" media="screen" charset="utf-8" />
|
||||
<![endif]-->
|
||||
<?php
|
||||
add_thickbox();
|
||||
wp_enqueue_style('press-this');
|
||||
wp_enqueue_style('press-this-ie');
|
||||
wp_enqueue_style( 'colors' );
|
||||
wp_enqueue_script('post');
|
||||
|
||||
@@ -294,12 +292,10 @@ if($_REQUEST['ajax'] == 'photo') { ?>
|
||||
<title><?php _e('Press This') ?></title>
|
||||
|
||||
<script type="text/javascript" src="../wp-includes/js/tinymce/tiny_mce.js?ver=311"></script>
|
||||
<!--[if gte IE 6]>
|
||||
<?php wp_enqueue_style('press-this-ie'); ?>
|
||||
<![endif]-->
|
||||
<?php
|
||||
add_thickbox();
|
||||
wp_enqueue_style('press-this');
|
||||
wp_enqueue_style('press-this-ie');
|
||||
wp_enqueue_style( 'colors' );
|
||||
wp_enqueue_script('post');
|
||||
wp_enqueue_script('editor_functions');
|
||||
|
||||
Reference in New Issue
Block a user