diff --git a/wp-admin/index.php b/wp-admin/index.php index e04dacfb79..82719ad83c 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -81,7 +81,7 @@ if (0 < $numcomms) $numcomms = number_format($numcomms); $numcats = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->categories"); if (0 < $numcats) $numcats = number_format($numcats); ?> -

posts and %3$d comments, contained within %5$d categories.'), $numposts, 'edit.php', $numcomms, 'edit-comments.php', $numcats, 'categories.php'); ?>

+

posts and %3$s comments, contained within %5$s categories.'), $numposts, 'edit.php', $numcomms, 'edit-comments.php', $numcats, 'categories.php'); ?>

$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 "; } ?> diff --git a/wp-admin/themes.php b/wp-admin/themes.php index d22152cdfa..1f01f50104 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -65,7 +65,7 @@ $current_stylesheet = $themes[$current_theme]['Stylesheet']; "; + "; if ( $current ) echo "$title $version"; else echo "$title $version"; echo " - $author - $description - $action + $author + $description + $action "; } ?> diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 18d849467b..b994848860 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -541,3 +541,11 @@ textarea, input, select { margin: 0 0 .3em .6em; padding: 0 0 0 .6em; } + + +/* emeyer additions */ + +.active td {background: #BEB;} +.active .name {background: #9C9;} +.active.alternate td {background: #ADA;} +.active.alternate .name {background: #8B8;}