Ticket #8545: 8545.diff
File 8545.diff, 2.1 KB (added by , 11 years ago) |
---|
-
includes/media.php
1199 1199 1200 1200 $delete_href = wp_nonce_url("post.php?action=trash&post=$attachment_id", 'trash-post_' . $attachment_id); 1201 1201 if ( $send ) 1202 $send = "<input type='submit' class=' button' name='send[$attachment_id]' value='" . esc_attr__( 'Insert into Post' ) . "' />";1202 $send = "<input type='submit' class='primary_button' name='send[$attachment_id]' value='" . esc_attr__( 'Insert into Post' ) . "' />"; 1203 1203 if ( $delete ) 1204 1204 $delete = current_user_can('delete_post', $attachment_id) ? "<a href=\"$delete_href\" id=\"del[$attachment_id]\" class=\"delete\">" . __('Move to Trash') . "</a>" : ""; 1205 1205 if ( ( $send || $delete ) && !isset($form_fields['buttons']) ) … … 1340 1340 SWFUpload.onload = function() { 1341 1341 var settings = { 1342 1342 button_text: '<span class="button"><?php _e('Select Files'); ?></span>', 1343 button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; }',1343 button_text_style: '.button { color: #FFFFFF; text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; }', 1344 1344 button_height: "24", 1345 1345 button_width: "132", 1346 1346 button_text_top_padding: 2, … … 1399 1399 <?php do_action('pre-html-upload-ui'); ?> 1400 1400 <p id="async-upload-wrap"> 1401 1401 <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label> 1402 <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>1402 <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button-primary" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 1403 1403 </p> 1404 1404 <div class="clear"></div> 1405 1405 <?php if ( is_lighttpd_before_150() ): ?>