X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fbrowse%2Fpart_pkg.cgi;h=d4c359b287d57946a7ad1adc01f0a68ab9747911;hb=3bfec7cf75a1a4eb4da1cdf8c64003bd6babcd81;hp=5d4aaa11fb90b1a4b61846be0ed8d2843a6faf79;hpb=19a2ec12e14b0fba549e6b31a1fd92eedcc5c350;p=freeside.git diff --git a/htdocs/browse/part_pkg.cgi b/htdocs/browse/part_pkg.cgi index 5d4aaa11f..d4c359b28 100755 --- a/htdocs/browse/part_pkg.cgi +++ b/htdocs/browse/part_pkg.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: part_pkg.cgi,v 1.4 1998-12-17 05:25:19 ivan Exp $ +# $Id: part_pkg.cgi,v 1.8 1999-04-09 04:22:34 ivan Exp $ # # ivan@sisd.com 97-dec-5,9 # @@ -10,7 +10,21 @@ # lose background, FS::CGI ivan@sisd.com 98-sep-2 # # $Log: part_pkg.cgi,v $ -# Revision 1.4 1998-12-17 05:25:19 ivan +# Revision 1.8 1999-04-09 04:22:34 ivan +# also table() +# +# Revision 1.7 1999/04/09 03:52:55 ivan +# explicit & for table/itable/ntable +# +# Revision 1.6 1999/01/19 05:13:27 ivan +# for mod_perl: no more top-level my() variables; use vars instead +# also the last s/create/new/; +# +# Revision 1.5 1999/01/18 09:41:17 ivan +# all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl +# (good idea anyway) +# +# Revision 1.4 1998/12/17 05:25:19 ivan # fix visual and other bugs # # Revision 1.3 1998/11/21 07:23:45 ivan @@ -21,6 +35,7 @@ # use strict; +use vars qw( $cgi $p $part_pkg ); use CGI; use CGI::Carp qw(fatalsToBrowser); use FS::UID qw(cgisuidsetup swapuid); @@ -30,17 +45,17 @@ use FS::part_pkg; use FS::pkg_svc; use FS::part_svc; -my($cgi) = new CGI; +$cgi = new CGI; &cgisuidsetup($cgi); -my $p = popurl(2); +$p = popurl(2); -print $cgi->header, header("Package Part Listing",menubar( +print $cgi->header( '-expires' => 'now' ), header("Package Part Listing",menubar( 'Main Menu' => $p, )), "One or more services are grouped together into a package and given", " pricing information. Customers purchase packages, not services.

", - table, < Package @@ -53,7 +68,6 @@ print $cgi->header, header("Package Part Listing",menubar( END -my($part_pkg); foreach $part_pkg ( sort { $a->getfield('pkgpart') <=> $b->getfield('pkgpart') } qsearch('part_pkg',{}) ) {