diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-03-14 14:24:43 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-03-14 14:24:43 +0000 |
commit | d10c26fd1de42d9d7030f383dc20ac2c17fccbd1 (patch) | |
tree | 77abb54f85399681401ed60fb3c89061ce1713b7 | |
parent | 99d688529ec6aa1a2c6fd6bd58dcd4f666a324a1 (diff) | |
download | semanticscuttle-d10c26fd1de42d9d7030f383dc20ac2c17fccbd1.tar.gz semanticscuttle-d10c26fd1de42d9d7030f383dc20ac2c17fccbd1.tar.bz2 |
Interface design fix: improve visualisation of structuredtags box
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@84 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r-- | templates/sidebar.block.linked.php | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/templates/sidebar.block.linked.php b/templates/sidebar.block.linked.php index 101e0de..d415c27 100644 --- a/templates/sidebar.block.linked.php +++ b/templates/sidebar.block.linked.php @@ -100,6 +100,16 @@ if ($currenttag) { ?> +<?php +if(($logged_on_userid != null) && ($userid === $logged_on_userid)) { + $editingMode = true; +} else { + $editingMode = false; +} +?> + +<?php if(count($explodedTags)>0 || $editingMode):?> + <h2> <?php echo T_('Linked Tags').' '; @@ -109,18 +119,11 @@ if ($currenttag) { //} ?> </h2> - -<?php if(count($explodedTags)>0):?> +<?php //endif?> <div id="linked"> <table> <?php - if(($logged_on_userid != null) && ($userid === $logged_on_userid)) { - $editingMode = true; - } else { - $editingMode = false; - } - if($editingMode) { echo '<tr><td></td><td>'; echo ' (<a href="'. createURL('tag2tagadd','') .'" rel="tag">'.T_('Add new link').'</a>) '; |