From: maxious Date: Fri, 15 Jul 2011 00:25:26 +0000 Subject: Disable broken trip planner geolocation X-Git-Url: https://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=dd1522f917bad2600d1d35e76b0c6ff1f4223acd --- Disable broken trip planner geolocation --- --- a/include/common-template.inc.php +++ b/include/common-template.inc.php @@ -322,10 +322,6 @@ $(document).ready(function() { $('#here').click(function(event) { $('#geolocate').val(geolocate()); return false;}); $('#here').show(); - /*if ($.mobile.media('screen and (min-width: 768px)')) { - $('map a:first').click(); - $('#settings a:first').click(); - }*/ }); "; if (!isset($_SESSION['lat']) || $_SESSION['lat'] == "") echo "geolocate();"; --- a/tripPlanner.php +++ b/tripPlanner.php @@ -1,6 +1,6 @@ $errorMessage"; + echo "
$errorMessage"; echo '
- +
- +
@@ -34,13 +34,7 @@
'; - echo ""; } function processItinerary($itineraryNumber, $itinerary) { @@ -117,7 +111,6 @@ } else if (strpos($to, "(") !== false) { $toParts = explode("(", $to); - print_r($toParts); $toPlace = str_replace( ")", "", $toParts[1]); } else {