--- site_map/site_map.module 2008-02-08 07:21:59.000000000 +0000 +++ site_map.module.fixed 2008-03-09 04:13:01.000000000 +0000 @@ -477,22 +477,32 @@ $output .= '
'; // taxonomy_get_tree() honors access controls $tree = taxonomy_get_tree($vid); + + $indentation_string = ' '; + foreach ($tree as $term) { + $indent = str_repeat($indentation_string, $term->depth); + // Adjust the depth of the '; + $output .= "\n"; } } $output .= "
\n";