Ticket #16334: 16334.2.patch
File 16334.2.patch, 1.9 KB (added by , 13 years ago) |
---|
-
wp-admin/press-this.php
312 312 jQuery('#extra-fields').html(''); 313 313 return false; 314 314 } 315 jQuery('#extra-fields').html('<div class="postbox"><h2> Add Photos<small id="photo_directions">(<?php _e("click images to select") ?>)</small></h2><ul class="actions"><li><a href="#" id="photo-add-url" class="thickbox button"><?php _e("Add from URL") ?> +</a></li></ul><div class="inside"><div class="titlewrap"><div id="img_container"></div></div><p id="options"><a href="#" class="close button"><?php _e('Cancel'); ?></a><a href="#" class="refresh button"><?php _e('Refresh'); ?></a></p></div>');315 jQuery('#extra-fields').html('<div class="postbox"><h2><?php _e( 'Add Photos' ); ?> <small id="photo_directions">(<?php _e("click images to select") ?>)</small></h2><ul class="actions"><li><a href="#" id="photo-add-url" class="thickbox button"><?php _e("Add from URL") ?> +</a></li></ul><div class="inside"><div class="titlewrap"><div id="img_container"></div></div><p id="options"><a href="#" class="close button"><?php _e('Cancel'); ?></a><a href="#" class="refresh button"><?php _e('Refresh'); ?></a></p></div>'); 316 316 jQuery('#img_container').html(strtoappend); 317 317 <?php break; 318 318 } … … 602 602 603 603 <div class="postdivrich"> 604 604 <ul id="actions" class="actions"> 605 605 <li><?php _e( 'Add:' ); ?></li> 606 606 <li id="photo_button"> 607 Add:<?php if ( current_user_can('upload_files') ) { ?><a title="<?php _e('Insert an Image'); ?>" href="#">607 <?php if ( current_user_can('upload_files') ) { ?><a title="<?php _e('Insert an Image'); ?>" href="#"> 608 608 <img alt="<?php _e('Insert an Image'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-image.gif?ver=20100531' ) ); ?>"/></a> 609 609 <?php } ?> 610 610 </li>