From: maxious
Date: Sat, 19 Mar 2011 13:32:48 +0000
Subject: Title formatting fixes on route view
X-Git-Url: https://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=b49fda4443ba17c512fdbdfaea3326cc1db0d86d
---
Title formatting fixes on route view
---
--- a/index.php
+++ b/index.php
@@ -20,7 +20,7 @@
Timetables - Routes
Routes By Final Destination
Routes By Number
- Stops By Suburb
+ Routes By Suburb
Nearby Routes
';
-echo ' Other Trips: ';
+echo '
Via:
' . implode(", ", $viaPoints) . '
';
+echo 'Other Trips:
';
foreach ($routetrips as $othertrip) {
echo '' . midnight_seconds_to_time($othertrip[0]) . ' ';
}
-echo ' Other directions/timing periods: ';
+echo 'Other directions/timing periods:
';
$url = $APIurl . "/json/routesearch?routeshortname=" . $trips[1]->route_short_name;
$json = json_decode(getPage($url));
foreach ($json as $row) {