diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-25 08:55:04 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-25 08:55:04 +0000 |
commit | 6ea9204889915f098fa713ce8a8449bbe667b91b (patch) | |
tree | 209a7ae714c24fdf613d0a23275c92ff95e5885e /modules/forum/forum.module | |
parent | ccffa833379be86bd29448108876b4809662effa (diff) | |
download | brdo-6ea9204889915f098fa713ce8a8449bbe667b91b.tar.gz brdo-6ea9204889915f098fa713ce8a8449bbe667b91b.tar.bz2 |
#56093 by webchick. Fix forums.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r-- | modules/forum/forum.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 9b5be7b12..51c5a2895 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -594,10 +594,10 @@ function forum_overview() { if ($tree) { foreach ($tree as $term) { if (in_array($term->tid, variable_get('forum_containers', array()))) { - $rows[] = array(_taxonomy_depth($term->depth) .' '. check_plain($term->name), l(t('edit container'), "admin/content/forum/edit/container/$term->tid")); + $rows[] = array(str_repeat(' -- ', $term->depth) .' '. check_plain($term->name), l(t('edit container'), "admin/content/forum/edit/container/$term->tid")); } else { - $rows[] = array(_taxonomy_depth($term->depth) .' '. check_plain($term->name), l(t('edit forum'), "admin/content/forum/edit/forum/$term->tid")); + $rows[] = array(str_repeat(' -- ', $term->depth) .' '. check_plain($term->name), l(t('edit forum'), "admin/content/forum/edit/forum/$term->tid")); } } @@ -639,7 +639,7 @@ function _forum_parent_select($tid, $title, $child_type) { if ($tree) { foreach ($tree as $term) { if (!in_array($term->tid, $exclude)) { - $options[$term->tid] = _taxonomy_depth($term->depth) . $term->name; + $options[$term->tid] = str_repeat(' -- ', $term->depth) . $term->name; } } } |