Make WordPress Core


Ignore:
Timestamp:
06/01/2012 03:03:50 PM (12 years ago)
Author:
ryan
Message:

Fix collapse button and return link markup for theme install preview. Props koopersmith. fixes #20800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php

    r20812 r20968  
    252252        ?>
    253253        <div id="theme-installer" class="wp-full-overlay">
    254             <a href="#" class="close-full-overlay"><?php printf( __( '&larr; Return to %s' ), get_admin_page_title() ); ?></a>
    255             <a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>">
    256                 <span class="collapse-sidebar-label"><?php _e('Collapse'); ?></span>
    257                 <span class="collapse-sidebar-arrow"></span>
    258             </a>
    259254            <div class="wp-full-overlay-sidebar">
    260                 <div class="wp-full-overlay-header"></div>
     255                <div class="wp-full-overlay-header">
     256                    <a href="#" class="close-full-overlay"><?php _e( '&larr; Close' ); ?></a>
     257                </div>
    261258                <div class="wp-full-overlay-sidebar-content">
    262259                    <div class="install-theme-info"></div>
    263260                </div>
    264                 <div class="wp-full-overlay-footer"></div>
     261                <div class="wp-full-overlay-footer">
     262                    <a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>">
     263                        <span class="collapse-sidebar-label"><?php _e('Collapse'); ?></span>
     264                        <span class="collapse-sidebar-arrow"></span>
     265                    </a>
     266                </div>
    265267            </div>
    266268            <div class="wp-full-overlay-main"></div>
Note: See TracChangeset for help on using the changeset viewer.