move ms css to ms.css, fixes #11790
git-svn-id: http://svn.automattic.com/wordpress/trunk@12949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f8149616d
commit
1961703968
|
@ -1 +1 @@
|
||||||
#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;}
|
#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;}
|
||||||
|
|
|
@ -445,17 +445,15 @@ switch ( $action ) {
|
||||||
<tbody id="the-list">
|
<tbody id="the-list">
|
||||||
<?php
|
<?php
|
||||||
if ( $blog_list ) {
|
if ( $blog_list ) {
|
||||||
$bgcolor = $class = '';
|
$status_list = array( 'archived' => array( 'site-archived', __('Archived') ), 'spam' => array( 'site-spammed', __('Spam') ), 'deleted' => array( 'site-deleted', __('Deleted') ) );
|
||||||
$status_list = array( 'archived' => array( '#fee', __('Archived') ), 'spam' => array( '#faa', __('Spam') ), 'deleted' => array( '#f55', __('Deleted') ) );
|
|
||||||
foreach ( $blog_list as $blog ) {
|
foreach ( $blog_list as $blog ) {
|
||||||
$class = ('alternate' == $class) ? '' : 'alternate';
|
$class = ('alternate' == $class) ? '' : 'alternate';
|
||||||
reset( $status_list );
|
reset( $status_list );
|
||||||
|
|
||||||
$bgcolour = '';
|
|
||||||
$blog_states = array();
|
$blog_states = array();
|
||||||
foreach ( $status_list as $status => $col ) {
|
foreach ( $status_list as $status => $col ) {
|
||||||
if ( get_blog_status( $blog['blog_id'], $status ) == 1 ) {
|
if ( get_blog_status( $blog['blog_id'], $status ) == 1 ) {
|
||||||
$bgcolour = "style='background: {$col[0]}'";
|
$class = $col[0];
|
||||||
$blog_states[] = $col[1];
|
$blog_states[] = $col[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -470,7 +468,7 @@ switch ( $action ) {
|
||||||
$blog_state .= "<span class='post-state'>$state$sep</span>";
|
$blog_state .= "<span class='post-state'>$state$sep</span>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "<tr $bgcolour class='$class'>";
|
echo "<tr class='$class'>";
|
||||||
|
|
||||||
$blogname = ( is_subdomain_install() ) ? str_replace('.'.$current_site->domain, '', $blog['domain']) : $blog['path'];
|
$blogname = ( is_subdomain_install() ) ? str_replace('.'.$current_site->domain, '', $blog['domain']) : $blog['path'];
|
||||||
foreach ( $posts_columns as $column_name=>$column_display_name ) {
|
foreach ( $posts_columns as $column_name=>$column_display_name ) {
|
||||||
|
|
|
@ -156,23 +156,20 @@ if ( isset($_GET['updated']) && $_GET['updated'] == 'true' ) {
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="users" class="list:user user-list">
|
<tbody id="users" class="list:user user-list">
|
||||||
<?php if ($user_list) {
|
<?php if ($user_list) {
|
||||||
$bgcolor = '';
|
|
||||||
$class = '';
|
$class = '';
|
||||||
foreach ( (array) $user_list as $user) {
|
foreach ( (array) $user_list as $user) {
|
||||||
$class = ('alternate' == $class) ? '' : 'alternate';
|
$class = ('alternate' == $class) ? '' : 'alternate';
|
||||||
|
|
||||||
$status_list = array( "spam" => "#faa", "deleted" => "#f55" );
|
$status_list = array( "spam" => "site-spammed", "deleted" => "site-deleted" );
|
||||||
|
|
||||||
$bgcolour = "";
|
|
||||||
foreach ( $status_list as $status => $col ) {
|
foreach ( $status_list as $status => $col ) {
|
||||||
if ( $user[$status] ) {
|
if ( $user[$status] )
|
||||||
$bgcolour = "style='background: $col'";
|
$class = $col;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<tr <?php echo $bgcolour; ?> class="<?php echo $class; ?>">
|
<tr class="<?php echo $class; ?>">
|
||||||
<?php
|
<?php
|
||||||
foreach( (array) $posts_columns as $column_name=>$column_display_name) :
|
foreach( (array) $posts_columns as $column_name=>$column_display_name) :
|
||||||
switch($column_name) {
|
switch($column_name) {
|
||||||
|
|
Loading…
Reference in New Issue