git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@285
b3834d28-1941-0410-a4f8-
b48e95affb8f
div.meta span {
color: #F00;
}
+div.privateNote {
+ font-variant: small-caps;
+ font-size: small;
+ text-align: right;
+}
li.xfolkentry {
border-bottom: 1px solid #DDD;
margin-bottom: 0;
$adminBgClass = '';
$adminStar = '';
}
-
+
+ // Private Note (just visible by the owner and his/her contacts)
+ if($userservice->isLoggedOn() && ($currentUser->getId() == $row['uId'] || in_array($row['username'], $userservice->getWatchNames($currentUser->getId(), true)))) {
+ $privateNoteField = $row['bPrivateNote'];
+ } else {
+ $privateNoteField = '';
+ }
+
// Output
echo '<li class="xfolkentry'. $access .'" >'."\n";
if ($GLOBALS['enableWebsiteThumbnails']) {
//}
echo '<div class="meta">'. $cats . $copy . $edit . $update ."</div>\n";
-
+ echo $privateNoteField!=''?'<div class="privateNote" title="'. T_('Private Note on this bookmark') .'">'.$privateNoteField."</div>\n":'';
echo '</div>';
echo "</li>\n";