Hide Cancel link in the browser uploader on Media Library screen.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-11-30 20:58:12 +00:00
parent 0874bf7d4f
commit 8f3af1eb02
3 changed files with 6 additions and 2 deletions

View File

@ -1431,7 +1431,7 @@ SWFUpload.onload = function() {
<?php do_action('pre-html-upload-ui'); ?>
<p id="async-upload-wrap">
<label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
<input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a>
<input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
</p>
<div class="clear"></div>
<?php if ( is_lighttpd_before_150() ): ?>

File diff suppressed because one or more lines are too long

View File

@ -2852,6 +2852,10 @@ table .inline-edit-row fieldset ul.cat-hover {
max-width: 128px;
}
#wpbody-content #async-upload-wrap a {
display: none;
}
.media-upload-form td label {
margin-right: 6px;
margin-left: 2px;