From 0fd77b357d1868a57756e91f9e71dfa3b3db26b8 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 22 Apr 2013 16:08:53 -0400 Subject: [PATCH] Show dates in the past. Show dates up to two months in the past as well as the future when creating a date dropdown. --- lib/functions.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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"; -- 2.7.4