--- a/stopList.php +++ b/stopList.php @@ -22,10 +22,9 @@ echo '
'; @@ -50,12 +49,7 @@ echo ''; } else { // Timing Points / All stops - if (isset($allstops)) { - $listType = 'allstops=yes'; - $stops = getStops(); - include_header("All Stops", "stopList"); - navbar(); - } else if (isset($nearby)) { + if (isset($nearby)) { $listType = 'nearby=yes'; include_header("Nearby Stops", "stopList", true, true); trackEvent("Stop Lists", "Stops Nearby", $_SESSION['lat'] . "," . $_SESSION['lon']); @@ -86,10 +80,11 @@ navbar(); trackEvent("Stop Lists", "Stops By Suburb", $suburb); } else { - $stops = getStops(true, $firstLetter); - include_header("Timing Points / Major Stops", "stopList"); + $listType = 'allstops=yes'; + $stops = getStops($firstLetter); + include_header("Stops by Name", "stopList"); navbar(); - } + } echo '