diff --git a/config-landscape-outdoorevents.sample.php b/config-landscape-outdoorevents.sample.php index f020fb37fa20581470aa78651b03e5899fd68714..7d0054221913f369651f7d1eaf747a2dc1ecd554 100644 --- a/config-landscape-outdoorevents.sample.php +++ b/config-landscape-outdoorevents.sample.php @@ -18,6 +18,8 @@ function myautoload($class) require_once $file; } +$url = "http://localhost/workspace/ucomm_webforms/landscape/outdoorevents/"; + $sendToEmail = "jdoe1@unl.edu"; //Contact person who is collecting data $sendToEmailBackup = "sdoe2@unl.edu"; //Backup contact, set to NULL if not wanted $sendToEmailDev= "appdev1@unl.edu"; //Application developer as a backup diff --git a/www/landscape/outdoorevents/index.php b/www/landscape/outdoorevents/index.php index 57a6de703e995e1cb8e7bf2628511259342f8322..74105113e40a2d83150fcdffcfb7fd6ffcdce72b 100644 --- a/www/landscape/outdoorevents/index.php +++ b/www/landscape/outdoorevents/index.php @@ -39,6 +39,7 @@ if (!empty($_POST)) { $body .= "<h3>Other Information</h3>"; $body .= "<strong>Bad Weather Contingency:</strong> " . $_POST['weather'] . "<br/>"; $body .= "<strong>Additional Comments:</strong> " . $_POST['comments'] . "<br/>"; + $body .= "<p>This email was sent from:" . $url . "</p>"; $note = "<p>Note: This request does not confirm/reserve access to the space. We will contact you as to availability.</p>"; $mailer->html_body = $note.$body;