Make WordPress Core


Ignore:
Timestamp:
05/04/2011 08:15:05 PM (15 years ago)
Author:
markjaquith
Message:

Big UI style update. props koopersmith. see #17324

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r17364 r17800  
    7272<div class="wrap"><?php
    7373screen_icon();
     74
    7475if ( !is_multisite() ) : ?>
    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;
     76    <h2 class="nav-tab-wrapper">
     77        <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><?php
     78        if ( current_user_can('install_themes') ) :
     79            ?><a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a><?php
     80        endif;
    8081else : ?>
    81 <h2>
    82 <?php echo esc_html( $title ); ?>
     82    <h2>
     83        <?php echo esc_html( $title ); ?>
    8384<?php endif; ?>
    8485</h2>
Note: See TracChangeset for help on using the changeset viewer.