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/update | |
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/update')
-rw-r--r-- | modules/update/update.compare.inc | 2 | ||||
-rw-r--r-- | modules/update/update.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc index 65e5822cc..9e62cbdd1 100644 --- a/modules/update/update.compare.inc +++ b/modules/update/update.compare.inc @@ -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/structure/modules', 'admin/structure/themes', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check'); + $paths = array('admin/structure/modules', 'admin/appearance', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check'); if (in_array($q, $paths)) { _update_cache_clear($cid); } diff --git a/modules/update/update.module b/modules/update/update.module index 2ba9add43..e99353a03 100644 --- a/modules/update/update.module +++ b/modules/update/update.module @@ -72,7 +72,7 @@ function update_help($path, $arg) { $output .= '<p>' . t('To extend the functionality or to change the look of your site, a number of contributed <a href="@modules">modules</a> and <a href="@themes">themes</a> are available.', array('@modules' => 'http://drupal.org/project/modules', '@themes' => 'http://drupal.org/project/themes')) . '</p>'; $output .= '<p>' . t('Each time Drupal core or a contributed module or theme is updated, it is important that <a href="@update-php">update.php</a> is run.', array('@update-php' => url($base_url . '/update.php', array('external' => TRUE)))) . '</p>'; return $output; - case 'admin/structure/themes': + case 'admin/appearance': case 'admin/structure/modules': include_once DRUPAL_ROOT . '/includes/install.inc'; $status = update_requirements('runtime'); |