1. After purchasing a certificate, templates/reg_system/cert_thanks.html
offers a link to purchase another. The template uses {{CGI}} but
reg_system.cgi doesn't include set this template variable so the link
doesn't work.
2. (Cosmetic) There should only be one "Order Now!" button in
templates/reg_system/confirm_purchase_webcert.html.
A patch for both problems:
Index: cgi-bin/secure/reg_system.cgi
===================================================================
RCS file:
/usr/local/src/cvsroot/horsey.gshapiro.net/usr/local/www/retsiger.com/cgi-bin/secure/reg_system.cgi,v
retrieving revision 1.6
diff -u -r1.6 reg_system.cgi
--- cgi-bin/secure/reg_system.cgi 2001/04/07 21:36:21 1.6
+++ cgi-bin/secure/reg_system.cgi 2001/04/07 22:58:32
@@ -1362,6 +1362,7 @@
exit;
} else {
my %HTML;
+ $HTML{CGI} = $cgi;
$HTML{purchase_text} = $response->{response_text};
print_form("$path_templates/cert_thanks.html", \%HTML);
}
Index: templates/reg_system/confirm_purchase_webcert.html
===================================================================
RCS file:
/usr/local/src/cvsroot/horsey.gshapiro.net/usr/local/www/retsiger.com/templates/reg_system/confirm_purchase_webcert.html,v
retrieving revision 1.2
diff -u -r1.2 confirm_purchase_webcert.html
--- templates/reg_system/confirm_purchase_webcert.html 2001/04/07 21:45:51 1.2
+++ templates/reg_system/confirm_purchase_webcert.html 2001/04/07 22:58:32
@@ -8,7 +8,6 @@
<CENTER>
<form method=post action={{CGI}}>
-<input type=submit name="submit" value="Order Now!"><BR><BR>
<table border=4 cellpadding=5 cellspacing=0>
<TR>
<TD colspan=2 align=center><B>Contact:</B> {{contact}}</TD>