From 7ba7554af72e88001f5d6f6ce3f405b7b3cf80e4 Mon Sep 17 00:00:00 2001 From: mensonge Date: Mon, 28 Jan 2008 15:02:58 +0000 Subject: interface fix: fix father tag displayed in structured links box git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@30 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/sidebar.block.linked.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') 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']); -- cgit v1.2.3