aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-03-12 17:21:57 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-03-12 17:21:57 +0000
commitf324c988a57b6d02ad45dcb2aa6d9ef54ff839e5 (patch)
tree0890daa47078450222ac804f303efe421df8692a /templates
parentacf7ac0415de9ed00b275329ff7dbc406fda3f28 (diff)
downloadsemanticscuttle-f324c988a57b6d02ad45dcb2aa6d9ef54ff839e5.tar.gz
semanticscuttle-f324c988a57b6d02ad45dcb2aa6d9ef54ff839e5.tar.bz2
Bug fix: in structured tag box, remove the link > if use not identified
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@75 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/sidebar.block.linked.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/sidebar.block.linked.php b/templates/sidebar.block.linked.php
index c3adfdd..101e0de 100644
--- a/templates/sidebar.block.linked.php
+++ b/templates/sidebar.block.linked.php
@@ -13,7 +13,11 @@ function displayLinkedTags($tag, $linkType, $uId, $cat_url, $user, $editingMode
// link '>'
if($level>1) {
- $link = '<small><a href="'.createURL('tag2tagedit', $precedentTag.'/'.$tag).'" title="'._('Edit link').'">></a> </small>';
+ if($editingMode) {
+ $link = '<small><a href="'.createURL('tag2tagedit', $precedentTag.'/'.$tag).'" title="'._('Edit link').'">></a> </small>';
+ } else {
+ $link = '> ';
+ }
}
$output = '';