<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[12949] trunk/wp-admin: move ms css to ms.css, fixes #11790</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/12949">12949</a></dd>
<dt>Author</dt> <dd>wpmuguru</dd>
<dt>Date</dt> <dd>2010-02-04 19:03:08 +0000 (Thu, 04 Feb 2010)</dd>
</dl>
<h3>Log Message</h3>
<pre>move ms css to ms.css, fixes <a href="http://trac.wordpress.org/ticket/11790">#11790</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincssmscss">trunk/wp-admin/css/ms.css</a></li>
<li><a href="#trunkwpadminmssitesphp">trunk/wp-admin/ms-sites.php</a></li>
<li><a href="#trunkwpadminmsusersphp">trunk/wp-admin/ms-users.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincssmscss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/ms.css (12948 => 12949)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/ms.css        2010-02-04 18:57:32 UTC (rev 12948)
+++ trunk/wp-admin/css/ms.css        2010-02-04 19:03:08 UTC (rev 12949)
</span><span class="lines">@@ -1 +1 @@
</span><del>-#all-my-blogs-tab a.current{position:relative;padding-bottom:10px;}#all-my-blogs{position:absolute;top:30px;left:0;right:0;_width:100%;margin:4px 7px;padding:6px 10px;font-size:12px;}#all-my-blogs *{margin:0;}form#all-my-blogs p,form#all-my-blogs p *{vertical-align:middle;}#all-my-blogs a{font-size:10px;text-decoration:underline;margin:0 14px;}#all-my-blogs a:hover,#all-my-blogs a:active{text-decoration:none;}form#wpmu-search{position:absolute;right:0;top:0;}#adminmenu #menu-site div.wp-menu-image{background:transparent url("../images/site-admin.png") no-repeat scroll 0 -33px;}#adminmenu #menu-site:hover div.wp-menu-image{background:transparent url("../images/site-admin.png") no-repeat scroll 0 -1px;}#dashboard_right_now p.musub{margin-top:12px;border-top:1px solid #ececec;}#dashboard_right_now td.b a.musublink{font-size:16px;}
</del><span class="cx">\ No newline at end of file
</span><ins>+#all-my-blogs-tab a.current{position:relative;padding-bottom:10px;}#all-my-blogs{position:absolute;top:30px;left:0;right:0;_width:100%;margin:4px 7px;padding:6px 10px;font-size:12px;}#all-my-blogs *{margin:0;}form#all-my-blogs p,form#all-my-blogs p *{vertical-align:middle;}#all-my-blogs a{font-size:10px;text-decoration:underline;margin:0 14px;}#all-my-blogs a:hover,#all-my-blogs a:active{text-decoration:none;}form#wpmu-search{position:absolute;right:0;top:0;}#adminmenu #menu-site div.wp-menu-image{background:transparent url("../images/site-admin.png") no-repeat scroll 0 -33px;}#adminmenu #menu-site:hover div.wp-menu-image{background:transparent url("../images/site-admin.png") no-repeat scroll 0 -1px;}#dashboard_right_now p.musub{margin-top:12px;border-top:1px solid #ececec;}#dashboard_right_now td.b a.musublink{font-size:16px;}tr.site-deleted{background:#f55;}tr.site-spammed{background:#faa;}tr.site-archived{background:#fee;}
</ins></span></pre></div>
<a id="trunkwpadminmssitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-sites.php (12948 => 12949)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-sites.php        2010-02-04 18:57:32 UTC (rev 12948)
+++ trunk/wp-admin/ms-sites.php        2010-02-04 19:03:08 UTC (rev 12949)
</span><span class="lines">@@ -445,17 +445,15 @@
</span><span class="cx">                         <tbody id="the-list">
</span><span class="cx">                         <?php
</span><span class="cx">                         if ( $blog_list ) {
</span><del>-                                $bgcolor = $class = '';
-                                $status_list = array( 'archived' => array( '#fee', __('Archived') ), 'spam' => array( '#faa', __('Spam') ), 'deleted' => array( '#f55', __('Deleted') ) );
</del><ins>+                                $status_list = array( 'archived' => array( 'site-archived', __('Archived') ), 'spam' => array( 'site-spammed', __('Spam') ), 'deleted' => array( 'site-deleted', __('Deleted') ) );
</ins><span class="cx">                                 foreach ( $blog_list as $blog ) {
</span><span class="cx">                                         $class = ('alternate' == $class) ? '' : 'alternate';
</span><span class="cx">                                         reset( $status_list );
</span><span class="cx">
</span><del>-                                        $bgcolour = '';
</del><span class="cx">                                         $blog_states = array();
</span><span class="cx">                                         foreach ( $status_list as $status => $col ) {
</span><span class="cx">                                                 if ( get_blog_status( $blog['blog_id'], $status ) == 1 ) {
</span><del>-                                                        $bgcolour = "style='background: {$col[0]}'";
</del><ins>+                                                        $class = $col[0];
</ins><span class="cx">                                                         $blog_states[] = $col[1];
</span><span class="cx">                                                 }
</span><span class="cx">                                         }
</span><span class="lines">@@ -470,7 +468,7 @@
</span><span class="cx">                                                         $blog_state .= "<span class='post-state'>$state$sep</span>";
</span><span class="cx">                                                 }
</span><span class="cx">                                         }
</span><del>-                                        echo "<tr $bgcolour class='$class'>";
</del><ins>+                                        echo "<tr class='$class'>";
</ins><span class="cx">
</span><span class="cx">                                         $blogname = ( is_subdomain_install() ) ? str_replace('.'.$current_site->domain, '', $blog['domain']) : $blog['path'];
</span><span class="cx">                                         foreach ( $posts_columns as $column_name=>$column_display_name ) {
</span></span></pre></div>
<a id="trunkwpadminmsusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-users.php (12948 => 12949)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-users.php        2010-02-04 18:57:32 UTC (rev 12948)
+++ trunk/wp-admin/ms-users.php        2010-02-04 19:03:08 UTC (rev 12949)
</span><span class="lines">@@ -156,23 +156,20 @@
</span><span class="cx">                         </thead>
</span><span class="cx">                         <tbody id="users" class="list:user user-list">
</span><span class="cx">                         <?php if ($user_list) {
</span><del>-                                $bgcolor = '';
</del><span class="cx">                                 $class = '';
</span><span class="cx">                                 foreach ( (array) $user_list as $user) {
</span><span class="cx">                                         $class = ('alternate' == $class) ? '' : 'alternate';
</span><span class="cx">
</span><del>-                                        $status_list = array( "spam" => "#faa", "deleted" => "#f55" );
</del><ins>+                                        $status_list = array( "spam" => "site-spammed", "deleted" => "site-deleted" );
</ins><span class="cx">
</span><del>-                                        $bgcolour = "";
</del><span class="cx">                                         foreach ( $status_list as $status => $col ) {
</span><del>-                                                if ( $user[$status] ) {
-                                                        $bgcolour = "style='background: $col'";
-                                                }
</del><ins>+                                                if ( $user[$status] )
+                                                        $class = $col;
</ins><span class="cx">                                         }
</span><span class="cx">
</span><span class="cx">                                         ?>
</span><span class="cx">
</span><del>-                                        <tr <?php echo $bgcolour; ?> class="<?php echo $class; ?>">
</del><ins>+                                        <tr class="<?php echo $class; ?>">
</ins><span class="cx">                                         <?php
</span><span class="cx">                                         foreach( (array) $posts_columns as $column_name=>$column_display_name) :
</span><span class="cx">                                                 switch($column_name) {
</span></span></pre>
</div>
</div>
</body>
</html>