X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=365ed58129407277626411e60f96b8bc8fe2ba1e;hb=219c9b471fb927f2263b0e36669188ca937d5c8b;hp=2f67760c487d6f1281b37bcb819ca6a7b2dd3d01;hpb=a1fb96b672d234f5961a397215c19c2c631c5cc3;p=ypp-sc-tools.db-test.git
diff --git a/yarrg/web/lookup b/yarrg/web/lookup
index 2f67760..365ed58 100755
--- a/yarrg/web/lookup
+++ b/yarrg/web/lookup
@@ -128,12 +128,13 @@ $ours
<% ucfirst $ahtml{Query} %> - YARRG
<&| script &>
function register_onload(f) {
@@ -146,6 +147,8 @@ tr.datarow1 { background: #ffffff; }
&script>
+% if (!printable($m)) {
+
YARRG -
Yet Another Revenue Research Gatherer
|
@@ -155,6 +158,7 @@ tr.datarow1 { background: #ffffff; }
|
development
+% }
<%perl>
foreach my $var (@vars) {
@@ -186,6 +190,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 +256,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 +275,14 @@ $debug => 0
}
&>
-
-
%#---------- debugging and epilogue ----------
% if ($debug) {
-
+
% }
<&| script &>