summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar mensonge2009-05-22 09:39:22 +0000
committerGravatar mensonge2009-05-22 09:39:22 +0000
commitf794774c9d79550ff406e3820edd92d21b835aa3 (patch)
treefd5409ae2e45e00981b2e45f6a5abce2c531af32
parent1eca2d231c79c046a3c122a09bd761fa8f641a6e (diff)
downloadscuttle-f794774c9d79550ff406e3820edd92d21b835aa3.tar.gz
scuttle-f794774c9d79550ff406e3820edd92d21b835aa3.zip
Interface fix: improve crossing tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@330 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--scuttle.css5
-rw-r--r--templates/sidebar.block.related.php2
2 files changed, 6 insertions, 1 deletions
diff --git a/scuttle.css b/scuttle.css
index 5cbfb0c..5dd4dc5 100644
--- a/scuttle.css
+++ b/scuttle.css
@@ -310,6 +310,11 @@ div#related {
padding: 0.5em;
}
+.crossTags {
+ padding:0px 3px;
+ border: 1px solid #999955
+}
+
div#sidebar>div#maintagsmenu {
padding: 0.5em;
border: 5px solid #999955
diff --git a/templates/sidebar.block.related.php b/templates/sidebar.block.related.php
index ccb59b3..182ea83 100644
--- a/templates/sidebar.block.related.php
+++ b/templates/sidebar.block.related.php
@@ -28,7 +28,7 @@ if ($currenttag) {
<table>
<?php foreach($relatedTags as $row): ?>
<tr>
- <td><a href="<?php echo sprintf($cat_url, filter($user, 'url'), filter($row['tag'], 'url')); ?>" rel="tag"><?php echo filter($row['tag']); ?></a> <b><a href="<?php echo sprintf($cat_url, filter($user, 'url'), filter($currenttag, 'url') .'+'. filter($row['tag'], 'url')); ?>" title="<?php echo T_('Add this tag to the query') ?>">+</a></b></td>
+ <td><a href="<?php echo sprintf($cat_url, filter($user, 'url'), filter($row['tag'], 'url')); ?>" rel="tag"><?php echo filter($row['tag']); ?></a> <a href="<?php echo sprintf($cat_url, filter($user, 'url'), filter($currenttag, 'url') .'+'. filter($row['tag'], 'url')); ?>" title="<?php echo $currenttag . '+' . filter($row['tag']); ?>" class="crossTags">+</a></td>
</tr>
<?php endforeach; ?>
</table>