From 065fa60551edddc27a30d04cecb58b30b7ac8e3c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 11 Jul 2009 14:25:41 +0000 Subject: - Patch #516416 by lyricnz: fix broken links to taxonomy administration pages. --- modules/field/field.api.php | 4 ++-- modules/forum/forum.module | 2 +- modules/taxonomy/taxonomy.admin.inc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 21d328be8..1a388272e 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -77,8 +77,8 @@ function hook_fieldable_info() { $return['taxonomy_term']['bundles'][$vocabulary->machine_name] = array( 'label' => $vocabulary->name, 'admin' => array( - 'path' => 'admin/content/taxonomy/%taxonomy_vocabulary', - 'real path' => 'admin/content/taxonomy/' . $vocabulary->vid, + 'path' => 'admin/build/taxonomy/%taxonomy_vocabulary', + 'real path' => 'admin/build/taxonomy/' . $vocabulary->vid, 'bundle argument' => 3, 'access arguments' => array('administer taxonomy'), ), diff --git a/modules/forum/forum.module b/modules/forum/forum.module index baac678ad..0e6d0acce 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -28,7 +28,7 @@ function forum_help($path, $arg) { case 'admin/build/forum/add/forum': return '

' . t('A forum holds related or similar forum topics (a forum topic is the initial post to a threaded discussion). For example, a forum named "Fruit" may contain forum topics titled "Apples" and "Bananas", respectively.') . '

'; case 'admin/build/forum/settings': - return '

' . t('These settings allow you to adjust the display of your forum topics. The content types available for use within a forum may be selected by editing the Content types on the forum vocabulary page.', array('@forum-vocabulary' => url('admin/content/taxonomy/edit/vocabulary/' . variable_get('forum_nav_vocabulary', 0)))) . '

'; + return '

' . t('These settings allow you to adjust the display of your forum topics. The content types available for use within a forum may be selected by editing the Content types on the forum vocabulary page.', array('@forum-vocabulary' => url('admin/build/taxonomy/edit/vocabulary/' . variable_get('forum_nav_vocabulary', 0)))) . '

'; } } diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index e060a1532..452de1792 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -84,7 +84,7 @@ function theme_taxonomy_overview_vocabularies($form) { } if (empty($rows)) { - $rows[] = array(array('data' => t('No vocabularies available. Add vocabulary.', array('@link' => url('admin/content/taxonomy/add'))), 'colspan' => '5')); + $rows[] = array(array('data' => t('No vocabularies available. Add vocabulary.', array('@link' => url('admin/build/taxonomy/add'))), 'colspan' => '5')); } $header = array(t('Vocabulary name'), t('Content types')); -- cgit v1.2.3