summaryrefslogtreecommitdiff
path: root/htdocs/view
diff options
context:
space:
mode:
authorivan <ivan>1999-01-18 09:41:48 +0000
committerivan <ivan>1999-01-18 09:41:48 +0000
commit183f64ede863fff923db7e00d962b3495e405477 (patch)
tree8156a023958ab999f9910327718a79348d799821 /htdocs/view
parentc93520accf00e15095e7af5fcb59caed2bd9e556 (diff)
all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl
(good idea anyway)
Diffstat (limited to 'htdocs/view')
-rwxr-xr-xhtdocs/view/cust_bill.cgi10
-rwxr-xr-xhtdocs/view/cust_main.cgi10
-rwxr-xr-xhtdocs/view/cust_pkg.cgi10
-rwxr-xr-xhtdocs/view/svc_acct.cgi10
-rwxr-xr-xhtdocs/view/svc_acct_sm.cgi10
-rwxr-xr-xhtdocs/view/svc_domain.cgi10
6 files changed, 42 insertions, 18 deletions
diff --git a/htdocs/view/cust_bill.cgi b/htdocs/view/cust_bill.cgi
index 80aab187f..ccfc33c81 100755
--- a/htdocs/view/cust_bill.cgi
+++ b/htdocs/view/cust_bill.cgi
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: cust_bill.cgi,v 1.4 1998-12-30 23:03:33 ivan Exp $
+# $Id: cust_bill.cgi,v 1.5 1999-01-18 09:41:42 ivan Exp $
#
# Note: Should be run setuid freeside as user nobody.
#
@@ -25,7 +25,11 @@
# also print 'printed' field ivan@sisd.com 98-jul-10
#
# $Log: cust_bill.cgi,v $
-# Revision 1.4 1998-12-30 23:03:33 ivan
+# Revision 1.5 1999-01-18 09:41:42 ivan
+# all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl
+# (good idea anyway)
+#
+# Revision 1.4 1998/12/30 23:03:33 ivan
# bugfixes; fields isn't exported by derived classes
#
# Revision 1.3 1998/12/23 03:07:49 ivan
@@ -59,7 +63,7 @@ my($custnum) = $cust_bill->getfield('custnum');
my($printed) = $cust_bill->printed;
my $p = popurl(2);
-print $cgi->header, header('Invoice View', menubar(
+print $cgi->header( '-expires' => 'now' ), header('Invoice View', menubar(
"Main Menu" => $p,
"View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
)), <<END;
diff --git a/htdocs/view/cust_main.cgi b/htdocs/view/cust_main.cgi
index 0f7a3f4d3..71a4e517e 100755
--- a/htdocs/view/cust_main.cgi
+++ b/htdocs/view/cust_main.cgi
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: cust_main.cgi,v 1.8 1999-01-18 09:22:35 ivan Exp $
+# $Id: cust_main.cgi,v 1.9 1999-01-18 09:41:43 ivan Exp $
#
# Usage: cust_main.cgi custnum
# http://server.name/path/cust_main.cgi?custnum
@@ -33,7 +33,11 @@
# lose background, FS::CGI ivan@sisd.com 98-sep-2
#
# $Log: cust_main.cgi,v $
-# Revision 1.8 1999-01-18 09:22:35 ivan
+# Revision 1.9 1999-01-18 09:41:43 ivan
+# all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl
+# (good idea anyway)
+#
+# Revision 1.8 1999/01/18 09:22:35 ivan
# changes to track email addresses for email invoicing
#
# Revision 1.7 1998/12/30 23:03:34 ivan
@@ -75,7 +79,7 @@ use FS::cust_refund;
my($cgi) = new CGI;
&cgisuidsetup($cgi);
-print $cgi->header, header("Customer View", menubar(
+print $cgi->header( '-expires' => 'now' ), header("Customer View", menubar(
'Main Menu' => popurl(2)
)),<<END;
<BASEFONT SIZE=3>
diff --git a/htdocs/view/cust_pkg.cgi b/htdocs/view/cust_pkg.cgi
index b394da591..3f6eed614 100755
--- a/htdocs/view/cust_pkg.cgi
+++ b/htdocs/view/cust_pkg.cgi
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: cust_pkg.cgi,v 1.5 1998-12-23 03:11:40 ivan Exp $
+# $Id: cust_pkg.cgi,v 1.6 1999-01-18 09:41:44 ivan Exp $
#
# Usage: cust_pkg.cgi pkgnum
# http://server.name/path/cust_pkg.cgi?pkgnum
@@ -26,7 +26,11 @@
# no FS::Search ivan@sisd.com 98-mar-7
#
# $Log: cust_pkg.cgi,v $
-# Revision 1.5 1998-12-23 03:11:40 ivan
+# Revision 1.6 1999-01-18 09:41:44 ivan
+# all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl
+# (good idea anyway)
+#
+# Revision 1.5 1998/12/23 03:11:40 ivan
# *** empty log message ***
#
# Revision 1.3 1998/12/17 09:57:22 ivan
@@ -60,7 +64,7 @@ foreach $part_svc ( qsearch('part_svc',{}) ) {
$uiadd{$part_svc->svcpart}= popurl(2). "edit/". $part_svc->svcdb . ".cgi";
}
-print $cgi->header, header('Package View', '');
+print $cgi->header( '-expires' => 'now' ), header('Package View', '');
my($query) = $cgi->keywords;
$query =~ /^(\d+)$/;
diff --git a/htdocs/view/svc_acct.cgi b/htdocs/view/svc_acct.cgi
index 66ae2d1e9..1151e1ced 100755
--- a/htdocs/view/svc_acct.cgi
+++ b/htdocs/view/svc_acct.cgi
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: svc_acct.cgi,v 1.5 1999-01-18 09:22:36 ivan Exp $
+# $Id: svc_acct.cgi,v 1.6 1999-01-18 09:41:45 ivan Exp $
#
# Usage: svc_acct.cgi svcnum
# http://server.name/path/svc_acct.cgi?svcnum
@@ -35,7 +35,11 @@
# displays arbitrary radius attributes ivan@sisd.com 98-aug-16
#
# $Log: svc_acct.cgi,v $
-# Revision 1.5 1999-01-18 09:22:36 ivan
+# Revision 1.6 1999-01-18 09:41:45 ivan
+# all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl
+# (good idea anyway)
+#
+# Revision 1.5 1999/01/18 09:22:36 ivan
# changes to track email addresses for email invoicing
#
# Revision 1.4 1998/12/23 03:09:19 ivan
@@ -86,7 +90,7 @@ if ($pkgnum) {
my($part_svc)=qsearchs('part_svc',{'svcpart'=> $cust_svc->svcpart } );
die "Unkonwn svcpart" unless $part_svc;
-print $cgi->header, header('Account View', '');
+print $cgi->header( '-expires' => 'now' ), header('Account View', '');
my $p = popurl(2);
if ($pkgnum || $custnum) {
diff --git a/htdocs/view/svc_acct_sm.cgi b/htdocs/view/svc_acct_sm.cgi
index f30fb429b..ab8450fce 100755
--- a/htdocs/view/svc_acct_sm.cgi
+++ b/htdocs/view/svc_acct_sm.cgi
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: svc_acct_sm.cgi,v 1.4 1998-12-23 03:09:52 ivan Exp $
+# $Id: svc_acct_sm.cgi,v 1.5 1999-01-18 09:41:46 ivan Exp $
#
# Usage: svc_acct_sm.cgi svcnum
# http://server.name/path/svc_acct_sm.cgi?svcnum
@@ -22,7 +22,11 @@
# /var/spool/freeside/conf/domain ivan@sisd.com 98-jul-17
#
# $Log: svc_acct_sm.cgi,v $
-# Revision 1.4 1998-12-23 03:09:52 ivan
+# Revision 1.5 1999-01-18 09:41:46 ivan
+# all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl
+# (good idea anyway)
+#
+# Revision 1.4 1998/12/23 03:09:52 ivan
# $cgi->keywords instead of $cgi->query_string
#
# Revision 1.3 1998/12/17 09:57:24 ivan
@@ -64,7 +68,7 @@ if ($pkgnum) {
my($part_svc)=qsearchs('part_svc',{'svcpart'=> $cust_svc->svcpart } );
die "Unkonwn svcpart" unless $part_svc;
-print $cgi->header, header('Mail Alias View');
+print $cgi->header( '-expires' => 'now' ), header('Mail Alias View');
my $p = popurl(2);
if ($pkgnum || $custnum) {
diff --git a/htdocs/view/svc_domain.cgi b/htdocs/view/svc_domain.cgi
index 9abeebbf4..7fa65e020 100755
--- a/htdocs/view/svc_domain.cgi
+++ b/htdocs/view/svc_domain.cgi
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: svc_domain.cgi,v 1.4 1998-12-23 03:10:19 ivan Exp $
+# $Id: svc_domain.cgi,v 1.5 1999-01-18 09:41:47 ivan Exp $
#
# Usage: svc_domain svcnum
# http://server.name/path/svc_domain.cgi?svcnum
@@ -15,7 +15,11 @@
# bmccane@maxbaud.net 98-apr-3
#
# $Log: svc_domain.cgi,v $
-# Revision 1.4 1998-12-23 03:10:19 ivan
+# Revision 1.5 1999-01-18 09:41:47 ivan
+# all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl
+# (good idea anyway)
+#
+# Revision 1.4 1998/12/23 03:10:19 ivan
# $cgi->keywords instead of $cgi->query_string
#
# Revision 1.3 1998/12/17 09:57:25 ivan
@@ -55,7 +59,7 @@ my($part_svc)=qsearchs('part_svc',{'svcpart'=> $cust_svc->svcpart } );
die "Unkonwn svcpart" unless $part_svc;
my $p = popurl(2);
-print $cgi->header, header('Domain View', menubar(
+print $cgi->header( '-expires' => 'now' ), header('Domain View', menubar(
"Main menu" => $p,
"View this package (#$pkgnum)" => "${p}view/cust_pkg.cgi?$pkgnum",
"View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",