As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206

git-svn-id: http://svn.automattic.com/wordpress/trunk@18902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-10-06 09:57:50 +00:00
parent 0e358f2179
commit 4878bc6ca0
3 changed files with 7 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -3824,7 +3824,7 @@ form.upgrade .hint {
} }
.drag-drop .drag-drop-inside { .drag-drop .drag-drop-inside {
padding-top: 50px; padding-top: 60px;
} }
.drag-drop .drag-drop-inside p { .drag-drop .drag-drop-inside p {
@ -3832,7 +3832,10 @@ form.upgrade .hint {
} }
.dragdrop-info { .dragdrop-info {
color: #aaa;
display: none; display: none;
font-size: 24px;
margin: 10px 0;
} }
.drag-drop .dragdrop-info { .drag-drop .dragdrop-info {

View File

@ -1993,7 +1993,7 @@ function media_upload_max_image_resize() {
?> ?>
<p class="hide-if-no-js"><label> <p class="hide-if-no-js"><label>
<input name="image_resize" type="checkbox" id="image_resize" value="true"<?php echo $checked; ?> /> <input name="image_resize" type="checkbox" id="image_resize" value="true"<?php echo $checked; ?> />
<?php printf( __( 'Scale images to max width %1$dpx or max height %2$dpx' ), (int) get_option( 'large_size_w' ), (int) get_option( 'large_size_h' ) ); ?> <?php _e('Scale images to match the large size selected in'); ?> <a href="options-media.php" target="_blank"><?php _e('image options'); ?></a> <?php printf( __('(%1$d &times; %2$d).'), (int) get_option( 'large_size_w' ), (int) get_option( 'large_size_h' ) ); ?>
</label></p> </label></p>
<?php <?php
} }
@ -2043,4 +2043,4 @@ function type_url_form_video() {
function type_url_form_file() { function type_url_form_file() {
return wp_media_insert_url_form( 'file' ); return wp_media_insert_url_form( 'file' );
} }