diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 0d3a8d7..687e6c6 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -168,11 +168,12 @@ function system_themes_page() { // Require the 'content' region to make sure the main page // content has a common place in all themes. $theme->incompatible_core = !isset($theme->info['core']) || ($theme->info['core'] != DRUPAL_CORE_COMPATIBILITY) || (!isset($theme->info['regions']['content'])); + $theme->incompatible_info = ($theme->info['name'] == 'Name not specified'); $theme->incompatible_php = version_compare(phpversion(), $theme->info['php']) < 0; } $query['token'] = drupal_get_token('system-theme-operation-link'); $theme->operations = array(); - if (!empty($theme->status) || !$theme->incompatible_core && !$theme->incompatible_php) { + if (!empty($theme->status) || !$theme->incompatible_core && !$theme->incompatible_php && !$theme->incompatible_info) { // Create the operations links. $query['theme'] = $theme->name; if (drupal_theme_access($theme)) { @@ -2668,6 +2669,9 @@ function theme_system_themes_page($variables) { } $output .= '