From 91387f8f489e561deaf1de052d80ef800a4970a3 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 26 Oct 2001 10:24:56 +0000 Subject: cache foo *sigh* --- httemplate/search/cust_bill.cgi | 4 ++-- httemplate/search/cust_main.cgi | 4 ++-- httemplate/search/cust_pkg.cgi | 4 ++-- httemplate/search/svc_acct.cgi | 4 ++-- httemplate/search/svc_acct_sm.cgi | 4 ++-- httemplate/search/svc_domain.cgi | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'httemplate/search') diff --git a/httemplate/search/cust_bill.cgi b/httemplate/search/cust_bill.cgi index d6d942b1b..02dbf558f 100755 --- a/httemplate/search/cust_bill.cgi +++ b/httemplate/search/cust_bill.cgi @@ -1,5 +1,5 @@ <% -# +# use strict; use vars qw ( $cgi $invnum $query $sortby @cust_bill ); @@ -67,7 +67,7 @@ if ( scalar(@cust_bill) == 1 ) { eidiot("Invoice not found."); } else { my $total = scalar(@cust_bill); - print $cgi->header( '-expires' => 'now' ), + print $cgi->header( @FS::CGI::header ), &header("Invoice Search Results", menubar( 'Main Menu', popurl(2) )), "$total matching invoices found
", &table(), < +# use strict; #use vars qw( $conf %ncancelled_pkgs %all_pkgs $cgi @cust_main $sortby ); @@ -59,7 +59,7 @@ if ( scalar(@cust_main) == 1 && ! $cgi->param('referral_custnum') ) { } else { my($total)=scalar(@cust_main); - print $cgi->header( '-expires' => 'now' ), header("Customer Search Results",menubar( + print $cgi->header( @FS::CGI::header ), header("Customer Search Results",menubar( 'Main Menu', popurl(2) )), "$total matching customers found "; if ( $cgi->param('showcancelledcustomers') eq '0' #see if it was set by me diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index 8a0dfd132..f7cb50674 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -1,5 +1,5 @@ <% -# +# use strict; use vars qw ( $cgi @cust_pkg $sortby $query %part_pkg ); @@ -58,7 +58,7 @@ if ( scalar(@cust_pkg) == 1 ) { eidiot("No packages found"); } else { my($total)=scalar(@cust_pkg); - print $cgi->header( '-expires' => 'now' ), + print $cgi->header( @FS::CGI::header ), header('Package Search Results',''), "$total matching packages found
", &table(), < diff --git a/httemplate/search/svc_acct.cgi b/httemplate/search/svc_acct.cgi index 64085ea93..5fc815453 100755 --- a/httemplate/search/svc_acct.cgi +++ b/httemplate/search/svc_acct.cgi @@ -1,5 +1,5 @@ <% -# +# use strict; use vars qw( $cgi @svc_acct $sortby $query $mydomain ); @@ -59,7 +59,7 @@ if ( scalar(@svc_acct) == 1 ) { idiot("Account not found"); } else { my($total)=scalar(@svc_acct); - print $cgi->header( '-expires' => 'now' ), + print $cgi->header( @FS::CGI::header ), header("Account Search Results",''), "$total matching accounts found", &table(), < +# use strict; use vars qw( $conf $cgi $mydomain $domuser $svc_domain $domsvc @svc_acct_sm ); @@ -40,7 +40,7 @@ if ( scalar(@svc_acct_sm) == 1 ) { my($svcnum)=$svc_acct_sm[0]->svcnum; print $cgi->redirect(popurl(2). "view/svc_acct_sm.cgi?$svcnum"); } elsif ( scalar(@svc_acct_sm) > 1 ) { - print $cgi->header( '-expires' => 'now' ), + print $cgi->header( @FS::CGI::header ), header('Mail Alias Search Results'), &table(), < diff --git a/httemplate/search/svc_domain.cgi b/httemplate/search/svc_domain.cgi index fb386e2cf..1b80e5b32 100755 --- a/httemplate/search/svc_domain.cgi +++ b/httemplate/search/svc_domain.cgi @@ -1,5 +1,5 @@ <% -# +# use strict; use vars qw ( $cgi @svc_domain $sortby $query $conf $mydomain ); @@ -54,7 +54,7 @@ if ( scalar(@svc_domain) == 1 ) { } else { my($total)=scalar(@svc_domain); - print $cgi->header( '-expires' => 'now' ), + print $cgi->header( @FS::CGI::header ), header("Domain Search Results",''), <