Changeset 18248
- Timestamp:
- 06/10/2011 10:16:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r18247 r18248 72 72 <div class="wrap"><?php 73 73 screen_icon(); 74 if ( ! is_multisite() ) : ?>74 if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> 75 75 <h2 class="nav-tab-wrapper"> 76 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a> 77 <?php if ( current_user_can('install_themes') ) : ?> 78 <a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a> 79 <?php endif; 80 else : ?> 81 <h2> 82 <?php echo esc_html( $title ); ?> 76 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a> 77 <?php else : ?> 78 <h2><?php echo esc_html( $title ); ?> 83 79 <?php endif; ?> 84 80 </h2>
Note: See TracChangeset
for help on using the changeset viewer.