summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsa Venton <asav1410@gmail.com>2019-10-18 21:19:08 +0100
committerAsa Venton <asav1410@gmail.com>2019-10-18 21:19:08 +0100
commit246ac263d8f3735d09a92c82b66a44dcf348a485 (patch)
tree105bde64d7fe3ac4f6027f041cee5203e874c94e
parentbf914a5ed0a5173dea527aa0dc319ae3425018a3 (diff)
spelling
-rw-r--r--[-rwxr-xr-x]getjson.sh0
-rw-r--r--index.php4
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
diff --git a/index.php b/index.php
index 13f03af..18f7eff 100644
--- a/index.php
+++ b/index.php
@@ -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>';
}