Changeset 15898 for trunk/wp-admin/theme-install.php
- Timestamp:
- 10/21/2010 05:06:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-install.php
r15578 r15898 16 16 $title = __('Install Themes'); 17 17 $parent_file = 'themes.php'; 18 $submenu_file = 'themes.php'; 18 if ( !is_network_admin() ) 19 $submenu_file = 'themes.php'; 19 20 20 21 wp_enqueue_style( 'theme-install' ); … … 36 37 add_contextual_help($current_screen, $help); 37 38 38 include( './admin-header.php');39 include(ABSPATH . 'wp-admin/admin-header.php'); 39 40 ?> 40 41 <div class="wrap"> 41 <?php screen_icon(); ?> 42 <?php 43 screen_icon(); 44 45 if ( is_network_admin() ) : ?> 46 <h2><?php echo esc_html( $title ); ?></h2> 47 <?php else : ?> 42 48 <h2><a href="themes.php" class="nav-tab"><?php echo esc_html_x('Manage Themes', 'theme'); ?></a><a href="theme-install.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a></h2> 43 49 44 <?php $wp_list_table->views(); ?> 50 <?php 51 endif; 52 53 $wp_list_table->views(); ?> 45 54 46 55 <br class="clear" /> … … 48 57 </div> 49 58 <?php 50 include( './admin-footer.php');59 include(ABSPATH . 'wp-admin/admin-footer.php'); 51 60
Note: See TracChangeset
for help on using the changeset viewer.