Changeset 16747 for trunk/wp-admin/themes.php
- Timestamp:
- 12/06/2010 03:41:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r16705 r16747 74 74 <div class="wrap"> 75 75 <?php screen_icon(); ?> 76 <h2 class="nav-tab-wrapper"><a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><?php if ( current_user_can('install_themes') ) { ?><a href="theme-install.php" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a><?php } ?></h2> 76 <h2 class="nav-tab-wrapper"> 77 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a> 78 <?php 79 if ( current_user_can('install_themes') ) { 80 $href = is_multisite() ? network_admin_url( 'theme-install.php' ) : admin_url( 'theme-install.php' ); 81 ?> 82 <a href="<?php echo $href; ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a> 83 <?php } ?> 84 </h2> 77 85 78 86 <h3><?php _e('Current Theme'); ?></h3>
Note: See TracChangeset
for help on using the changeset viewer.