summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-08 11:19:02 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-08 11:19:02 +0000
commit2bc18b615540ca4ba41cf79a27fd900835bea989 (patch)
treea4f546d1ce61e61bf597e914293583277f509a45 /modules/forum
parent953463666885d78c4ab97f857c5a0ee63725515f (diff)
downloadbrdo-2bc18b615540ca4ba41cf79a27fd900835bea989.tar.gz
brdo-2bc18b615540ca4ba41cf79a27fd900835bea989.tar.bz2
#553326 by sun: Provide consistency to the way field UI is presented for taxonomy.
Diffstat (limited to 'modules/forum')
-rw-r--r--modules/forum/forum.module2
-rw-r--r--modules/forum/forum.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 7ecd00e4c..f4142de4a 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -28,7 +28,7 @@ function forum_help($path, $arg) {
case 'admin/structure/forum/add/forum':
return '<p>' . 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.') . '</p>';
case 'admin/structure/forum/settings':
- return '<p>' . 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 <em>Content types</em> on the <a href="@forum-vocabulary">forum vocabulary page</a>.', array('@forum-vocabulary' => url('admin/structure/taxonomy/edit/vocabulary/' . variable_get('forum_nav_vocabulary', 0)))) . '</p>';
+ return '<p>' . 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 <em>Content types</em> on the <a href="@forum-vocabulary">forum vocabulary page</a>.', array('@forum-vocabulary' => url('admin/structure/taxonomy/' . variable_get('forum_nav_vocabulary', 0) . '/edit'))) . '</p>';
}
}
diff --git a/modules/forum/forum.test b/modules/forum/forum.test
index 8a4e6ed14..cf430b9e5 100644
--- a/modules/forum/forum.test
+++ b/modules/forum/forum.test
@@ -142,7 +142,7 @@ class ForumTestCase extends DrupalWebTestCase {
);
// Edit the vocabulary.
- $this->drupalPost('admin/structure/taxonomy/' . $vid, $edit, t('Save'));
+ $this->drupalPost('admin/structure/taxonomy/' . $vid . '/edit', $edit, t('Save'));
$this->assertResponse(200);
$this->assertRaw(t('Updated vocabulary %name.', array('%name' => $title)), t('Vocabulary was edited'));