X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=fd66f1a7b8ae8c3b1617b255a8309a244370407d;hb=ae926461ebeb67c806caa7be5d85d18a02a08177;hp=56b34fc36fb09d228cb4d9598f5c138a507ef444;hpb=aaac8ff612afe5c10dd97a61f44870c24da4fcad;p=ypp-sc-tools.db-test.git
diff --git a/yarrg/web/lookup b/yarrg/web/lookup
index 56b34fc..fd66f1a 100755
--- a/yarrg/web/lookup
+++ b/yarrg/web/lookup
@@ -78,6 +78,9 @@ my %styles;
Before => '',
Values => [ [ 0, 'Show total quantity at each price' ],
[ 1, 'Show individual stalls' ],
+ [ 2, "Also be cautious about stalls'".
+ " poe reserves",
+ '[?]' ]
],
QuerySpecific => 1,
}, { Name => 'RouteSearchType',
@@ -128,12 +131,13 @@ $ours
<% ucfirst $ahtml{Query} %> - YARRG
<&| script &>
function register_onload(f) {
@@ -147,14 +151,8 @@ tr.datarow1 { background: #ffffff; }
% if (!printable($m)) {
-YARRG -
- Yet Another Revenue Research Gatherer
-|
-introduction
-|
-documentation
-|
-development
+
+<& navbar &>
% }
<%perl>
@@ -196,7 +194,7 @@ my $prselector_core= sub {
my $cvalix= 0;
foreach my $valr (@{ $var->{Values} }) {
print $delim; $delim= "\n|\n";
- my ($value,$html) = @$valr;
+ my ($value,$html,$finally) = @$valr;
my $iscurrent= &{$var->{CmpCanon}}($value) eq $canon;
my $after;
if ($iscurrent) {
@@ -205,6 +203,7 @@ my $prselector_core= sub {
} else {
my %qf= (%baseqf,%queryqf);
delete $qf{$lname};
+ delete $qf{$_} foreach grep { m/^[A-Z]/ } keys %qf;
$qf{$lname}= $value if $cvalix;
%perl>
@@ -212,6 +211,7 @@ my $prselector_core= sub {
$after= '';
}
print $html, $after;
+ print " ", $finally if defined $finally;
$cvalix++;
}
print "
\n\n";
@@ -255,6 +255,7 @@ $debug => 0
%args>
% if (!printable($m)) {
+
% }
@@ -272,15 +273,14 @@ $debug => 0
}
&>
-
-
%#---------- debugging and epilogue ----------
% if ($debug) {
-
+
% }
<&| script &>