Make WordPress Core


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

Big UI style update. props koopersmith. see #17324

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/sites.php

    r17322 r17800  
    100100<div class="wrap">
    101101<?php screen_icon('ms-admin'); ?>
    102 <h2><?php _e('Sites') ?>
    103 <?php echo $msg; ?>
    104 <?php if ( current_user_can( 'create_sites') ) : ?>
    105         <a href="<?php echo network_admin_url('site-new.php'); ?>" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'site' ); ?></a>
    106 <?php endif; ?>
    107 
    108 <?php if ( isset( $_REQUEST['s'] ) && $_REQUEST['s'] ) {
     102<h2><?php
     103_e('Sites');
     104echo $msg;
     105if ( current_user_can( 'create_sites') ) {
     106    favorite_actions( $current_screen );
     107}
     108if ( isset( $_REQUEST['s'] ) && $_REQUEST['s'] ) {
    109109    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $s ) );
    110110} ?>
Note: See TracChangeset for help on using the changeset viewer.