diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-12-25 22:22:42 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-12-25 22:22:42 +0000 |
commit | 3111774ef7b38cee50d3de84aa3be9d4aeef87b9 (patch) | |
tree | fe97beb03228de8ad9e4464e6e9e9db202165673 /modules/forum/forum.module | |
parent | c4119e9bbb75b860fcc2fac44e8a2844acc7acb5 (diff) | |
download | brdo-3111774ef7b38cee50d3de84aa3be9d4aeef87b9.tar.gz brdo-3111774ef7b38cee50d3de84aa3be9d4aeef87b9.tar.bz2 |
#19891 by edkwh. Make forum and container names links in forum administration.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r-- | modules/forum/forum.module | 4 |
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)); } } |