From 03dce26a1e58d0dfdecc7b6b680e1c8523f04bc4 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 14 Feb 2005 05:36:54 +0000 Subject: [PATCH] Highlight current theme - http://mosquito.wordpress.org/view.php?id=868 git-svn-id: https://develop.svn.wordpress.org/trunk@2325 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/themes.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 36786ab2d7..d22152cdfa 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -62,7 +62,7 @@ $current_stylesheet = $themes[$current_theme]['Stylesheet']; - + ' . __('Active Theme') . ''; + $current = true; } else { $action = "" . __('Select') . ''; + $current = false; } $theme = ('class="alternate"' == $theme) ? '' : 'class="alternate"'; echo " - - $title $version + "; +if ( $current ) + echo "$title $version"; +else + echo "$title $version"; +echo " $author $description $action