From: Iain Patterson Date: Mon, 22 Apr 2013 20:08:53 +0000 (-0400) Subject: Show dates in the past. X-Git-Tag: 2013-04-22 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=refs%2Ftags%2F2013-04-22;hp=83ae8301b0ebdd1b334feb26888f33e80ddc9467;p=readifood.git Show dates in the past. Show dates up to two months in the past as well as the future when creating a date dropdown. --- diff --git a/lib/functions.php b/lib/functions.php index 20fdd7b..801ed78 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -389,15 +389,22 @@ } function show_date_form($name, $date = null) { + $past = 60; + $future = 60; echo "\n";