--- lib/content.php.orig 2008-03-17 04:21:37.000000000 +1300 +++ lib/content.php 2008-03-17 06:21:46.000000000 +1300 @@ -321,57 +321,40 @@ * * @param array $tree * @param int $depth - * @param string $parentNode * @return string $html */ -function printChildren($tree, $depth = 0, $parentNode = 'main') { +function printChildren($tree, $depth = 0) { $html = ''; - if ($depth == 0 && !empty($tree)) { - $treeName = strtr($tree[0]['albumName'], '-', '_'); - - $html = '
| "; + + if(empty($content['subTree']) && $nr < sizeof($tree)-1) { + $html .= gImage('icons/tree/join-'. langRight(). '.gif', ''); + } + else { + $html .= gImage('icons/tree/joinbottom-'. langRight() .'.gif', ''); + } + $html .= " | "; + $html .= ''; + $html .= $content['title'] .' '; + $html .= $content['clicksText'] .''; + $html .= " |