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
This commit is contained in:
mensonge 2009-02-16 10:10:49 +00:00
parent bdcb737de2
commit edddedaa94
2 changed files with 5 additions and 1 deletions

View 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 {

View 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
}