Changeset 12132
- Timestamp:
- 2006-07-11T11:48:44+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cic-hcap/perllib/plugins/CICPlug.pm
r11978 r12132 166 166 }; 167 167 168 my %state_name_to_abbr_mapping = reverse(%{$state_abbr_to_name_mapping}); 169 168 170 my $state_abbr_to_area_mapping = { 169 171 "AL" => "Southeast", … … 1129 1131 my $id_to_extra_mapping = shift(@_); 1130 1132 1131 print BROWSER_MACROFILE "<tr><td width=\"50%\"><br /><a name=\"$chunk_title\"/><span style=\"color: black;\"><b>$chunk_title</b></span></td><td width=\"50%\"></td></tr> \n";1133 print BROWSER_MACROFILE "<tr><td width=\"50%\"><br /><a name=\"$chunk_title\"/><span style=\"color: black;\"><b>$chunk_title</b></span></td><td width=\"50%\"></td></tr>"; 1132 1134 1133 1135 my %full_name_to_id_mapping; … … 1159 1161 print BROWSER_MACROFILE "</td>"; 1160 1162 1161 print BROWSER_MACROFILE "</tr> \n";1163 print BROWSER_MACROFILE "</tr>"; 1162 1164 } 1163 1165 } … … 1204 1206 print BROWSER_MACROFILE "<table cellpadding=\"0\" cellspacing=\"0\" width=\"_pagewidth_\">\n"; 1205 1207 foreach my $state (sort(keys(%{$state_to_ids_mapping}))) { 1208 my $state_abbr = $state_name_to_abbr_mapping{$state}; 1209 print BROWSER_MACROFILE "_cicstate" . $state_abbr . "_\n"; 1210 } 1211 print BROWSER_MACROFILE "</table>\n"; 1212 print BROWSER_MACROFILE "}\n"; 1213 1214 foreach my $state (sort(keys(%{$state_to_ids_mapping}))) { 1215 my $state_abbr = $state_name_to_abbr_mapping{$state}; 1216 print BROWSER_MACROFILE "\n_cicstate" . $state_abbr . "_ {"; 1206 1217 my @state_ids = @{$state_to_ids_mapping->{$state}}; 1207 1218 &write_static_browser_macros_chunk($state, \@state_ids, $id_to_name_mapping, undef); 1208 } 1209 print BROWSER_MACROFILE "</table>\n"; 1210 1211 print BROWSER_MACROFILE "}\n"; 1219 print BROWSER_MACROFILE "}\n"; 1220 } 1221 1212 1222 close(BROWSER_MACROFILE); 1213 1223 }
Note:
See TracChangeset
for help on using the changeset viewer.