Skip to content
Snippets Groups Projects
Commit daaea0b4 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Alter locations; Add checkbox for agreement with guidelines

parent b0cf1474
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ if (file_exists(dirname(__FILE__).'/../../../config-landscape-outdoorevents.inc. ...@@ -7,7 +7,7 @@ if (file_exists(dirname(__FILE__).'/../../../config-landscape-outdoorevents.inc.
if (!empty($_POST)) { if (!empty($_POST)) {
$error_msg = ''; $error_msg = '';
if (in_array($_POST['location'], array("lied","union","meier","sheldon","wick"))) { if (in_array($_POST['location'], array("lied","meier","sheldon","wick"))) {
$error_msg .= 'This location\'s outdoor events are not arranged through Landscape Services. Please contact them directly. <a href="http://www.unl.edu/unlspecialevents">Contact info available here</a>'; $error_msg .= 'This location\'s outdoor events are not arranged through Landscape Services. Please contact them directly. <a href="http://www.unl.edu/unlspecialevents">Contact info available here</a>';
} }
if (($_POST['location'] == 'other' && empty($_POST['location_other'])) || if (($_POST['location'] == 'other' && empty($_POST['location_other'])) ||
...@@ -15,7 +15,7 @@ if (!empty($_POST)) { ...@@ -15,7 +15,7 @@ if (!empty($_POST)) {
empty($_POST['enddate_month']) || empty($_POST['enddate_day']) || empty($_POST['enddate_month']) || empty($_POST['enddate_day']) ||
empty($_POST['title']) || empty($_POST['starttime_hour']) || empty($_POST['endtime_hour']) || empty($_POST['attendance']) || empty($_POST['title']) || empty($_POST['starttime_hour']) || empty($_POST['endtime_hour']) || empty($_POST['attendance']) ||
empty($_POST['name']) || empty($_POST['email']) || empty($_POST['streetaddress']) || empty($_POST['city']) || empty($_POST['state']) || empty($_POST['zip']) || empty($_POST['name']) || empty($_POST['email']) || empty($_POST['streetaddress']) || empty($_POST['city']) || empty($_POST['state']) || empty($_POST['zip']) ||
empty($_POST['business']) empty($_POST['business']) || empty($_POST['weather']) || empty($_POST['agree'])
) { ) {
$error_msg .= 'Please fill out all required fields'; $error_msg .= 'Please fill out all required fields';
} }
...@@ -100,7 +100,6 @@ $page->head .= <<<EOF ...@@ -100,7 +100,6 @@ $page->head .= <<<EOF
WDN.initializePlugin('notice'); WDN.initializePlugin('notice');
$('#location').change(function() { $('#location').change(function() {
if ($(this).val() == 'lied' || if ($(this).val() == 'lied' ||
$(this).val() == 'union' ||
$(this).val() == 'meier' || $(this).val() == 'meier' ||
$(this).val() == 'sheldon' || $(this).val() == 'sheldon' ||
$(this).val() == 'wick') { $(this).val() == 'wick') {
...@@ -276,12 +275,12 @@ $page->maincontentarea .= <<<EOF ...@@ -276,12 +275,12 @@ $page->maincontentarea .= <<<EOF
</label> </label>
<select name="location" id="location"> <select name="location" id="location">
<option value="none"></option> <option value="none"></option>
<option value="foodindustrycomplex">Greenspace North of Food Industry Complex</option>
<option value="kauffman">Kauffman Center North</option>
<option value="lied">Lied Center Plaza</option> <option value="lied">Lied Center Plaza</option>
<option value="love">Love Library Memorial Garden</option>
<option value="maxwell">Maxwell Arboretum</option> <option value="maxwell">Maxwell Arboretum</option>
<option value="union">Nebraska Union Plaza</option>
<option value="meier">Nebraska Union Meier Commons</option> <option value="meier">Nebraska Union Meier Commons</option>
<option value="porch">The Porch (East Campus)</option> <option value="porch">The Porch</option>
<option value="sheldon">Sheldon Memorial Art Gallery &amp; Sculpture Garden</option> <option value="sheldon">Sheldon Memorial Art Gallery &amp; Sculpture Garden</option>
<option value="wick">Wick Alumni Center and Holling Garden</option> <option value="wick">Wick Alumni Center and Holling Garden</option>
<option value="other">Other...</option> <option value="other">Other...</option>
...@@ -528,7 +527,7 @@ $page->maincontentarea .= <<<EOF ...@@ -528,7 +527,7 @@ $page->maincontentarea .= <<<EOF
<ol style="clear:left;"> <ol style="clear:left;">
<li style="float:left"> <li style="float:left">
<label for="litter"> <label for="litter">
Recycling Con Recycling Containers
</label> </label>
<input type="checkbox" id="recycle" name="recycle" /> <input type="checkbox" id="recycle" name="recycle" />
</li> </li>
...@@ -601,8 +600,9 @@ $page->maincontentarea .= <<<EOF ...@@ -601,8 +600,9 @@ $page->maincontentarea .= <<<EOF
<ol> <ol>
<li> <li>
<label for="weather"> <label for="weather">
Bad Weather Contingency <span class="required">*</span>
<span class="helper">Alternative plans you have in case of bad weather</span> Contingency or Alternate Plans
<span class="helper">for either bad weather or condition of turf due to weather</span>
</label> </label>
<input type="text" id="weather" name="weather" /> <input type="text" id="weather" name="weather" />
</li> </li>
...@@ -612,6 +612,20 @@ $page->maincontentarea .= <<<EOF ...@@ -612,6 +612,20 @@ $page->maincontentarea .= <<<EOF
</label> </label>
<textarea id="comments" name="comments" rows="4" cols="auto"></textarea> <textarea id="comments" name="comments" rows="4" cols="auto"></textarea>
</li> </li>
<li>
<fieldset>
<legend>
<span class="required">*</span>
You must read and agree to the <br><a href="http://bf.unl.edu/policies/fmp/GuidelinesUseUNLCampusOutdoorSpaces.shtml" target="_blank" class="external">Guidelines for Use of UNL Campus Outdoor Spaces</a>
</legend>
<ol>
<li>
<input type="checkbox" id="agree" name="agree" />
<label for="agree">I agree</label>
</li>
</ol>
</fieldset>
</li>
</ol> </ol>
</fieldset> </fieldset>
<input type="submit" name="submit" value="Submit" id="submit" /> <input type="submit" name="submit" value="Submit" id="submit" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment