From f469a9082d4117044759a0c9209bc6259b4f8860 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 11 Aug 2010 01:06:44 +0000 Subject: - Patch #865072 by bleen18, jhodgdon: Bartik is default theme now ... documentation & tests need to be changed. --- UPGRADE.txt | 3 ++- modules/help/help.api.php | 2 +- modules/simpletest/tests/batch.test | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/UPGRADE.txt b/UPGRADE.txt index fb09f082a..5b8d0471b 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -45,7 +45,8 @@ Let's begin! option is at http://www.example.com/?q=admin/config/development/maintenance (replace www.example.com with your installation's domain name and path). -4. If using a custom or contributed theme, switch to Bartik. +4. If using a custom or contributed theme, switch to a core theme such as + Bartik or Garland. 5. Disable all custom and contributed modules. This includes any modules that are not listed under 'Core - required' or 'Core - optional' on diff --git a/modules/help/help.api.php b/modules/help/help.api.php index d8ffbcbd7..83314e8fd 100644 --- a/modules/help/help.api.php +++ b/modules/help/help.api.php @@ -50,7 +50,7 @@ function hook_help($path, $arg) { switch ($path) { // Main module help for the block module case 'admin/help#block': - return '

' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Bartik, for example, implements the regions "first sidebar", "second sidebar", "featured", "content", "header", "footer", etc., and a block may appear in any one of these areas. The blocks administration page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', array('@blocks' => url('admin/structure/block'))) . '

'; + return '

' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Bartik, for example, implements the regions "Sidebar first", "Sidebar second", "Featured", "Content", "Header", "Footer", etc., and a block may appear in any one of these areas. The blocks administration page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', array('@blocks' => url('admin/structure/block'))) . '

'; // Help for another path in the block module case 'admin/structure/block': diff --git a/modules/simpletest/tests/batch.test b/modules/simpletest/tests/batch.test index 82385c5e9..d8aeb468c 100644 --- a/modules/simpletest/tests/batch.test +++ b/modules/simpletest/tests/batch.test @@ -274,6 +274,7 @@ class BatchPageTestCase extends DrupalWebTestCase { function testBatchProgressPageTheme() { // Make sure that the page which starts the batch (an administrative page) // is using a different theme than would normally be used by the batch API. + variable_set('theme_default', 'bartik'); variable_set('admin_theme', 'seven'); // Visit an administrative page that runs a test batch, and check that the // theme that was used during batch execution (which the batch callback -- cgit v1.2.3