X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/3a514e232443be05939c0ad98f5f2b48a6637b56..9a46f7eb41b5e9d4edde8c5cd14a680b24a79f17:/templates/bookmarks.tpl.php
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index c79655e..d068a9a 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -100,7 +100,11 @@ if (count($bookmarks) > 0) {
if ($row['bDescription'] != '') {
echo '
'. filter($row['bDescription']) ."
\n";
}
- echo ''. date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . $cats . $copy . $edit ."
\n";
+ if ($row['bDatetime'] == $row['bModified']) {
+ echo ''. date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . $cats . $copy . $edit ."
\n";
+ } else {
+ echo 'updated: '. date($GLOBALS['shortdate'], strtotime($row['bModified'])) . ", original: ". date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . $cats . $copy . $edit ."
\n";
+ }
echo "\n";
}
?>