X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/616df7459a1262dc55320ee60cc74dae9d878ab3..1685ba1f8af80489da4f092a0adcced47a60e9fa:/templates/bookmarks.tpl.php?ds=sidebyside
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index c79655e..a535590 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";
}
?>