If bModified is different from bDatetime, the bookmark is ordered by modified
time from a previous commit, this commit prints both the modified date as well
as the original date if they are different, to avoid confusion.
if ($row['bDescription'] != '') {
echo '<div class="description">'. filter($row['bDescription']) ."</div>\n";
}
- echo '<div class="meta">'. date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . $cats . $copy . $edit ."</div>\n";
+ if ($row['bDatetime'] == $row['bModified']) {
+ echo '<div class="meta">'. date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . $cats . $copy . $edit ."</div>\n";
+ } else {
+ echo '<div class="meta">updated: '. date($GLOBALS['shortdate'], strtotime($row['bModified'])) . ", original: ". date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . $cats . $copy . $edit ."</div>\n";
+ }
echo "</li>\n";
}
?>