Make WordPress Core


Ignore:
Timestamp:
03/04/2014 11:10:35 PM (13 years ago)
Author:
azaozz
Message:

Restyles the modal for attaching media to posts, props avryl, see #26952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r27237 r27401  
    13771377function find_posts_div($found_action = '') {
    13781378?>
    1379         <div id="find-posts" class="find-box" style="display:none;">
    1380                 <div id="find-posts-head" class="find-box-head"><?php _e('Find Posts or Pages'); ?></div>
     1379        <div id="find-posts" class="find-box" style="display: none;">
     1380                <div id="find-posts-head" class="find-box-head">
     1381                        <?php _e( 'Find Posts or Pages' ); ?>
     1382                        <div id="find-posts-close"></div>
     1383                </div>
    13811384                <div class="find-box-inside">
    13821385                        <div class="find-box-search">
     
    13841387                                        <input type="hidden" name="found_action" value="<?php echo esc_attr($found_action); ?>" />
    13851388                                <?php } ?>
    1386 
    13871389                                <input type="hidden" name="affected" id="affected" value="" />
    13881390                                <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?>
     
    13911393                                <span class="spinner"></span>
    13921394                                <input type="button" id="find-posts-search" value="<?php esc_attr_e( 'Search' ); ?>" class="button" />
     1395                                <div class="clear"></div>
    13931396                        </div>
    13941397                        <div id="find-posts-response"></div>
    13951398                </div>
    13961399                <div class="find-box-buttons">
    1397                         <input id="find-posts-close" type="button" class="button alignleft" value="<?php esc_attr_e('Close'); ?>" />
    13981400                        <?php submit_button( __( 'Select' ), 'button-primary alignright', 'find-posts-submit', false ); ?>
     1401                        <div class="clear"></div>
    13991402                </div>
    14001403        </div>
Note: See TracChangeset for help on using the changeset viewer.