X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fedit%2Fcust_main_county.cgi;h=3c2efec5b51658ecca0cddc99c3e281873d6e728;hb=cd6989b0380bb289bffac0b947a3bfa6eb8c773e;hp=96574f0ef2bf9c13a36b6bc011b2f38efbb1518f;hpb=ef834d58bfd2ce38c8bea73262c8091a5d88388f;p=freeside.git diff --git a/htdocs/edit/cust_main_county.cgi b/htdocs/edit/cust_main_county.cgi index 96574f0ef..3c2efec5b 100755 --- a/htdocs/edit/cust_main_county.cgi +++ b/htdocs/edit/cust_main_county.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: cust_main_county.cgi,v 1.2 1998-11-18 09:01:39 ivan Exp $ +# $Id: cust_main_county.cgi,v 1.6 1999-01-25 12:09:55 ivan Exp $ # # ivan@sisd.com 97-dec-13-16 # @@ -11,11 +11,26 @@ # lose background, FS::CGI ivan@sisd.com 98-sep-2 # # $Log: cust_main_county.cgi,v $ -# Revision 1.2 1998-11-18 09:01:39 ivan +# Revision 1.6 1999-01-25 12:09:55 ivan +# yet more mod_perl stuff +# +# Revision 1.5 1999/01/19 05:13:36 ivan +# for mod_perl: no more top-level my() variables; use vars instead +# also the last s/create/new/; +# +# Revision 1.4 1999/01/18 09:41:26 ivan +# all $cgi->header calls now include ( '-expires' => 'now' ) for mod_perl +# (good idea anyway) +# +# Revision 1.3 1998/12/17 06:17:02 ivan +# fix double // in relative URLs, s/CGI::Base/CGI/; +# +# Revision 1.2 1998/11/18 09:01:39 ivan # i18n! i18n! # use strict; +use vars qw( $cgi $cust_main_county ); use CGI; use CGI::Carp qw(fatalsToBrowser); use FS::UID qw(cgisuidsetup); @@ -23,14 +38,20 @@ use FS::Record qw(qsearch qsearchs); use FS::CGI qw(header menubar popurl table); use FS::cust_main_county; -my($cgi) = new CGI; +$cgi = new CGI; &cgisuidsetup($cgi); -print $cgi->header, header("Edit tax rates", menubar( +print $cgi->header( '-expires' => 'now' ), header("Edit tax rates", menubar( 'Main Menu' => popurl(2), -)), qq!
!, table, <Error: !, $cgi->param('error'), + "" + if $cgi->param('error'); + +print qq!!, table, < Country State @@ -39,7 +60,6 @@ print $cgi->header, header("Edit tax rates", menubar( END -my($cust_main_county); foreach $cust_main_county ( qsearch('cust_main_county',{}) ) { my($hashref)=$cust_main_county->hashref; print <