X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=fd66f1a7b8ae8c3b1617b255a8309a244370407d;hp=365ed58129407277626411e60f96b8bc8fe2ba1e;hb=c98eb3b0720f8194a116aea338fd2d3caa8c7538;hpb=3dbb2f33eae3a509123ffc99e48e35f858a8292a
diff --git a/yarrg/web/lookup b/yarrg/web/lookup
index 365ed58..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',
@@ -129,12 +132,12 @@ $ours
<% ucfirst $ahtml{Query} %> - YARRG
<&| script &>
function register_onload(f) {
@@ -149,14 +152,7 @@ $ours
% if (!printable($m)) {
-
YARRG -
- Yet Another Revenue Research Gatherer
-|
-
introduction
-|
-
documentation
-|
-
development
+<& navbar &>
% }
<%perl>
@@ -198,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) {
@@ -207,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>
@@ -214,6 +211,7 @@ my $prselector_core= sub {
$after= '';
}
print $html, $after;
+ print " ", $finally if defined $finally;
$cvalix++;
}
print "
\n\n";