This commit is contained in:
mensonge 2009-02-09 13:10:16 +00:00
parent d35ecc2cf0
commit 6a7316fe01

View file

@ -159,11 +159,11 @@ if($currenttag!= '') {
$update = ' <small>('. T_('update') .' '. date($GLOBALS['shortdate'], strtotime($row['bModified'])). ') </small>';
// User attribution
$copy = '';
if ($user == '' || isset($watched)) {
$copy = ' '. T_('by') .' <a href="'. createURL('bookmarks', $row['username']) .'">'. $row['username'] .'</a>';
$copy = ' '. T_('by'). ' ';
if($userservice->isLoggedOn() && $currentUser->getUsername() == $row['username']) {
$copy.= T_('you');
} else {
$copy = ' '. T_('by') . ' ' . T_('you');
$copy.= '<a href="'. createURL('bookmarks', $row['username']) .'">'. $row['username'] .'</a>';
}
// Udders!