X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..0b769a1388b7a5daf1829e0f92fa928b007e1ef6:/templates/bookmarks.tpl.php?ds=inline diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 368ec8b..a535590 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -1,31 +1,22 @@ getCurrentUserId(); $this->includeTemplate($GLOBALS['top_include']); -include('search.inc.php'); +include 'search.inc.php'; if (count($bookmarks) > 0) { ?> - -

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

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