From: mensonge Date: Mon, 9 Feb 2009 13:10:16 +0000 (+0000) Subject: git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk... X-Git-Tag: v0.94~122 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6a7316fe016688453c1eec93f5f2b9fdb09aa048;p=semanticscuttle.git git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@262 b3834d28-1941-0410-a4f8-b48e95affb8f --- diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 4040133..adb6b24 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -159,11 +159,11 @@ if($currenttag!= '') { $update = ' ('. T_('update') .' '. date($GLOBALS['shortdate'], strtotime($row['bModified'])). ') '; // User attribution - $copy = ''; - if ($user == '' || isset($watched)) { - $copy = ' '. T_('by') .' '. $row['username'] .''; + $copy = ' '. T_('by'). ' '; + if($userservice->isLoggedOn() && $currentUser->getUsername() == $row['username']) { + $copy.= T_('you'); } else { - $copy = ' '. T_('by') . ' ' . T_('you'); + $copy.= ''. $row['username'] .''; } // Udders!