X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fconfirm-censustract.html;h=0f115e5d7c8c79fbd9b3eaade4b01c7a5139e360;hp=024bc17c490a793342ab29f5981777c2a9011dac;hb=HEAD;hpb=0f0bc1ef7aafc6b3869c0f71ee2528c1c9897ce6
diff --git a/httemplate/misc/confirm-censustract.html b/httemplate/misc/confirm-censustract.html
index 024bc17c4..02847f869 100644
--- a/httemplate/misc/confirm-censustract.html
+++ b/httemplate/misc/confirm-censustract.html
@@ -13,16 +13,23 @@ Census tract error
Confirm census tract
% }
-<% $location{address1} %> <% $location{address2} %>
-<% $location{city} %>, <% $location{state} %> <% $location{zip} %>
+<% $location{address1} |h %> <% $location{address2} |h %>
+<% $location{city} |h %>, <% $location{state} |h %> <% $location{zip} |h %>
-% my $querystring = "census_year=$year&latitude=".$cache->get('latitude').'&longitude='.$cache->get('longitude');
-Map service module location
-% $querystring = "census_year=$year&zip_code=".$cache->get('zip');
-Map zip code center
+% my $address1 = $location{address1};
+% $address1 =~ s/(apt|ste|suite|unit)[\s\d]\w*\s*$//i;
+% my $querystring = "census_year=$year&address=$address1, $location{address2}, $location{city}, $location{state}";
+Map service location
+% $querystring = "census_year=$year&pre=$pre&zip_code=" . $cache->get('zip');
+Map zip code center
+
Entered census tract | @@ -31,9 +38,9 @@ Confirm census tract||||
---|---|---|---|---|
<% $old_tract %> | % if ( $error ) { -<% $error %> | +<% $error %> |
% } else {
- <% $new_tract %> | +<% $new_tract %> |
% }
- | -||||
+ + | + | |||
+ |