Changeset 12949 for trunk/wp-admin/ms-users.php
- Timestamp:
- 02/04/2010 07:03:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-users.php
r12801 r12949 157 157 <tbody id="users" class="list:user user-list"> 158 158 <?php if ($user_list) { 159 $bgcolor = '';160 159 $class = ''; 161 160 foreach ( (array) $user_list as $user) { 162 161 $class = ('alternate' == $class) ? '' : 'alternate'; 163 162 164 $status_list = array( "spam" => "#faa", "deleted" => "#f55" ); 165 166 $bgcolour = ""; 163 $status_list = array( "spam" => "site-spammed", "deleted" => "site-deleted" ); 164 167 165 foreach ( $status_list as $status => $col ) { 168 if ( $user[$status] ) { 169 $bgcolour = "style='background: $col'"; 170 } 166 if ( $user[$status] ) 167 $class = $col; 171 168 } 172 169 173 170 ?> 174 171 175 <tr <?php echo $bgcolour; ?>class="<?php echo $class; ?>">172 <tr class="<?php echo $class; ?>"> 176 173 <?php 177 174 foreach( (array) $posts_columns as $column_name=>$column_display_name) :
Note: See TracChangeset
for help on using the changeset viewer.