From edddedaa94ffdd3b8899a00797d4f709e37ff277 Mon Sep 17 00:00:00 2001 From: mensonge Date: Mon, 16 Feb 2009 10:10:49 +0000 Subject: [PATCH] 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 --- scuttle.css | 4 ++++ templates/bookmarks.tpl.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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('|\[(.*?)\]|', ' $1 ', $bkDescription); // highlight starting anchor + $bkDescription = preg_replace('|\[(.*?)\]|', ' $1 ', $bkDescription); // highlight starting anchor $bkDescription = preg_replace('@((http|https|ftp)://.*?)( |\r|$)@', '$1$3', $bkDescription); // make url clickable }