diff --git a/index.php b/index.php index b7aee28..2d81be8 100644 --- a/index.php +++ b/index.php @@ -48,6 +48,10 @@ if (isset($_GET['action'])) { $tpl = $m->loadTemplate('faq_html'); $tpl_done = true; break; + case 'send': + $form_type = $_POST['form_type']; + // TODO: Store form data in session + break; } } @@ -90,6 +94,9 @@ if (!$tpl_done && isset($_SESSION['access_token']) && $_SESSION['access_token']) $tpl_done = true; } else { switch ($_GET['action']) { + case 'send': + echo "This would send the mail..."; + break; case 'event': $tpl = $m->loadTemplate('event_html'); $tpl_done = true; diff --git a/templates/hotel_html.mustache b/templates/hotel_html.mustache index 62879d2..0a0a39d 100644 --- a/templates/hotel_html.mustache +++ b/templates/hotel_html.mustache @@ -8,7 +8,8 @@