From: Steve Sutton Date: Wed, 30 Nov 2016 18:58:20 +0000 (-0500) Subject: Update the max date X-Git-Tag: v1.0.0~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=5266202d7724ef5b325cb3b08bbd1975a1e76f6d;p=web%2Fwww.mackinacislandpackage.com.git Update the max date These were the original ones set. --- diff --git a/admin/packages/addPackage.php b/admin/packages/addPackage.php index 2564935..e1beec6 100644 --- a/admin/packages/addPackage.php +++ b/admin/packages/addPackage.php @@ -58,7 +58,7 @@ else // min date for packages is May 13th (fort closed before this) $min_date = date("n/j/Y",$min_time); // max date for packages is Sep 30th (fort closed after this) -$max_time = mktime(0,0,0,12,30,date('Y')); +$max_time = mktime(0,0,0,9,30,date('Y')); $max_date = date("n/j/Y",$max_time); $cal_set = ',pagedate: "'.$page_date.'",mindate: "'.$min_date.'",maxdate: "'.$max_date.'"'; $fields[] = array('name'=>'cday','type'=>'hide'); diff --git a/order-form.inc.php b/order-form.inc.php index 16264f0..f264b25 100755 --- a/order-form.inc.php +++ b/order-form.inc.php @@ -58,7 +58,7 @@ else // min date for packages is May 15th (fort closed before this) $min_date = date("n/j/Y",$min_time); // max date for packages is Sep 30th (fort closed after this) -$max_time = mktime(0,0,0,12,30,date('Y')); +$max_time = mktime(0,0,0,9,30,date('Y')); $max_date = date("n/j/Y",$max_time); $cal_set = ',pagedate: "'.$page_date.'",mindate: "'.$min_date.'",maxdate: "'.$max_date.'"'; $fields[] = array('name'=>'cday','type'=>'hide');