diff options
-rw-r--r-- | templates/main.html.ep | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/main.html.ep b/templates/main.html.ep index 1c7d8e6..75c8791 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -48,11 +48,11 @@ Data is cached for 1 minute. JSON format: <li>error: err string if an error occured, otherwise null</li> <li>preformatted: strings used by the PNG / HTML frontend</li> <li>raw: -% if (param('backend') and param('backend') eq 'db') { +% if (param('backend') and param('backend') =~ m{ ^db | ^hafas }x) { serialized <a href="http://finalrewind.org/projects/Travel-Status-DE-DeutscheBahn/"> Travel::Status::DE::HAFAS</a>-objects, see the -<a href="http://man.finalrewind.org/3/Travel-Status-DE-DeutscheBahn-Result/">::Result</a> +<a href="http://man.finalrewind.org/3/Travel-Status-DE-HAFAS-Result/">::Result</a> documentation % } % elsif (param('backend') and param('backend') eq 'aseag') { @@ -65,10 +65,10 @@ documentation % else { serialized <a href="http://finalrewind.org/projects/Travel-Status-DE-VRR/"> -Travel::Status::DE::VRR</a>-objects, see the -<a href="http://man.finalrewind.org/3/Travel-Status-DE-VRR-Result/">::Result</a> +Travel::Status::DE::EFA</a>-objects, see the +<a href="http://man.finalrewind.org/3/Travel-Status-DE-EFA-Result/">::Result</a> and -<a href="http://man.finalrewind.org/3/Travel-Status-DE-VRR-Line/">::Line</a> +<a href="http://man.finalrewind.org/3/Travel-Status-DE-EFA-Line/">::Line</a> documentation % } </li> |