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:
parent
0874bf7d4f
commit
8f3af1eb02
|
@ -1431,7 +1431,7 @@ SWFUpload.onload = function() {
|
||||||
<?php do_action('pre-html-upload-ui'); ?>
|
<?php do_action('pre-html-upload-ui'); ?>
|
||||||
<p id="async-upload-wrap">
|
<p id="async-upload-wrap">
|
||||||
<label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
|
<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>
|
</p>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<?php if ( is_lighttpd_before_150() ): ?>
|
<?php if ( is_lighttpd_before_150() ): ?>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2852,6 +2852,10 @@ table .inline-edit-row fieldset ul.cat-hover {
|
||||||
max-width: 128px;
|
max-width: 128px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#wpbody-content #async-upload-wrap a {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.media-upload-form td label {
|
.media-upload-form td label {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
|
|
Loading…
Reference in New Issue