diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-01 15:57:40 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-01 15:57:40 +0000 |
commit | f79924352fc9b1caa5e734e62f0dfa66844f31fb (patch) | |
tree | ead1f96e364bfa00aa4aedc2f21fa3f42e024956 /modules/system/system.admin.inc | |
parent | 7de42b4263e255e0fa217fb4729e9c0d32f91de8 (diff) | |
download | brdo-f79924352fc9b1caa5e734e62f0dfa66844f31fb.tar.gz brdo-f79924352fc9b1caa5e734e62f0dfa66844f31fb.tar.bz2 |
#632030 by JohnAlbin: Merge Garland and Minnelli into one theme.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 33e22362f..8489287ff 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -307,8 +307,10 @@ function system_themes_page() { // There are two possible theme groups. $theme_group_titles = array( 'enabled' => format_plural(count($theme_groups['enabled']), 'Enabled theme', 'Enabled themes'), - 'disabled' => format_plural(count($theme_groups['disabled']), 'Disabled theme', 'Disabled themes'), ); + if (!empty($theme_groups['disabled'])) { + $theme_group_titles['disabled'] = format_plural(count($theme_groups['disabled']), 'Disabled theme', 'Disabled themes'); + }; uasort($theme_groups['enabled'], 'system_sort_themes'); drupal_alter('system_themes_page', $theme_groups); |