Index: themes.php =================================================================== --- themes.php (revision 2420) +++ themes.php (working copy) @@ -65,7 +65,7 @@ "; + "; if ( $current ) echo "$title $version"; else echo "$title $version"; echo " - $author - $description - $action + $author + $description + $action "; } ?> Index: plugins.php =================================================================== --- plugins.php (revision 2420) +++ plugins.php (working copy) @@ -72,22 +72,24 @@ $plugin_data) { - $style = ('class="alternate"' == $style) ? '' : 'class="alternate"'; + $style = ('class="alternate"' == $style|| 'class="alternate active"' == $style) ? '' : 'alternate'; if (!empty($current_plugins) && in_array($plugin_file, $current_plugins)) { $action = "".__('Deactivate').""; $plugin_data['Title'] = "{$plugin_data['Title']}"; + $style .= $style == 'alternate' ? ' active' : 'active'; } else { $action = "".__('Activate').""; } $plugin_data['Description'] = wp_kses($plugin_data['Description'], array('a' => array('href' => array(),'title' => array()),'abbr' => array('title' => array()),'acronym' => array('title' => array()),'code' => array(),'em' => array(),'strong' => array()) ); ; + if ($style != '') $style = 'class="' . $style . '"'; echo " - {$plugin_data['Title']} - {$plugin_data['Version']} - {$plugin_data['Author']} - {$plugin_data['Description']} - $action + {$plugin_data['Title']} + {$plugin_data['Version']} + {$plugin_data['Author']} + {$plugin_data['Description']} + $action "; } ?>