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