summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-05-14 21:40:42 +0000
committerDries Buytaert <dries@buytaert.net>2005-05-14 21:40:42 +0000
commit85cbb1be6e5914950bffb1cda764c6f0b9d71f7e (patch)
tree8469ba62eead576d278e9015cfc1f8e1750390c5
parentb86a5d495a9f6e99f095fa5b7baee39194aa644e (diff)
downloadbrdo-85cbb1be6e5914950bffb1cda764c6f0b9d71f7e.tar.gz
brdo-85cbb1be6e5914950bffb1cda764c6f0b9d71f7e.tar.bz2
- Modified patch #22878 by Junyor: made all terms on the taxonomy overview page links to the taxonomy term list page.
-rw-r--r--modules/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 4e605f5c6..9b030145c 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -375,7 +375,7 @@ function taxonomy_overview() {
$tree = taxonomy_get_tree($vocabulary->vid);
if ($tree) {
foreach ($tree as $term) {
- $rows[] = array(array('data' => _taxonomy_depth($term->depth) . ' ' . check_plain($term->name), 'class' => 'term'), NULL, NULL, NULL, l(t('edit term'), "admin/taxonomy/edit/term/$term->tid"));
+ $rows[] = array(array('data' => _taxonomy_depth($term->depth) . ' ' . l($term->name, "taxonomy/term/$term->tid"), 'class' => 'term'), NULL, NULL, NULL, l(t('edit term'), "admin/taxonomy/edit/term/$term->tid"));
}
}
else {
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 4e605f5c6..9b030145c 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -375,7 +375,7 @@ function taxonomy_overview() {
$tree = taxonomy_get_tree($vocabulary->vid);
if ($tree) {
foreach ($tree as $term) {
- $rows[] = array(array('data' => _taxonomy_depth($term->depth) . ' ' . check_plain($term->name), 'class' => 'term'), NULL, NULL, NULL, l(t('edit term'), "admin/taxonomy/edit/term/$term->tid"));
+ $rows[] = array(array('data' => _taxonomy_depth($term->depth) . ' ' . l($term->name, "taxonomy/term/$term->tid"), 'class' => 'term'), NULL, NULL, NULL, l(t('edit term'), "admin/taxonomy/edit/term/$term->tid"));
}
}
else {