diff options
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index af845928e..bdcb97049 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -207,13 +207,18 @@ function system_themes_form() { '#value' => $theme->info, ); $options[$theme->name] = ''; - if (!empty($theme->status)) { - $status[] = $theme->name; + + if (!empty($theme->status) || $theme->name == variable_get('admin_theme', '0')) { $form[$theme->name]['operations'] = array('#value' => l(t('configure'), 'admin/build/themes/settings/'. $theme->name) ); } else { // Dummy element for drupal_render. Cleaner than adding a check in the theme function. $form[$theme->name]['operations'] = array(); + } + if (!empty($theme->status)) { + $status[] = $theme->name; + } + else { // Ensure this theme is compatible with this version of core. if (!isset($theme->info['core']) || $theme->info['core'] != DRUPAL_CORE_COMPATIBILITY) { $incompatible_core[] = $theme->name; |