Ticket #8545: 8545.2.diff
File 8545.2.diff, 2.1 KB (added by , 11 years ago) |
---|
-
media.php
1168 1168 1169 1169 $delete_href = wp_nonce_url("post.php?action=delete-post&post=$attachment_id", 'delete-post_' . $attachment_id); 1170 1170 if ( $send ) 1171 $send = "<input type='submit' class='button ' name='send[$attachment_id]' value='" . esc_attr__( 'Insert into Post' ) . "' />";1171 $send = "<input type='submit' class='button-primary' name='send[$attachment_id]' value='" . esc_attr__( 'Insert into Post' ) . "' />"; 1172 1172 if ( $delete ) 1173 1173 $delete = "<a href=\"#\" class=\"del-link\" onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __('Delete') . "</a>"; 1174 1174 if ( ( $send || $delete ) && !isset($form_fields['buttons']) ) … … 1311 1311 SWFUpload.onload = function() { 1312 1312 var settings = { 1313 1313 button_text: '<span class="button"><?php _e('Select Files'); ?></span>', 1314 button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; }',1314 button_text_style: '.button { color: #FFFFFF; text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; }', 1315 1315 button_height: "24", 1316 1316 button_width: "132", 1317 1317 button_text_top_padding: 2, … … 1369 1369 <?php do_action('pre-html-upload-ui'); ?> 1370 1370 <p id="async-upload-wrap"> 1371 1371 <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label> 1372 <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>1372 <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> 1373 1373 </p> 1374 1374 <div class="clear"></div> 1375 1375 <?php if ( is_lighttpd_before_150() ): ?>