diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-31 11:20:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-31 11:20:43 +0000 |
commit | 9f44fd1b86fdcc412a0ce7b2d3d2048e8564a979 (patch) | |
tree | c1b88928743e476c3f0ca18410c6682c1c373627 /modules/system/system.admin.inc | |
parent | 9e0e109d1d498521aa606567bfe628e55a75d912 (diff) | |
download | brdo-9f44fd1b86fdcc412a0ce7b2d3d2048e8564a979.tar.gz brdo-9f44fd1b86fdcc412a0ce7b2d3d2048e8564a979.tar.bz2 |
- Patch #536440 by Gábor Hojtsy: the attached patch moves the Structure >> Themes section to the top level Appearance item as outlined in the D7UX IA.
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 2b569dee4..e62799808 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -167,7 +167,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/structure/themes/settings/' . $theme->name) ); + $form[$theme->name]['operations'] = array('#markup' => l(t('configure'), 'admin/appearance/settings/' . $theme->name) ); } else { // Dummy element for drupal_render. Cleaner than adding a check in the theme function. @@ -293,7 +293,7 @@ function system_themes_form_submit($form, &$form_state) { menu_rebuild(); drupal_theme_rebuild(); drupal_set_message(t('The configuration options have been saved.')); - $form_state['redirect'] = 'admin/structure/themes'; + $form_state['redirect'] = 'admin/appearance'; // Notify locale module about new themes being enabled, so translations can // be imported. This might start a batch, and only return to the redirect |