diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-08 03:41:27 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-08 03:41:27 +0000 |
commit | 8f5c296cc08ee58206d204f61fe13abbbe050baf (patch) | |
tree | df85fe532263b63fa5a911221a138a62440cfd5a /modules/system/system.admin.inc | |
parent | 893fba439bd0fa2d17075715a383a374ff2a4cc6 (diff) | |
download | brdo-8f5c296cc08ee58206d204f61fe13abbbe050baf.tar.gz brdo-8f5c296cc08ee58206d204f61fe13abbbe050baf.tar.bz2 |
#845742 by Damien Tournoud: Make Bartik the default core theme.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 78901f4fa..08f2240b0 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -203,7 +203,7 @@ function system_themes_page() { $themes = system_rebuild_theme_data(); uasort($themes, 'system_sort_modules_by_info_name'); - $theme_default = variable_get('theme_default', 'garland'); + $theme_default = variable_get('theme_default', 'bartik'); $theme_groups = array(); foreach ($themes as &$theme) { @@ -389,7 +389,7 @@ function system_theme_disable() { // Check if the specified theme is one recognized by the system. if (!empty($themes[$theme])) { - if ($theme == variable_get('theme_default', 'garland')) { + if ($theme == variable_get('theme_default', 'bartik')) { // Don't disable the default theme. drupal_set_message(t('%theme is the default theme and cannot be disabled.', array('%theme' => $themes[$theme]->info['name'])), 'error'); } |