git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@584
b3834d28-1941-0410-a4f8-
b48e95affb8f
echo '<dates tag="'. (is_null($tag) ? '' : filter($tag, 'xml')) .'" user="'. filter($currentUser->getUsername(), 'xml') ."\">\r\n";
$lastdate = null;
+$count = 0;
foreach ($bookmarks['bookmarks'] as $row) {
$thisdate = gmdate('Y-m-d', strtotime($row['bDatetime']));
if ($thisdate != $lastdate && $lastdate != null) {
}
$lastdate = $thisdate;
}
+if ($lastdate !== null) {
+ echo "\t<date count=\"". $count .'" date="'. $lastdate ."\" />\r\n";
+}
echo "</dates>";
?>
\ No newline at end of file