From: Maxious Date: Wed, 25 Jan 2012 05:26:13 +0000 Subject: Display stop page title as street the stop is on. X-Git-Url: http://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=fbec78b52e901265ed9adb9c4e4b2a61f522f5da --- Display stop page title as street the stop is on. --- --- 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);