diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-11-05 20:23:55 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-11-05 20:23:55 +0000 |
commit | 1077d6b24456603cd3d1c0c6d2ec5ca801d64191 (patch) | |
tree | b5cd7b733a4e28708ec8427c2fa4bc422d26eebb /data/templates/bookmarks.tpl.php | |
parent | 5976acf7d1a883cd8ae00a46dbc8ba8346f4ad4a (diff) | |
download | semanticscuttle-1077d6b24456603cd3d1c0c6d2ec5ca801d64191.tar.gz semanticscuttle-1077d6b24456603cd3d1c0c6d2ec5ca801d64191.tar.bz2 |
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
Diffstat (limited to 'data/templates/bookmarks.tpl.php')
-rw-r--r-- | data/templates/bookmarks.tpl.php | 6 |
1 files changed, 6 insertions, 0 deletions
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 '<li class="xfolkentry'. $access .'" >'."\n"; include 'bookmarks-thumbnail.inc.tpl.php'; |