Changeset 31976 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 04/01/2015 11:05:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r31968 r31976 1203 1203 $preview_url = site_url( add_query_arg( 'theme', '{{ data.theme.id }}' ) ); 1204 1204 ?> 1205 <div class="theme <# if ( data.theme.active ) { #> active<# } #>"<# if ( ! data.theme.active ) { #> tabindex="0"<# } #>data-preview-url="<?php echo esc_attr( $preview_url ); ?>" aria-describedby="{{ data.theme.id }}-action {{ data.theme.id }}-name">1205 <div class="theme" tabindex="0" data-preview-url="<?php echo esc_attr( $preview_url ); ?>" aria-describedby="{{ data.theme.id }}-action {{ data.theme.id }}-name"> 1206 1206 <# if ( data.theme.screenshot[0] ) { #> 1207 1207 <div class="theme-screenshot"> … … 1214 1214 <div class="theme-author"><?php printf( __( 'By %s' ), '{{ data.theme.author }}' ); ?></div> 1215 1215 1216 <# if ( data.theme.active ) { #> 1217 <h3 class="theme-name" id="{{ data.theme.id }}-name"> 1218 <?php 1219 /* translators: %s: theme name */ 1220 printf( __( '<span>Previewing:</span> %s' ), '{{ data.theme.name }}' ); 1221 ?> 1222 </h3> 1223 <# } else { #> 1224 <h3 class="theme-name" id="{{ data.theme.id }}-name">{{ data.theme.name }}</h3> 1225 <# } #> 1226 1227 <# if ( ! data.theme.active ) { #> 1228 <div class="theme-actions"> 1229 <button type="button" class="button theme-details"><?php _e( 'Theme Details' ); ?></button> 1230 </div> 1231 <# } #> 1216 <h3 class="theme-name" id="{{ data.theme.id }}-name">{{ data.theme.name }}</h3> 1217 1218 <div class="theme-actions"> 1219 <button type="button" class="button theme-details"><?php _e( 'Theme Details' ); ?></button> 1220 </div> 1232 1221 </div> 1233 1222 <?php
Note: See TracChangeset
for help on using the changeset viewer.