mark bookmarks with votes < threshold with red dotted border

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@526 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2009-11-05 20:23:55 +00:00
parent 5976acf7d1
commit 1077d6b244
2 changed files with 9 additions and 0 deletions

View file

@ -319,6 +319,12 @@ if($currenttag!= '') {
$privateNoteField = ''; $privateNoteField = '';
} }
if ($GLOBALS['enableVoting'] && $GLOBALS['hideBelowVoting'] !== null
&& $row['bVoting'] < $GLOBALS['hideBelowVoting']
) {
$access .= ' below-threshold';
}
// Output // Output
echo '<li class="xfolkentry'. $access .'" >'."\n"; echo '<li class="xfolkentry'. $access .'" >'."\n";
include 'bookmarks-thumbnail.inc.tpl.php'; include 'bookmarks-thumbnail.inc.tpl.php';

View file

@ -239,6 +239,9 @@ li.xfolkentry.private {
li.xfolkentry.shared { li.xfolkentry.shared {
border-left: 3px solid #FA0; border-left: 3px solid #FA0;
} }
li.below-threshold > div {
border-right: 5px dotted #F00;
}
li.xfolkentry div div.description span.anchorBookmark { li.xfolkentry div div.description span.anchorBookmark {
/*font-family:monospace;*/ /*font-family:monospace;*/