Changeset 13533
- Timestamp:
- 03/01/2010 03:27:42 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.dev.css
r13303 r13533 3668 3668 display: inline; 3669 3669 } 3670 3671 /* Tab Interface */ 3672 3673 .menu-tabs { 3674 border-width: 1px 1px 2px; 3675 border-style: solid; 3676 border-color: #ccc #ccc #f9f9f9; 3677 color: #464646; 3678 padding: 4px 20px 6px; 3679 text-decoration: none; 3680 background-color: #fafafa; 3681 margin: 0; 3682 -moz-border-radius: 5px 5px 0 0; 3683 -webkit-border-top-left-radius: 5px; 3684 -webkit-border-top-right-radius: 5px; 3685 -khtml-border-top-left-radius: 5px; 3686 -khtml-border-top-right-radius: 5px; 3687 border-top-left-radius: 5px; 3688 border-top-right-radius: 5px; 3689 } 3690 3691 .themes-php .wrap h2, .theme-install-php .wrap h2 { 3692 border-bottom: 1px solid #ccc; 3693 } 3694 3695 .menu-tab-inactive { 3696 border-width: 1px 1px 0; 3697 background-color: #fafafa; 3698 color: #c1c1c1; 3699 margin: 0 6px 0 0; 3700 } -
trunk/wp-admin/menu.php
r13366 r13533 108 108 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 109 109 $submenu['themes.php'][10] = array(_x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php'); 110 $submenu['themes.php'][15] = array(__('Add New Themes'), 'install_themes', 'theme-install.php');111 110 $submenu['themes.php'][20] = array(__('Menus'), 'switch_themes', 'nav-menus.php'); 112 111 -
trunk/wp-admin/theme-install.php
r12752 r13533 17 17 $title = __('Install Themes'); 18 18 $parent_file = 'themes.php'; 19 $submenu_file = 'themes.php'; 19 20 20 21 wp_reset_vars( array('tab', 'paged') ); … … 59 60 <div class="wrap"> 60 61 <?php screen_icon(); ?> 61 <h2>< ?php echo esc_html( $title ); ?></h2>62 <h2><a href="themes.php" class="menu-tabs menu-tab-inactive"><?php echo esc_html_x('Manage Themes', 'theme'); ?></a><a href="theme-install.php" class="menu-tabs"><?php echo esc_html( $title ); ?></a></h2> 62 63 63 64 <ul class="subsubsub"> -
trunk/wp-admin/themes.php
r12837 r13533 135 135 <div class="wrap"> 136 136 <?php screen_icon(); ?> 137 <h2>< ?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } ?></h2>137 <h2><a href="themes.php" class="menu-tabs"><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?></a> <a href="theme-install.php" class="menu-tabs menu-tab-inactive"><?php echo esc_html_x('Install Themes', 'theme'); ?></a><?php } ?></h2> 138 138 139 139 <h3><?php _e('Current Theme'); ?></h3>
Note: See TracChangeset
for help on using the changeset viewer.