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

git-svn-id: https://develop.svn.wordpress.org/trunk@12297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-11-30 20:58:12 +00:00
parent 68985dce07
commit a772d3fe2c
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;