summaryrefslogtreecommitdiffstatshomepage
path: root/templates/bookmarks.tpl.php
diff options
context:
space:
mode:
authorGravatar mensonge2009-02-09 13:10:16 +0000
committerGravatar mensonge2009-02-09 13:10:16 +0000
commit6a7316fe016688453c1eec93f5f2b9fdb09aa048 (patch)
tree2fd34450179f7e3e910d63a421c9b27b6b5de4fa /templates/bookmarks.tpl.php
parentd35ecc2cf09c98ab4faf34304b612c494fc8f880 (diff)
downloadscuttle-6a7316fe016688453c1eec93f5f2b9fdb09aa048.tar.gz
scuttle-6a7316fe016688453c1eec93f5f2b9fdb09aa048.zip
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@262 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/bookmarks.tpl.php')
-rw-r--r--templates/bookmarks.tpl.php8
1 files changed, 4 insertions, 4 deletions
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 = ' <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!