--- a/stop.php
+++ b/stop.php
@@ -73,7 +73,8 @@
//}
}
}
-include_header($stop['stop_name'], "stop");
+$stopDescParts = explode("
",$stop['stop_desc']);
+include_header(trim(str_replace("Street: ","",$stopDescParts[0])), "stop");
/* $serviceAlerts = json_decode(getPage(curPageURL() . "/servicealerts_api.php?filter_class=stop&filter_id=".$stopid) , true);
@@ -96,29 +97,7 @@
));
}
-// time settings
-echo '
";
+
+ $destination = getTripDestination($trip['trip_id']);
+ echo ' ";
$viaPoints = viaPointNames($trip['trip_id'], $trip['stop_sequence']);
if ($viaPoints != "")
echo ''. $trip['route_short_name'] . " towards " . $destination['stop_name'] . "
Via: ' . $viaPoints . '';