diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-02-16 10:10:49 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-02-16 10:10:49 +0000 |
commit | edddedaa94ffdd3b8899a00797d4f709e37ff277 (patch) | |
tree | 1d1b0a572bd5834ab1bda1ae9647ef050c5aee27 | |
parent | bdcb737de2d2f0bad4d7c4c2e09449d69f41f053 (diff) | |
download | semanticscuttle-edddedaa94ffdd3b8899a00797d4f709e37ff277.tar.gz semanticscuttle-edddedaa94ffdd3b8899a00797d4f709e37ff277.tar.bz2 |
Interface fix: put anchors from bookmarks description into monotype font-family
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@277 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r-- | scuttle.css | 4 | ||||
-rw-r--r-- | templates/bookmarks.tpl.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/scuttle.css b/scuttle.css index 00f231c..6c11af3 100644 --- a/scuttle.css +++ b/scuttle.css @@ -238,6 +238,10 @@ li.xfolkentry.shared { border-left: 3px solid #FA0; } +li.xfolkentry div div.description span.anchorBookmark { + font-family:monospace; +} + /* SIDEBAR */ div#sidebar { diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index d1148e1..1bc6f61 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -225,7 +225,7 @@ if($currenttag!= '') { } else { // Improve description display (anchors, links, ...) $bkDescription = preg_replace('|\[\/.*?\]|', '', filter($row['bDescription'])); // remove final anchor - $bkDescription = preg_replace('|\[(.*?)\]|', ' <b>$1 </b>', $bkDescription); // highlight starting anchor + $bkDescription = preg_replace('|\[(.*?)\]|', ' <span class="anchorBookmark">$1</span> ', $bkDescription); // highlight starting anchor $bkDescription = preg_replace('@((http|https|ftp)://.*?)( |\r|$)@', '<a href="$1" rel="nofollow">$1</a>$3', $bkDescription); // make url clickable } |