summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9a46f7e)
I added separate spans for the updated and original field's of the bookmarks,
I also added some default CSS styling.
div.meta span {
color: #F00;
}
div.meta span {
color: #F00;
}
+/* bookmark date fields: updated and created */
+div.meta span#date-updated {
+ color: #285;
+}
+div.meta span#date-original {
+ background: #eee;
+ color: #aaa;
+}
li.xfolkentry {
border-bottom: 1px solid #DDD;
margin-bottom: 0;
li.xfolkentry {
border-bottom: 1px solid #DDD;
margin-bottom: 0;
if ($row['bDatetime'] == $row['bModified']) {
echo '<div class="meta">'. date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . $cats . $copy . $edit ."</div>\n";
} else {
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 '<div class="meta"><span id="date-updated">updated: '. date($GLOBALS['shortdate'], strtotime($row['bModified'])) . '</span>, <span id="date-original">original: '. date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . "</span>" . $cats . $copy . $edit ."</div>\n";