Added definition for flights.

This commit is contained in:
2016-07-11 22:16:07 +02:00
parent 6723ece603
commit bd18f0f9f7
4 changed files with 303 additions and 1 deletions

View File

@@ -126,7 +126,13 @@ if (!$tpl_done && isset($_SESSION['access_token']) && $_SESSION['access_token'])
$ho->setTemplate('event_html');
$tpl_done = true;
break;
case 'hotel':
case 'flight':
$ho->setTemplate('flight_html');
$tpl_done = true;
$action = 'flight';
require 'prep_form.php';
break;
case 'hotel':
$ho->setTemplate('hotel_html');
$tpl_done = true;
$action = 'hotel';