diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-09-19 15:04:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-09-19 15:04:11 +0000 |
commit | da316273bdf3e033336c2b02ffb19c96fc647886 (patch) | |
tree | f56db0eeb9142f8e39552b09f19322a6ba9b5d08 | |
parent | 125fa0189e2e96f51c308fdf01f109b8a8ac6dc8 (diff) | |
download | brdo-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.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 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 } |