X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=56b34fc36fb09d228cb4d9598f5c138a507ef444;hb=2193f00e651a9c9cfc1130e1ba4d32dd050b437f;hp=15f341adc3cf8131fc41ae91b8ebd16abc450af2;hpb=b003b70daab49984677a1cfadced9da9ee9be19a;p=ypp-sc-tools.db-live.git diff --git a/yarrg/web/lookup b/yarrg/web/lookup index 15f341a..56b34fc 100755 --- a/yarrg/web/lookup +++ b/yarrg/web/lookup @@ -80,6 +80,12 @@ my %styles; [ 1, 'Show individual stalls' ], ], QuerySpecific => 1, + }, { Name => 'RouteSearchType', + Before => 'Type of routes to search for: ', + Values => [ [ 0, 'Open-ended' ], + [ 1, 'Circular' ], + ], + QuerySpecific => 1, }); foreach my $var (@vars) { @@ -140,6 +146,7 @@ tr.datarow1 { background: #ffffff; } &script>
+% if (!printable($m)) { YARRG - Yet Another Revenue Research Gatherer | @@ -149,6 +156,7 @@ tr.datarow1 { background: #ffffff; } | development+% } <%perl> foreach my $var (@vars) { @@ -180,6 +188,7 @@ my $quri= sub { my $prselector_core= sub { my ($var)= @_; + return if printable($m); my $name= $var->{Name}; my $lname= lc $var->{Name}; my $delim= $var->{Before}; @@ -245,10 +254,13 @@ my $someresults= sub { $debug => 0 %args> +% if (!printable($m)) {