Make WordPress Core

Ticket #16334: 16334.2.patch

File 16334.2.patch, 1.9 KB (added by ocean90, 13 years ago)

Refreshed

  • wp-admin/press-this.php

     
    312312                        jQuery('#extra-fields').html('');
    313313                        return false;
    314314                }
    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>');
    316316                        jQuery('#img_container').html(strtoappend);
    317317                <?php break;
    318318}
     
    602602
    603603                <div class="postdivrich">
    604604                        <ul id="actions" class="actions">
    605 
     605                                <li><?php _e( 'Add:' ); ?></li>
    606606                                <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="#">
    608608<img alt="<?php _e('Insert an Image'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-image.gif?ver=20100531' ) ); ?>"/></a>
    609609                                        <?php } ?>
    610610                                </li>