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=eb9f53d815d9825ff56b265bac60c5b766507e31;hp=2f67760c487d6f1281b37bcb819ca6a7b2dd3d01;hb=2aa3a575e41e6c9ed3b58e822dde0cf73502012b;hpb=a1fb96b672d234f5961a397215c19c2c631c5cc3
diff --git a/yarrg/web/lookup b/yarrg/web/lookup
index 2f67760..eb9f53d 100755
--- a/yarrg/web/lookup
+++ b/yarrg/web/lookup
@@ -128,12 +128,13 @@ $ours
<% ucfirst $ahtml{Query} %> - YARRG
<&| script &>
function register_onload(f) {
@@ -146,15 +147,11 @@ tr.datarow1 { background: #ffffff; }
&script>
-YARRG -
- Yet Another Revenue Research Gatherer
-|
-introduction
-|
-documentation
-|
-development
+% if (!printable($m)) {
+
+<& navbar &>
+% }
<%perl>
foreach my $var (@vars) {
@@ -186,6 +183,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};
@@ -251,10 +249,14 @@ my $someresults= sub {
$debug => 0
%args>
+% if (!printable($m)) {
+
+% }
<& "query_$styles{Query}", %baseqf, %queryqf, %styles,
- quri => $quri, dbh => $dbh, queryqf => \%queryqf, allargs => \%ARGS,
+ quri => $quri, dbh => $dbh,
+ baseqf => \%baseqf, queryqf => \%queryqf, allargs => \%ARGS,
prselector => $prselector,
someresults => $someresults,
emsgokorprint => sub {
@@ -266,15 +268,14 @@ $debug => 0
}
&>
-
-
%#---------- debugging and epilogue ----------
% if ($debug) {
-
+
% }
<&| script &>