summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-12-25 22:22:42 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-12-25 22:22:42 +0000
commit3111774ef7b38cee50d3de84aa3be9d4aeef87b9 (patch)
treefe97beb03228de8ad9e4464e6e9e9db202165673
parentc4119e9bbb75b860fcc2fac44e8a2844acc7acb5 (diff)
downloadbrdo-3111774ef7b38cee50d3de84aa3be9d4aeef87b9.tar.gz
brdo-3111774ef7b38cee50d3de84aa3be9d4aeef87b9.tar.bz2
#19891 by edkwh. Make forum and container names links in forum administration.
-rw-r--r--modules/forum/forum.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index e322da6f1..5d355de03 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -590,10 +590,10 @@ function forum_overview() {
if ($tree) {
foreach ($tree as $term) {
if (in_array($term->tid, variable_get('forum_containers', array()))) {
- $rows[] = array(str_repeat(' -- ', $term->depth) .' '. check_plain($term->name), l(t('edit container'), "admin/content/forum/edit/container/$term->tid"));
+ $rows[] = array(str_repeat(' -- ', $term->depth) .' '. l(check_plain($term->name), 'forum/'. $term->tid), l(t('edit container'), 'admin/content/forum/edit/container/'. $term->tid));
}
else {
- $rows[] = array(str_repeat(' -- ', $term->depth) .' '. check_plain($term->name), l(t('edit forum'), "admin/content/forum/edit/forum/$term->tid"));
+ $rows[] = array(str_repeat(' -- ', $term->depth) .' '. l(check_plain($term->name), 'forum/'. $term->tid), l(t('edit forum'), 'admin/content/forum/edit/forum/'. $term->tid));
}
}