From 1077d6b24456603cd3d1c0c6d2ec5ca801d64191 Mon Sep 17 00:00:00 2001 From: cweiske Date: Thu, 5 Nov 2009 20:23:55 +0000 Subject: 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 --- data/templates/bookmarks.tpl.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data/templates/bookmarks.tpl.php') diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php index d0b5dff..b349ab7 100644 --- a/data/templates/bookmarks.tpl.php +++ b/data/templates/bookmarks.tpl.php @@ -319,6 +319,12 @@ if($currenttag!= '') { $privateNoteField = ''; } + if ($GLOBALS['enableVoting'] && $GLOBALS['hideBelowVoting'] !== null + && $row['bVoting'] < $GLOBALS['hideBelowVoting'] + ) { + $access .= ' below-threshold'; + } + // Output echo '
  • '."\n"; include 'bookmarks-thumbnail.inc.tpl.php'; -- cgit v1.2.3