diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-14 21:40:42 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-14 21:40:42 +0000 |
commit | 85cbb1be6e5914950bffb1cda764c6f0b9d71f7e (patch) | |
tree | 8469ba62eead576d278e9015cfc1f8e1750390c5 | |
parent | b86a5d495a9f6e99f095fa5b7baee39194aa644e (diff) | |
download | brdo-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.module | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
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 { |