diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index ff91cce..4040133 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -146,7 +146,7 @@ if($currenttag!= '') { } $cats = substr($cats, 0, -2); if ($cats != '') { - $cats = ' '.T_('in').' '. $cats; + $cats = ' '.T_('Tags:').' '. $cats; } // Edit and delete links @@ -154,11 +154,16 @@ if($currenttag!= '') { if ($bookmarkservice->editAllowed($row['bId'])) { $edit = ' - '. T_('Edit') .''; } + + // Last update + $update = ' ('. T_('update') .' '. date($GLOBALS['shortdate'], strtotime($row['bModified'])). ') '; // User attribution $copy = ''; if ($user == '' || isset($watched)) { - $copy = ' '. T_('by') .' '. $row['username'] .''; + $copy = ' '. T_('by') .' '. $row['username'] .''; + } else { + $copy = ' '. T_('by') . ' ' . T_('you'); } // Udders! @@ -223,7 +228,7 @@ if($currenttag!= '') { // Improve description display (anchors, links, ...) $bkDescription = preg_replace('|\[\/.*?\]|', '', filter($row['bDescription'])); // remove final anchor $bkDescription = preg_replace('|\[(.*?)\]|', ' $1 ', $bkDescription); // highlight starting anchor - $bkDescription = preg_replace('@((http|https|ftp)://.*?)( |\r|$)@', '$1$3', $bkDescription); // make url clickable + $bkDescription = preg_replace('@((http|https|ftp)://.*?)( |\r|$)@', '$1$3', $bkDescription); // make url clickable } echo '
'. nl2br($bkDescription) ."
\n"; @@ -231,7 +236,7 @@ if($currenttag!= '') { echo '
'.shortenString($address).'
'; //} - echo '
'. date($GLOBALS['shortdate'], strtotime($row['bModified'])) . $cats . $copy . $edit ."
\n"; + echo '
'. $cats . $copy . $edit . $update ."
\n"; echo '';