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^0 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=7c5b4e6f44d60e04ad3c35264e576228dd4ff6cd;hp=--cc;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. --- 7c5b4e6f44d60e04ad3c35264e576228dd4ff6cd 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";