From dac1550c16caa4efadaac5290d77dd0bc678a59a Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 22 Jul 2008 11:02:58 +0000 Subject: Count themes, fixes #689, props drmike git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1391 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/wpmu-themes.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wp-admin/wpmu-themes.php') diff --git a/wp-admin/wpmu-themes.php b/wp-admin/wpmu-themes.php index 8bbd41a..bccd4b5 100644 --- a/wp-admin/wpmu-themes.php +++ b/wp-admin/wpmu-themes.php @@ -33,13 +33,17 @@ $allowed_themes = get_site_allowed_themes(); $theme ) : + $total_theme_count++; $theme_key = wp_specialchars($theme['Stylesheet']); $class = ('alt' == $class) ? '' : 'alt'; $class1 = $enabled = $disabled = ''; if( isset( $allowed_themes[ $theme_key ] ) == true ) { $enabled = 'checked="checked" '; + $activated_themes_count++; $class1 = ' active'; } else { $disabled = 'checked="checked" '; @@ -62,6 +66,8 @@ $allowed_themes = get_site_allowed_themes();

' />

+

Total Themes Installed:
+Themes Activated:

-- cgit