Interface fix: improve crossing tags

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@330 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2009-05-22 09:39:22 +00:00
parent 1eca2d231c
commit f794774c9d
2 changed files with 6 additions and 1 deletions

View file

@ -310,6 +310,11 @@ div#related {
padding: 0.5em; padding: 0.5em;
} }
.crossTags {
padding:0px 3px;
border: 1px solid #999955
}
div#sidebar>div#maintagsmenu { div#sidebar>div#maintagsmenu {
padding: 0.5em; padding: 0.5em;
border: 5px solid #999955 border: 5px solid #999955

View file

@ -28,7 +28,7 @@ if ($currenttag) {
<table> <table>
<?php foreach($relatedTags as $row): ?> <?php foreach($relatedTags as $row): ?>
<tr> <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> </tr>
<?php endforeach; ?> <?php endforeach; ?>
</table> </table>