summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_pay.cgi
diff options
context:
space:
mode:
authorivan <ivan>2002-01-30 14:18:09 +0000
committerivan <ivan>2002-01-30 14:18:09 +0000
commit1fd6d8cf5d7854860ef4fd10ed89828e0c04ec39 (patch)
treecaee70f2707d97a43e21ea4253afe728ea6f421a /httemplate/edit/cust_pay.cgi
parentea0d3938b57a079ce4aa6db0cae316e3ac6da654 (diff)
remove
use Module; and $cgi = new CGI; &cgisuidsetup(); from all templates. should work better under Mason.
Diffstat (limited to 'httemplate/edit/cust_pay.cgi')
-rwxr-xr-xhttemplate/edit/cust_pay.cgi19
1 files changed, 4 insertions, 15 deletions
diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi
index 83f3cb8..2794e22 100755
--- a/httemplate/edit/cust_pay.cgi
+++ b/httemplate/edit/cust_pay.cgi
@@ -1,20 +1,9 @@
+<!-- $Id: cust_pay.cgi,v 1.11 2002-01-30 14:18:08 ivan Exp $ -->
<%
-#<!-- $Id: cust_pay.cgi,v 1.10 2001-12-26 06:02:48 ivan Exp $ -->
-
-use strict;
-use vars qw( $cgi $link $linknum $p1 $_date $payby $payinfo $paid $quickpay );
-use Date::Format;
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use FS::Conf;
-use FS::UID qw(cgisuidsetup);
-use FS::CGI qw(header popurl ntable small_custview);
my $conf = new FS::Conf;
-$cgi = new CGI;
-cgisuidsetup($cgi);
-
+my($link, $linknum, $paid, $payby, $payinfo, $quickpay);
if ( $cgi->param('error') ) {
$link = $cgi->param('link');
$linknum = $cgi->param('linknum');
@@ -41,9 +30,9 @@ if ( $cgi->param('error') ) {
} else {
die "illegal query ". $cgi->keywords;
}
-$_date = time;
+my $_date = time;
-$p1 = popurl(1);
+my $p1 = popurl(1);
print header("Post payment", '');
print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),