summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-19 15:04:11 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-19 15:04:11 +0000
commitda316273bdf3e033336c2b02ffb19c96fc647886 (patch)
treef56db0eeb9142f8e39552b09f19322a6ba9b5d08
parent125fa0189e2e96f51c308fdf01f109b8a8ac6dc8 (diff)
downloadbrdo-da316273bdf3e033336c2b02ffb19c96fc647886.tar.gz
brdo-da316273bdf3e033336c2b02ffb19c96fc647886.tar.bz2
- Patch #31014 by chx, zack: on taxonomy overview pages, make term names link to their respective taxonomy/term/(x) 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 083d8af29..9f93a684b 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -398,7 +398,7 @@ function taxonomy_overview() {
foreach ($tree as $term) {
$total_entries++; // we're counting all-totals, not displayed
if (($start_from && ($start_from * $page_increment) >= $total_entries) || ($displayed_count == $page_increment)) { continue; }
- $rows[] = array(_taxonomy_depth($term->depth) . ' ' . check_plain($term->name), l(t('edit'), "admin/taxonomy/edit/term/$term->tid", array(), $destination));
+ $rows[] = array(_taxonomy_depth($term->depth) . ' ' . l(check_plain($term->name), "taxonomy/term/$term->tid"), l(t('edit'), "admin/taxonomy/edit/term/$term->tid", array(), $destination));
$displayed_count++; // we're counting tids displayed
}
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 083d8af29..9f93a684b 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -398,7 +398,7 @@ function taxonomy_overview() {
foreach ($tree as $term) {
$total_entries++; // we're counting all-totals, not displayed
if (($start_from && ($start_from * $page_increment) >= $total_entries) || ($displayed_count == $page_increment)) { continue; }
- $rows[] = array(_taxonomy_depth($term->depth) . ' ' . check_plain($term->name), l(t('edit'), "admin/taxonomy/edit/term/$term->tid", array(), $destination));
+ $rows[] = array(_taxonomy_depth($term->depth) . ' ' . l(check_plain($term->name), "taxonomy/term/$term->tid"), l(t('edit'), "admin/taxonomy/edit/term/$term->tid", array(), $destination));
$displayed_count++; // we're counting tids displayed
}