From 36ebe10e75936261aad914bbb5e5e2154323412c Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 28 Nov 2002 10:54:13 +0000 Subject: [PATCH] separate state and country !; + $county_html .= ''; + } else { + $county_html .= + qq!!; + } + + my $state_html = qq!'; + + $state_html .= ''; + + my $country_html = qq!'; + + ($county_html, $state_html, $country_html); + +} + sub success_default { #html to use if you don't specify a success file <<'END'; Signup successful diff --git a/fs_signup/FS-SignupClient/cgi/signup.html b/fs_signup/FS-SignupClient/cgi/signup.html index d89b6854b..724ffd7f8 100755 --- a/fs_signup/FS-SignupClient/cgi/signup.html +++ b/fs_signup/FS-SignupClient/cgi/signup.html @@ -28,26 +28,21 @@ Contact Information *City *State/Country - + + <%= + ($county_html, $state_html, $country_html) = + regionselector( $county, $state, $country ); + + "$county_html $state_html"; + %> + *Zip + *Country + <%= $country_html %> + Day Phone diff --git a/fs_signup/fs_signup_server b/fs_signup/fs_signup_server index 4b7e898f6..e0fa9ba5f 100755 --- a/fs_signup/fs_signup_server +++ b/fs_signup/fs_signup_server @@ -94,7 +94,11 @@ while (1) { 'msgcat' => { map { $_=>gettext($_) } qw( passwords_dont_match invalid_card unknown_card_type not_a - ) } + ) }, + + 'statedefault' => $conf->config('statedefault') || 'CA', + + 'countrydefault' => $conf->config('countrydefault') || 'US', }; -- 2.11.0