From: maxious Date: Sun, 03 Jul 2011 12:17:42 +0000 Subject: Add original route URL X-Git-Url: https://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=20d65e36fd1ff4f115eb6e58a319a3fefabc07d9 --- Add original route URL --- --- a/include/common-request.inc.php +++ b/include/common-request.inc.php @@ -15,7 +15,7 @@ $nearby = true; } if (isset($_REQUEST['suburb'])) { - $suburb = filter_var($_REQUEST['suburb'], FILTER_SANITIZE_STRING); + $suburb = $_REQUEST['suburb']; } $pageKey = filter_var($_REQUEST['pageKey'], FILTER_SANITIZE_NUMBER_INT); $lat = filter_var($_REQUEST['lat'], FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION); --- a/trip.php +++ b/trip.php @@ -17,6 +17,7 @@ trackEvent("Route/Trip View","View Route", $trip['route_short_name'] . ' ' . $trip['route_long_name'], $routeid); echo ''; +echo 'View Original Timetable/Map'; echo '

Via:

' . viaPointNames($tripid) . ''; echo '

Other Trips:

'; foreach (getRouteTrips($routeid) as $othertrip) {