diff options
-rw-r--r-- | index.pl | 4 | ||||
-rw-r--r-- | templates/layouts/default.html.ep | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -316,9 +316,9 @@ sub handle_request { my $show_realtime = $self->param('show_realtime') // 0; my $backend = $self->param('backend') // 'iris'; my $admode = $self->param('admode') // 'deparr'; - my $with_related = $self->param('recursive') // 0; - my $callback = $self->param('callback'); my $apiver = $self->param('version') // 0; + my $callback = $self->param('callback'); + my $with_related = !$self->param('no_related'); my @train_types = split( /,/, $self->param('train_types') // q{} ); my %opt; diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 92ee22a..1f21a6e 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -140,9 +140,9 @@ Bitte eine Station aus der Liste auswählen</div> </div> <div class="field"> <div class="desc"> - %= check_box 'recursive' => 1, id => 'id_recursive' - <label for="id_recursive"> - Betriebliche Bahnhofstrennungen ignorieren (z.B. "Hbf (Fern+Regio)" vs. "Hbf (S)") + %= check_box 'no_related' => 1, id => 'id_no_related' + <label for="id_no_related"> + Betriebliche Bahnhofstrennungen berücksichtigen (z.B. "Hbf (Fern+Regio)" vs. "Hbf (S)") </label> </div> </div> |