diff options
| author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-01-28 15:02:58 +0000 | 
|---|---|---|
| committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-01-28 15:02:58 +0000 | 
| commit | 7ba7554af72e88001f5d6f6ce3f405b7b3cf80e4 (patch) | |
| tree | 44130d3b1c62dff2ad4eb404397f72f57dcfaa81 | |
| parent | 3ef7b27643328861ab47bc1cfd8596bc747b5a09 (diff) | |
| download | semanticscuttle-7ba7554af72e88001f5d6f6ce3f405b7b3cf80e4.tar.gz semanticscuttle-7ba7554af72e88001f5d6f6ce3f405b7b3cf80e4.tar.bz2 | |
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
| -rw-r--r-- | templates/sidebar.block.linked.php | 6 | 
1 files changed, 3 insertions, 3 deletions
| 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.= '<tr>';      $output.= '<td></td>';      $output.= '<td>'; -    $output.= $level ==  0?'<b>':''; +    $output.= $level ==  1?'<b>':'';      $output.= str_repeat(' ', $level*2) .'<a href="'. sprintf($cat_url, filter($user, 'url'), filter($tag, 'url')) .'" rel="tag">'. filter($tag) .'</a>';      $output.= $level ==  1?'</b>':'';      //$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 '<tr><td>'; +			echo '<tr><td></td><td>';  			echo '<a href="'. sprintf($cat_url, filter($user, 'url'), filter($fatherTag, 'url')) .'" rel="tag">('. filter($fatherTag) .')</a>';  			echo '</td></tr>';  		    }  		} -		$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']); | 
