X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c7f63c8b9b12efd7b3c10b9f80cda06eaf32068f..2410018fe8ea7f74c2f7847d4cefc3d822f4c64d:/templates/bookmarks.tpl.php?ds=inline diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index ab35787..a535590 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -10,16 +10,12 @@ if (count($bookmarks) > 0) { ?>

- - / - / - + + / + / + - +

0 ? ' start="'. ++$start .'"' : ''); ?> id="bookmarks"> @@ -104,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"; } ?>