From 6a7316fe016688453c1eec93f5f2b9fdb09aa048 Mon Sep 17 00:00:00 2001
From: mensonge
Date: Mon, 9 Feb 2009 13:10:16 +0000
Subject: git-svn-id:
https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@262
b3834d28-1941-0410-a4f8-b48e95affb8f
---
templates/bookmarks.tpl.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'templates/bookmarks.tpl.php')
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!
--
cgit v1.2.3-54-g00ecf