diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 9b5be7b1275c1ca4876aecb78813469fab416677..51c5a28957f53c969113a555e8d1407b41eb2083 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; } } }