Make WordPress Core

Ticket #16334: 16334.patch

File 16334.patch, 1.8 KB (added by SergeyBiryukov, 13 years ago)
  • wp-admin/press-this.php

     
    307307                        jQuery('#extra-fields').html('');
    308308                        return false;
    309309                }
    310                         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>');
     310                        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>');
    311311                        jQuery('#img_container').html(strtoappend);
    312312                <?php break;
    313313}
     
    601601                        <ul id="actions" class="actions">
    602602
    603603                                <li id="photo_button">
    604                                         Add: <?php if ( current_user_can('upload_files') ) { ?><a title="<?php _e('Insert an Image'); ?>" href="#">
     604                                        <?php _e('Add:'); ?>
     605                                        <?php if ( current_user_can('upload_files') ) { ?><a title="<?php _e('Insert an Image'); ?>" href="#">
    605606<img alt="<?php _e('Insert an Image'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-image.gif?ver=20100531' ) ); ?>"/></a>
    606607                                        <?php } ?>
    607608                                </li>