Changeset 1235
- Timestamp:
- 10/19/08 15:58:02 (3 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
Changes (modified) (1 diff)
-
lib/OpenGuides/Template.pm (modified) (2 diffs)
-
t/27_geo_data_edit_form.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Changes
r1233 r1235 13 13 Change default database type to sqlite (#241) 14 14 Set content charset correctly in RDF (#260) 15 Display geodata ellipsoid to user in edit from (#230) 15 16 16 17 0.63 16 August 2008 -
trunk/lib/OpenGuides/Template.pm
r1231 r1235 424 424 ); 425 425 } else { 426 my $lat_text = "Latitude (" . $config->ellipsoid . " decimal)"; 427 my $long_text = "Longitude (" . $config->ellipsoid . " decimal)"; 426 428 %vars = ( 427 429 %vars, … … 429 431 coord_field_2 => "longitude", 430 432 dist_field => "latlong_dist", 431 coord_field_1_name => "Latitude (decimal)",432 coord_field_2_name => "Longitude (decimal)",433 coord_field_1_name => $lat_text, 434 coord_field_2_name => $long_text, 433 435 coord_field_1_value => $metadata{latitude}[0], 434 436 coord_field_2_value => $metadata{longitude}[0], -
trunk/t/27_geo_data_edit_form.t
r956 r1235 163 163 value => -0.118 }, 164 164 "...with correct value..." ); 165 like( $output, qr|Latitude \( decimal\):|s,166 "...'Latitude ( decimal):' label included" );167 like( $output, qr|Longitude \( decimal\):|s,168 "...'Longitude ( decimal):' label included" );165 like( $output, qr|Latitude \(Airy decimal\):|s, 166 "...'Latitude (Airy decimal):' label included" ); 167 like( $output, qr|Longitude \(Airy decimal\):|s, 168 "...'Longitude (Airy decimal):' label included" );
