summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-07-08 03:41:27 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-07-08 03:41:27 +0000
commit8f5c296cc08ee58206d204f61fe13abbbe050baf (patch)
treedf85fe532263b63fa5a911221a138a62440cfd5a /modules/system/system.admin.inc
parent893fba439bd0fa2d17075715a383a374ff2a4cc6 (diff)
downloadbrdo-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.inc4
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');
}