? sites/default/files ? sites/default/settings.php Index: modules/block/block.test =================================================================== RCS file: /cvs/drupal/drupal/modules/block/block.test,v retrieving revision 1.25 diff -u -p -r1.25 block.test --- modules/block/block.test 3 Aug 2009 03:04:33 -0000 1.25 +++ modules/block/block.test 17 Aug 2009 04:15:46 -0000 @@ -217,7 +217,7 @@ class NonDefaultBlockAdmin extends Drupa function testNonDefaultBlockAdmin() { $admin_user = $this->drupalCreateUser(array('administer blocks', 'administer site configuration')); $this->drupalLogin($admin_user); - $this->drupalPost('admin/appearance', array('status[stark]' => 1), t('Save configuration')); + $this->drupalPost('admin/appearance/theme', array('status[stark]' => 1), t('Save configuration')); $this->drupalGet('admin/structure/block/list/stark'); $this->assertRaw('stark/layout.css', t('Stark CSS found')); } @@ -258,7 +258,7 @@ class NewDefaultThemeBlocks extends Drup // Turn on the Stark theme and ensure that it contains all of the blocks // that Garland did. - $this->drupalPost('admin/appearance', array('theme_default' => 'stark'), t('Save configuration')); + $this->drupalPost('admin/appearance/theme', array('theme_default' => 'stark'), t('Save configuration')); $result = db_query("SELECT * FROM {block} WHERE theme='stark'"); foreach ($result as $block) { unset($block->theme, $block->bid); @@ -293,7 +293,7 @@ class BlockAdminThemeTestCase extends Dr // Enable admin theme and confirm that tab is accessible. $edit['admin_theme'] = 'stark'; - $this->drupalPost('admin/appearance', $edit, t('Save configuration')); + $this->drupalPost('admin/appearance/theme', $edit, t('Save configuration')); $this->drupalGet('admin/structure/block/list/stark'); $this->assertResponse(200, t('The block admin page for the admin theme can be accessed')); } Index: modules/help/help.module =================================================================== RCS file: /cvs/drupal/drupal/modules/help/help.module,v retrieving revision 1.87 diff -u -p -r1.87 help.module --- modules/help/help.module 12 Aug 2009 23:51:19 -0000 1.87 +++ modules/help/help.module 17 Aug 2009 04:15:46 -0000 @@ -40,7 +40,7 @@ function help_help($path, $arg) { $output .= '
    '; $output .= '
  1. ' . t('Configure your website Once logged in, visit the administration section, where you can customize and configure all aspects of your website.', array('@admin' => url('admin'), '@config' => url('admin/settings'))) . '
  2. '; $output .= '
  3. ' . t('Enable additional functionality Next, visit the module list and enable features which suit your specific needs. You can find additional modules in the Drupal modules download section.', array('@modules' => url('admin/config/modules'), '@download_modules' => 'http://drupal.org/project/modules')) . '
  4. '; - $output .= '
  5. ' . t('Customize your website design To change the "look and feel" of your website, visit the themes section. You may choose from one of the included themes or download additional themes from the Drupal themes download section.', array('@themes' => url('admin/appearance'), '@download_themes' => 'http://drupal.org/project/themes')) . '
  6. '; + $output .= '
  7. ' . t('Customize your website design To change the "look and feel" of your website, visit the themes section. You may choose from one of the included themes or download additional themes from the Drupal themes download section.', array('@themes' => url('admin/appearance/theme'), '@download_themes' => 'http://drupal.org/project/themes')) . '
  8. '; $output .= '
  9. ' . t('Start posting content Finally, you can add new content for your website.', array('@content' => url('node/add'))) . '
  10. '; $output .= '
'; $output .= '

' . t('For more information, please refer to the specific topics listed in the next section, or the online Drupal handbooks. You may also post at the Drupal forum, or view the wide range of other support options available.', array('@help' => url('admin/help'), '@handbook' => 'http://drupal.org/handbooks', '@forum' => 'http://drupal.org/forum', '@support' => 'http://drupal.org/support')) . '

'; Index: modules/system/system.admin.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v retrieving revision 1.179 diff -u -p -r1.179 system.admin.inc --- modules/system/system.admin.inc 16 Aug 2009 23:20:43 -0000 1.179 +++ modules/system/system.admin.inc 17 Aug 2009 04:15:49 -0000 @@ -218,7 +218,7 @@ function system_themes_form() { $options[$theme->name] = $theme->info['name']; if (!empty($theme->status) || $theme->name == variable_get('admin_theme', 0)) { - $form[$theme->name]['operations'] = array('#markup' => l(t('configure'), 'admin/appearance/settings/' . $theme->name) ); + $form[$theme->name]['operations'] = array('#markup' => l(t('configure'), 'admin/appearance/theme/settings/' . $theme->name) ); } else { // Dummy element for drupal_render. Cleaner than adding a check in the theme function. @@ -343,7 +343,7 @@ function system_themes_form_submit($form menu_rebuild(); drupal_theme_rebuild(); drupal_set_message(t('The configuration options have been saved.')); - $form_state['redirect'] = 'admin/appearance'; + $form_state['redirect'] = 'admin/appearance/theme'; // Notify locale module about new themes being enabled, so translations can // be imported. This might start a batch, and only return to the redirect Index: modules/system/system.css =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.css,v retrieving revision 1.59 diff -u -p -r1.59 system.css --- modules/system/system.css 12 Aug 2009 23:51:19 -0000 1.59 +++ modules/system/system.css 17 Aug 2009 04:15:50 -0000 @@ -513,7 +513,7 @@ html.js .js-hide { } /* -** Styles for the system themes page (admin/appearance) +** Styles for the system themes page (admin/appearance/theme) */ #system-themes-form div.incompatible { font-weight: bold; Index: modules/system/system.module =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.module,v retrieving revision 1.748 diff -u -p -r1.748 system.module --- modules/system/system.module 15 Aug 2009 15:57:44 -0000 1.748 +++ modules/system/system.module 17 Aug 2009 04:15:52 -0000 @@ -93,7 +93,7 @@ function system_help($path, $arg) { $output = '

' . t('The system module is at the foundation of your Drupal website, and provides basic but extensible functionality for use by other modules and themes. Some integral elements of Drupal are contained in and managed by the system module, including caching, enabling or disabling of modules and themes, preparing and displaying the administrative page, and configuring fundamental site settings. A number of key system maintenance operations are also part of the system module.') . '

'; $output .= '

' . t('The system module provides:') . '

'; $output .= ''; @@ -101,15 +101,15 @@ function system_help($path, $arg) { return $output; case 'admin/by-module': return '

' . t('This page shows you all available administration tasks for each module.') . '

'; - case 'admin/appearance': + case 'admin/appearance/theme': $output = '

' . t('Select which themes are available to your users and specify the default theme. To configure site-wide display settings, click the "configure" task above. Alternatively, to override these settings in a specific theme, click the "configure" link for that theme. Note that different themes may have different regions available for displaying content; for consistency in presentation, you may wish to enable only one theme.') . '

'; $output .= '

' . t('To change the appearance of your site, a number of contributed themes are available.', array('@themes' => 'http://drupal.org/project/themes')) . '

'; return $output; - case 'admin/appearance/settings/' . $arg[4]: + case 'admin/appearance/theme/settings/' . $arg[5]: - $reference = explode('.', $arg[4], 2); + $reference = explode('.', $arg[5], 2); $theme = array_pop($reference); - return '

' . t('These options control the display settings for the %template theme. When your site is displayed using this theme, these settings will be used. By clicking "Reset to defaults," you can choose to use the global settings for this theme.', array('%template' => $theme, '@global' => url('admin/appearance/settings'))) . '

'; + return '

' . t('These options control the display settings for the %template theme. When your site is displayed using this theme, these settings will be used. By clicking "Reset to defaults," you can choose to use the global settings for this theme.', array('%template' => $theme, '@global' => url('admin/appearance/theme/settings'))) . '

'; - case 'admin/appearance/settings': + case 'admin/appearance/theme/settings': return '

' . t('These options control the default display settings for your entire site, across all themes. Unless they have been overridden by a specific theme, these settings will be used.') . '

'; case 'admin/config/modules': $output = '

' . t('Modules are plugins that extend Drupal\'s core functionality. To further extend your site\'s functionality, a number of contributed modules are available for download.', array('@permissions' => url('admin/settings/permissions'), '@modules' => 'http://drupal.org/project/modules')) . '

'; @@ -534,35 +534,44 @@ function system_menu() { 'access callback' => 'system_admin_menu_block_access', 'access arguments' => array('admin/structure', 'access administration pages'), ); - // Appearance. $items['admin/appearance'] = array( 'title' => 'Appearance', + 'description' => 'Control how your site get displayed.', + 'position' => 'right', + 'weight' => -6, + 'page callback' => 'system_admin_menu_block_page', + 'access callback' => 'system_admin_menu_block_access', + 'access arguments' => array('admin/appearance', 'access administration pages'), + ); + // Appearance. + $items['admin/appearance/theme'] = array( + 'title' => 'Themes', + 'description' => 'Select the default theme for your site.', 'page callback' => 'drupal_get_form', 'page arguments' => array('system_themes_form'), 'access arguments' => array('administer site configuration'), 'weight' => -6, ); - $items['admin/appearance/select'] = array( + $items['admin/appearance/theme/select'] = array( 'title' => 'List', - 'description' => 'Select the default theme for your site.', 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -1, ); - $items['admin/appearance/settings'] = array( + $items['admin/appearance/theme/settings'] = array( 'title' => 'Configure', 'page arguments' => array('system_theme_settings'), 'access arguments' => array('administer site configuration'), 'type' => MENU_LOCAL_TASK, ); // Theme configuration subtabs. - $items['admin/appearance/settings/global'] = array( + $items['admin/appearance/theme/settings/global'] = array( 'title' => 'Global settings', 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -1, ); foreach (list_themes() as $theme) { - $items['admin/appearance/settings/' . $theme->name] = array( + $items['admin/appearance/theme/settings/' . $theme->name] = array( 'title' => $theme->info['name'], 'page arguments' => array('system_theme_settings', $theme->name), 'type' => MENU_LOCAL_TASK, Index: modules/system/system.test =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.test,v retrieving revision 1.63 diff -u -p -r1.63 system.test --- modules/system/system.test 12 Aug 2009 23:51:19 -0000 1.63 +++ modules/system/system.test 17 Aug 2009 04:15:53 -0000 @@ -925,7 +925,7 @@ class SystemThemeFunctionalTest extends 'admin_theme' => 'garland', 'node_admin_theme' => TRUE, ); - $this->drupalPost('admin/appearance', $edit, t('Save configuration')); + $this->drupalPost('admin/appearance/theme', $edit, t('Save configuration')); $this->drupalGet('admin'); $this->assertRaw('themes/garland', t('Administration theme used on an administration page.')); @@ -943,7 +943,7 @@ class SystemThemeFunctionalTest extends $edit = array( 'node_admin_theme' => FALSE, ); - $this->drupalPost('admin/appearance', $edit, t('Save configuration')); + $this->drupalPost('admin/appearance/theme', $edit, t('Save configuration')); $this->drupalGet('admin'); $this->assertRaw('themes/garland', t('Administration theme used on an administration page.')); @@ -957,7 +957,7 @@ class SystemThemeFunctionalTest extends 'admin_theme' => '0', 'node_admin_theme' => FALSE, ); - $this->drupalPost('admin/appearance', $edit, t('Save configuration')); + $this->drupalPost('admin/appearance/theme', $edit, t('Save configuration')); $this->drupalGet('admin'); $this->assertRaw('themes/garland', t('Site default theme used on administration page.')); Index: modules/update/update.compare.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/update/update.compare.inc,v retrieving revision 1.26 diff -u -p -r1.26 update.compare.inc --- modules/update/update.compare.inc 12 Aug 2009 23:51:19 -0000 1.26 +++ modules/update/update.compare.inc 17 Aug 2009 04:15:54 -0000 @@ -616,7 +616,7 @@ function update_project_cache($cid) { // On certain paths, we should clear the cache and recompute the projects or // update status of the site to avoid presenting stale information. $q = $_GET['q']; - $paths = array('admin/config/modules', 'admin/appearance', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check'); + $paths = array('admin/config/modules', 'admin/appearance/theme', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check'); if (in_array($q, $paths)) { _update_cache_clear($cid); } Index: modules/update/update.module =================================================================== RCS file: /cvs/drupal/drupal/modules/update/update.module,v retrieving revision 1.41 diff -u -p -r1.41 update.module --- modules/update/update.module 12 Aug 2009 23:51:19 -0000 1.41 +++ modules/update/update.module 17 Aug 2009 04:15:55 -0000 @@ -72,7 +72,7 @@ function update_help($path, $arg) { $output .= '

' . t('To extend the functionality or to change the look of your site, a number of contributed modules and themes are available.', array('@modules' => 'http://drupal.org/project/modules', '@themes' => 'http://drupal.org/project/themes')) . '

'; $output .= '

' . t('Each time Drupal core or a contributed module or theme is updated, it is important that update.php is run.', array('@update-php' => url($base_url . '/update.php', array('external' => TRUE)))) . '

'; return $output; - case 'admin/appearance': + case 'admin/appearance/theme': case 'admin/config/modules': include_once DRUPAL_ROOT . '/includes/install.inc'; $status = update_requirements('runtime');