Changeset 20940 for trunk/wp-admin/customize.php
- Timestamp:
- 05/26/2012 08:47:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/customize.php
r20899 r20940 61 61 </div> 62 62 63 <?php 64 $screenshot = $wp_customize->theme()->get_screenshot(); 65 $cannot_expand = ! ( $screenshot || $wp_customize->theme()->get('Description') ); 66 ?> 67 63 68 <div class="wp-full-overlay-sidebar-content"> 64 <div id="customize-info" class="customize-section ">69 <div id="customize-info" class="customize-section<?php if ( $cannot_expand ) echo ' cannot-expand'; ?>"> 65 70 <div class="customize-section-title"> 66 71 <span class="preview-notice"><?php _e('You are previewing'); ?></span> 67 72 <strong class="theme-name"><?php echo $wp_customize->theme()->display('Name'); ?></strong> 68 73 </div> 74 <?php if ( ! $cannot_expand ) : ?> 69 75 <div class="customize-section-content"> 70 <?php if ( $screenshot = $wp_customize->theme()->get_screenshot()) : ?>76 <?php if ( $screenshot ) : ?> 71 77 <img class="theme-screenshot" src="<?php echo esc_url( $screenshot ); ?>" /> 72 78 <?php endif; ?> … … 76 82 <?php endif; ?> 77 83 </div> 84 <?php endif; ?> 78 85 </div> 79 86
Note: See TracChangeset
for help on using the changeset viewer.