X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_route;h=18c3ecb1390af1f2d3a3fc4f2108d2a64f5c90ce;hb=4311ae355f0a94637c94d1d02a6edcbe65bebaa7;hp=ee726a9ced8d0a6c024c6d83bc3aaa95a7966882;hpb=e05f0567ea23491da8e48f892a3337f37139628f;p=ypp-sc-tools.db-live.git diff --git a/yarrg/web/query_route b/yarrg/web/query_route index ee726a9..18c3ecb 100644 --- a/yarrg/web/query_route +++ b/yarrg/web/query_route @@ -36,6 +36,7 @@ <%args> $quri $dbh +$prselector $routestring => ''; $someresults $emsgokorprint @@ -50,11 +51,13 @@ my %islandid2; my $qa= \%ARGS; +

Specify route

+ +% $prselector->('ShowStalls'); + %#---------- textbox, user enters route as string ---------- % if (!$qa->{Dropdowns}) { -

Specify route

- Enter route (islands, or archipelagoes, separated by |s or commas; abbreviations are OK):
@@ -163,9 +166,8 @@ function ms_Setarch(dd) { % } #---------- end of dropdowns, now common middle of page code ---------- -% my $ours= sub { $_[0] =~ m/^island|^archipelago|^routestring/; }; +% my $ours= sub { $_[0] =~ m/^island|^archipelago|^routestring|^rtsel[ag]_/; }; <& "lookup:formhidden", ours => $ours &> - <%perl> #========== results ========== @@ -210,4 +212,5 @@ for my $dd (0..$qa->{Dropdowns}-1) { archipelagoes => \@archipelagoes, qa => $qa &> + % }