[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi
success-delayed.html, NONE, 1.1 signup.cgi, 1.5, 1.6
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Jan 30 10:52:37 PST 2007
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail:/tmp/cvs-serv8820/fs_selfservice/FS-SelfService/cgi
Modified Files:
signup.cgi
Added Files:
success-delayed.html
Log Message:
additional info available for self-service success (ticket 1420)
Index: signup.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/signup.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- signup.cgi 22 Oct 2006 11:42:39 -0000 1.5
+++ signup.cgi 30 Jan 2007 18:52:35 -0000 1.6
@@ -280,9 +280,10 @@
}
#global for template
- my $pkg = ( grep { $_->{'pkgpart'} eq $param{'pkgpart'} }
- @{ $init_data->{'part_pkg'} }
- )[0]->{'pkg'};
+ my $part_pkg = ( grep { $_->{'pkgpart'} eq $param{'pkgpart'} }
+ @{ $init_data->{'part_pkg'} }
+ )[0];
+ my $pkg = $part_pkg->{'pkg'};
if ( $ieak_template && $user_agent->windows && $user_agent->ie ) {
#send an IEAK config
@@ -299,6 +300,7 @@
exch => $exch,
loc => $loc,
pkg => $pkg,
+ part_pkg => \$part_pkg,
});
}
}
--- NEW FILE: success-delayed.html ---
<HTML><HEAD><TITLE>Signup successful</TITLE></HEAD>
<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>Signup successful</FONT><BR><BR>
Thanks for signing up!
<BR><BR>
Signup information for <%= $email_name %>:
<BR><BR>
Username: <%= $username %><BR>
Password: <%= $password %><BR>
Access number: (<%= $ac %>) / <%= $exch %> - <%= $local %><BR>
Package: <%= $pkg %><BR>
Charge: <%= sprintf('$%.2f', $part_pkg->{'options'}->{'setup_fee'}) %><BR>
In <%= $part_pkg->{'options'}->{'free_days'} %> days you will be charged
<%= sprintf('$%.2f', $part_pkg->{'options'}->{'recur_fee'}) %>
and <%= $part_pkg->{'freq_pretty'} %> thereafter.<BR>
</BODY></HTML>
More information about the freeside-commits
mailing list