]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Interface fix: put anchors from bookmarks description into monotype font-family
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 16 Feb 2009 10:10:49 +0000 (10:10 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 16 Feb 2009 10:10:49 +0000 (10:10 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@277 b3834d28-1941-0410-a4f8-b48e95affb8f

scuttle.css
templates/bookmarks.tpl.php

index 00f231cfc0e9f08ce012ada0f1db69fa78d27e18..6c11af3edd9a1684f363b94873d3abba20f226d1 100644 (file)
@@ -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 {
index d1148e1f62c861410b577f45e5c1a1c9867985d9..1bc6f6196bee783e0d3bd642973ee39e0bca716c 100644 (file)
@@ -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
                        
                }