From 8f5c296cc08ee58206d204f61fe13abbbe050baf Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 8 Jul 2010 03:41:27 +0000 Subject: #845742 by Damien Tournoud: Make Bartik the default core theme. --- profiles/standard/standard.install | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'profiles/standard') diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index cb1b45c66..bae5a19e3 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -62,11 +62,13 @@ function standard_install() { filter_format_save($full_html_format); // Enable some standard blocks. + $default_theme = variable_get('theme_default', 'bartik'); + $admin_theme = 'seven'; $values = array( array( 'module' => 'system', 'delta' => 'main', - 'theme' => 'garland', + 'theme' => $default_theme, 'status' => 1, 'weight' => 0, 'region' => 'content', @@ -76,7 +78,7 @@ function standard_install() { array( 'module' => 'search', 'delta' => 'form', - 'theme' => 'garland', + 'theme' => $default_theme, 'status' => 1, 'weight' => -1, 'region' => 'sidebar_first', @@ -86,7 +88,7 @@ function standard_install() { array( 'module' => 'node', 'delta' => 'recent', - 'theme' => 'seven', + 'theme' => $admin_theme, 'status' => 1, 'weight' => 10, 'region' => 'dashboard_main', @@ -96,7 +98,7 @@ function standard_install() { array( 'module' => 'user', 'delta' => 'login', - 'theme' => 'garland', + 'theme' => $default_theme, 'status' => 1, 'weight' => 0, 'region' => 'sidebar_first', @@ -106,7 +108,7 @@ function standard_install() { array( 'module' => 'system', 'delta' => 'navigation', - 'theme' => 'garland', + 'theme' => $default_theme, 'status' => 1, 'weight' => 0, 'region' => 'sidebar_first', @@ -116,7 +118,7 @@ function standard_install() { array( 'module' => 'system', 'delta' => 'management', - 'theme' => 'garland', + 'theme' => $default_theme, 'status' => 1, 'weight' => 1, 'region' => 'sidebar_first', @@ -126,7 +128,7 @@ function standard_install() { array( 'module' => 'system', 'delta' => 'powered-by', - 'theme' => 'garland', + 'theme' => $default_theme, 'status' => 1, 'weight' => 10, 'region' => 'footer', @@ -136,7 +138,7 @@ function standard_install() { array( 'module' => 'system', 'delta' => 'help', - 'theme' => 'garland', + 'theme' => $default_theme, 'status' => 1, 'weight' => 0, 'region' => 'help', @@ -146,7 +148,7 @@ function standard_install() { array( 'module' => 'system', 'delta' => 'main', - 'theme' => 'seven', + 'theme' => $admin_theme, 'status' => 1, 'weight' => 0, 'region' => 'content', @@ -156,7 +158,7 @@ function standard_install() { array( 'module' => 'system', 'delta' => 'help', - 'theme' => 'seven', + 'theme' => $admin_theme, 'status' => 1, 'weight' => 0, 'region' => 'help', @@ -166,7 +168,7 @@ function standard_install() { array( 'module' => 'user', 'delta' => 'login', - 'theme' => 'seven', + 'theme' => $admin_theme, 'status' => 1, 'weight' => 10, 'region' => 'content', @@ -176,7 +178,7 @@ function standard_install() { array( 'module' => 'user', 'delta' => 'new', - 'theme' => 'seven', + 'theme' => $admin_theme, 'status' => 1, 'weight' => 0, 'region' => 'dashboard_sidebar', @@ -186,7 +188,7 @@ function standard_install() { array( 'module' => 'search', 'delta' => 'form', - 'theme' => 'seven', + 'theme' => $admin_theme, 'status' => 1, 'weight' => -10, 'region' => 'dashboard_sidebar', -- cgit v1.2.3