From 1ed53ed3419f7d49bdb216c0e5f823ce3fd4145e Mon Sep 17 00:00:00 2001 From: mensonge Date: Wed, 12 Mar 2008 16:53:00 +0000 Subject: Interface design: improve navigation between tags (clickable >) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@71 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/sidebar.block.linked.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'templates/sidebar.block.linked.php') diff --git a/templates/sidebar.block.linked.php b/templates/sidebar.block.linked.php index 74b58ae..c3adfdd 100644 --- a/templates/sidebar.block.linked.php +++ b/templates/sidebar.block.linked.php @@ -11,12 +11,17 @@ function displayLinkedTags($tag, $linkType, $uId, $cat_url, $user, $editingMode $tag2tagservice =& ServiceFactory::getServiceInstance('Tag2TagService'); $tagstatservice =& ServiceFactory::getServiceInstance('TagStatService'); + // link '>' + if($level>1) { + $link = '> '; + } + $output = ''; $output.= ''; $output.= ''; $output.= ''; $output.= $level == 1?'':''; - $output.= str_repeat(' ', $level*2) .''; + $output.= str_repeat(' ', $level*2) .$link.''; $output.= $level == 1?'':''; //$output.= ' - '. $tagstatservice->getMaxDepth($tag, $linkType, $uId); @@ -35,15 +40,15 @@ function displayLinkedTags($tag, $linkType, $uId, $cat_url, $user, $editingMode $output.= ', etc'; } - if($editingMode) { + /*if($editingMode) { $output.= ' ('; - $output.= 'add'; - if($precedentTag != null) { + $output.= '+'; + if(1) { $output.= ' - '; - $output.= 'del'; + $output.= '-'; } $output.= ')'; - } + }*/ $output.= ''; $output.= ''; -- cgit v1.2.3-54-g00ecf