Changeset 32649 for trunk/src/wp-includes/class-wp-customize-section.php
- Timestamp:
- 05/29/2015 01:56:39 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-section.php
r32535 r32649 306 306 <h3 class="accordion-section-title" tabindex="0"> 307 307 <?php echo esc_html( $this->title ); ?> 308 <span class="screen-reader-text"><?php _e( 'Press return or enter to expand' ); ?></span>308 <span class="screen-reader-text"><?php _e( 'Press return or enter to open' ); ?></span> 309 309 </h3> 310 310 <ul class="accordion-section-content"> 311 <?php if ( ! empty( $this->description ) ) : ?> 312 <li class="customize-section-description-container"> 311 <li class="customize-section-description-container"> 312 <div class="customize-section-title"> 313 <button class="customize-section-back" tabindex="-1"> 314 <span class="screen-reader-text"><?php _e( 'Back' ); ?></span> 315 </button> 316 <h3> 317 <span class="customize-action"><?php 318 if ( $this->panel ) { 319 /* translators: ▸ is the unicode right-pointing triangle, and %s is the section title in the Customizer */ 320 echo sprintf( __( 'Customizing ▸ %s' ), esc_html( $this->manager->get_panel( $this->panel )->title ) ); 321 } else { 322 _e( 'Customizing' ); 323 } 324 ?></span> 325 <?php echo esc_html( $this->title ); ?> 326 </h3> 327 </div> 328 <?php if ( ! empty( $this->description ) ) : ?> 313 329 <p class="description customize-section-description"><?php echo $this->description; ?></p> 314 < /li>315 < ?php endif; ?>330 <?php endif; ?> 331 </li> 316 332 </ul> 317 333 </li> … … 354 370 if ( $this->manager->is_theme_active() ) { 355 371 /* translators: %s: theme name */ 356 printf( __( '<span >Active theme</span> %s' ), $this->title );372 printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title ); 357 373 } else { 358 374 /* translators: %s: theme name */ 359 printf( __( '<span >Previewing theme</span> %s' ), $this->title );375 printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title ); 360 376 } 361 377 ?> 362 378 363 <button type="button" class="button change-theme" ><?php _ex( 'Change', 'theme' ); ?></button>379 <button type="button" class="button change-theme" tabindex="0"><?php _ex( 'Change', 'theme' ); ?></button> 364 380 </h3> 365 381 <div class="customize-themes-panel control-panel-content themes-php"> 366 <h2> 382 <h3 class="accordion-section-title customize-section-title"> 383 <span class="customize-action"><?php _e( 'Customizing' ); ?></span> 367 384 <?php _e( 'Themes' ); ?> 368 385 <span class="title-count theme-count"><?php echo count( $this->controls ) + 1 /* Active theme */; ?></span> 369 </h2> 370 386 </h3> 371 387 <h3 class="accordion-section-title customize-section-title"> 372 388 <?php 373 389 if ( $this->manager->is_theme_active() ) { 374 390 /* translators: %s: theme name */ 375 printf( __( '<span >Active theme</span> %s' ), $this->title );391 printf( __( '<span class="customize-action">Active theme</span> %s' ), $this->title ); 376 392 } else { 377 393 /* translators: %s: theme name */ 378 printf( __( '<span >Previewing theme</span> %s' ), $this->title );394 printf( __( '<span class="customize-action">Previewing theme</span> %s' ), $this->title ); 379 395 } 380 396 ?>
Note: See TracChangeset
for help on using the changeset viewer.