diff options
author | Asa Venton <asav1410@gmail.com> | 2019-10-18 21:19:08 +0100 |
---|---|---|
committer | Asa Venton <asav1410@gmail.com> | 2019-10-18 21:19:08 +0100 |
commit | 246ac263d8f3735d09a92c82b66a44dcf348a485 (patch) | |
tree | 105bde64d7fe3ac4f6027f041cee5203e874c94e | |
parent | bf914a5ed0a5173dea527aa0dc319ae3425018a3 (diff) |
spelling
-rw-r--r--[-rwxr-xr-x] | getjson.sh | 0 | ||||
-rw-r--r-- | index.php | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/getjson.sh b/getjson.sh index 3ff6080..3ff6080 100755..100644 --- a/getjson.sh +++ b/getjson.sh @@ -99,7 +99,7 @@ if (isset($_GET['route'])) { echo '<p><br><b>' . ucfirst($direction) . ' | ' . $displayDay . '</b>'; echo '<table align="left" border="1" cellpadding="3" width="100%">'; $trips = getData('trips', $route, $direction, $day); - // TODO: sort stopList by stopList['order'] + // TODO: sort $stopList by $stopList['order'] // TODO: must be a more efficient way to search for $rowStop['stop_name'] in $trip? foreach ($stopList as $rowStop) { echo '<tr><td><b>' . $rowStop['stop_name'] . '</b></td>'; @@ -129,7 +129,7 @@ else { $routes = getData('routes', false, false, false); $meta = getData('meta', false, false, false); echo '<h3>' . $meta['name']. ' | ' . $meta['from'] . ' - ' . $meta['to'] . '</h3>'; - echo '<h4>Service Updates:</h4>\n<p>'; + echo '<h4>Service Updates:</h4><p>'; foreach ($servUpdates as $update) { echo $update['content'] . '- <b>Affected Routes: </b>' . implode(", ",$update['services']) . '<br><br>'; } |