[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi
signup.html, 1.8, 1.9
Ivan,,,
ivan at wavetail.420.am
Mon Nov 13 19:16:28 PST 2006
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail:/tmp/cvs-serv14481/fs_selfservice/FS-SelfService/cgi
Modified Files:
signup.html
Log Message:
have signup page use card-types config too
Index: signup.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/signup.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- signup.html 26 Oct 2006 08:35:42 -0000 1.8
+++ signup.html 14 Nov 2006 03:16:26 -0000 1.9
@@ -120,15 +120,9 @@
<%=
my $cardselect = '<SELECT NAME="CARD_type"><OPTION></OPTION>';
- my %types = (
- 'VISA' => 'VISA card',
- 'MasterCard' => 'MasterCard',
- 'Discover' => 'Discover card',
- 'American Express' => 'American Express card',
- );
- foreach ( keys %types ) {
- $selected = $CARD_type eq $types{$_} ? 'SELECTED' : '';
- $cardselect .= qq!<OPTION $selected VALUE="$types{$_}">$_</OPTION>!;
+ foreach ( keys %card_types ) {
+ $selected = $CARD_type eq $card_types{$_} ? 'SELECTED' : '';
+ $cardselect .= qq!<OPTION $selected VALUE="$card_types{$_}">$_</OPTION>!;
}
$cardselect .= '</SELECT>';
More information about the freeside-commits
mailing list