Make WordPress Core


Ignore:
Timestamp:
02/04/2010 07:03:08 PM (14 years ago)
Author:
wpmuguru
Message:

move ms css to ms.css, fixes #11790

File:
1 edited

Legend:

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

    r12934 r12949  
    446446            <?php
    447447            if ( $blog_list ) {
    448                 $bgcolor = $class = '';
    449                 $status_list = array( 'archived' => array( '#fee', __('Archived') ), 'spam' => array( '#faa', __('Spam') ), 'deleted' => array( '#f55', __('Deleted') ) );
     448                $status_list = array( 'archived' => array( 'site-archived', __('Archived') ), 'spam' => array( 'site-spammed', __('Spam') ), 'deleted' => array( 'site-deleted', __('Deleted') ) );
    450449                foreach ( $blog_list as $blog ) {
    451450                    $class = ('alternate' == $class) ? '' : 'alternate';
    452451                    reset( $status_list );
    453452
    454                     $bgcolour = '';
    455453                    $blog_states = array();
    456454                    foreach ( $status_list as $status => $col ) {
    457455                        if ( get_blog_status( $blog['blog_id'], $status ) == 1 ) {
    458                             $bgcolour = "style='background: {$col[0]}'";
     456                            $class = $col[0];
    459457                            $blog_states[] = $col[1];
    460458                        }
     
    471469                        }
    472470                    }
    473                     echo "<tr $bgcolour class='$class'>";
     471                    echo "<tr class='$class'>";
    474472
    475473                    $blogname = ( is_subdomain_install() ) ? str_replace('.'.$current_site->domain, '', $blog['domain']) : $blog['path'];
Note: See TracChangeset for help on using the changeset viewer.