diff options
author | ivan <ivan> | 2006-11-14 03:16:26 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-11-14 03:16:26 +0000 |
commit | fed0c6bf093ae154d17a4075e254a69be68f3d22 (patch) | |
tree | 7ab74f945bbfc06f64134de4ac509c46a4fff3f6 /fs_selfservice | |
parent | 085d6dcbe3a137d8d8ad0b04b6d9c0af1516ee5e (diff) |
have signup page use card-types config too
Diffstat (limited to 'fs_selfservice')
-rwxr-xr-x | fs_selfservice/FS-SelfService/cgi/signup.html | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/signup.html b/fs_selfservice/FS-SelfService/cgi/signup.html index 6cce7806b..c2c5d700a 100755 --- a/fs_selfservice/FS-SelfService/cgi/signup.html +++ b/fs_selfservice/FS-SelfService/cgi/signup.html @@ -120,15 +120,9 @@ Contact Information <%= 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>'; |