From: Iain Patterson Date: Tue, 15 Oct 2013 09:05:48 +0000 (-0400) Subject: Use datepicker() to select dates for reports. X-Git-Tag: 2013-10-15~2 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=70bb5379c5ed6328da193eb87c23ab8a9606409b;p=readifood.git Use datepicker() to select dates for reports. --- diff --git a/lib/report.php b/lib/report.php index d8699d2..f06e8ca 100644 --- a/lib/report.php +++ b/lib/report.php @@ -29,15 +29,9 @@ $oldest = date('Y-m-d', $date); $then = $date; - echo " to \n"; + datepicker("from", $from, true, null, false, "to"); + echo " to "; + datepicker("to", $to, true, "from", false); submit("show_reports", "Show"); end_form();