From 1f076c960e93f673a2bae377b552ef892103877c Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Fri, 2 Mar 2012 22:02:45 +0000
Subject: [PATCH] Put the parking checkbox in the email

---
 www/landscape/outdoorevents/index.php    | 7 +++++--
 www/landscape/outdoorevents/thankyou.php | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/www/landscape/outdoorevents/index.php b/www/landscape/outdoorevents/index.php
index 8299be3..e95de9c 100644
--- a/www/landscape/outdoorevents/index.php
+++ b/www/landscape/outdoorevents/index.php
@@ -61,8 +61,11 @@ if (!empty($_POST)) {
         $body .= "<strong>Recycling Containers:</strong> " . $_POST['recycle_number'] . "<br/>";
         $body .= "<strong>Litter Containers:</strong> " . $_POST['litter_number'] . "<br/>";
         $body .= "<strong>Picnic Tables:</strong> " . $_POST['picnic_number'] . "<br/>";
-        if (isset($_POST['electricity'])) {
-            $body .= '<strong>Electricity Hookup:</strong> <font color="#8B4513">Please contact Building Systems Maintenance at 402-472-1550</font><br/>';
+        if (isset($_POST['electricity']) && $_POST['electricity'] != 0) {
+            $body .= '<strong>Electricity Hookup:</strong> Yes <font color="#8B4513">Please contact Building Systems Maintenance at 402-472-1550</font><br/>';
+        }
+        if (isset($_POST['parking']) && $_POST['parking'] != 0) {
+            $body .= '<strong>Parking Needed:</strong> Yes <font color="#8B4513">Please contact Parking and Transit at 402-472-8436</font><br/>';
         }
 
         $body .= "<h3>Other Information</h3>";
diff --git a/www/landscape/outdoorevents/thankyou.php b/www/landscape/outdoorevents/thankyou.php
index eec447f..36eefda 100644
--- a/www/landscape/outdoorevents/thankyou.php
+++ b/www/landscape/outdoorevents/thankyou.php
@@ -20,7 +20,7 @@ $page->titlegraphic     = '<h1>Landscape Services</h1>';
 $page->pagetitle        = '<h2>Outdoor Event Space Request</h2>';
 $page->maincontentarea  = <<<EOF
 
-<h3>Thank you for submitting your request, we will contact you as to availability.</h3>
+<h3>Thank you for submitting your request.  You should receive a confirmation email shortly and we will contact you as to availability.</h3>
 
 EOF;
 
-- 
GitLab