diff --git a/templates/sidebar.block.linked.php b/templates/sidebar.block.linked.php index 74516ae..401d0d7 100644 --- a/templates/sidebar.block.linked.php +++ b/templates/sidebar.block.linked.php @@ -15,7 +15,7 @@ function displayLinkedTags($tag, $linkType, $uId, $cat_url, $user, $editingMode $output.= ''; $output.= ''; $output.= ''; - $output.= $level == 0?'':''; + $output.= $level == 1?'':''; $output.= str_repeat(' ', $level*2) .''; $output.= $level == 1?'':''; //$output.= ' - '. $tagstatservice->getMaxDepth($tag, $linkType, $uId); @@ -118,13 +118,13 @@ if(count($explodedTags) > 0) { $fatherTags = $tag2tagservice->getLinkedTags($explodedTag, '>', $userid, true); if(count($fatherTags)>0) { foreach($fatherTags as $fatherTag) { - echo ''; + echo ''; echo ''; echo ''; } } - $displayLinkedTags = displayLinkedTags($explodedTag, '>', $userid, $cat_url, $user, $editingMode, null, 0); + $displayLinkedTags = displayLinkedTags($explodedTag, '>', $userid, $cat_url, $user, $editingMode, null, 1); echo $displayLinkedTags['output']; if(is_array($displayLinkedTags['stopList'])) { $stopList = array_merge($stopList, $displayLinkedTags['stopList']);