aboutsummaryrefslogtreecommitdiffstats
path: root/web-admin/index.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-10 19:52:24 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-10 19:52:24 +0000
commit73c9ca597e083354d0ea9843ebea319096ce5111 (patch)
tree4fa5864b35365e3a8dd5df7cc438b9530827abd5 /web-admin/index.cgi
parent4ebfa74ad83b23c253090f682d9bbfa36e2c63f6 (diff)
parentcf347f8fbce0fefa4f8da01a867bfe523bbe5dc0 (diff)
Merge commit 'remotes/origin/migrate_from_osgb36_to_wgs84'
Diffstat (limited to 'web-admin/index.cgi')
-rwxr-xr-xweb-admin/index.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi
index 2868cf2d6..1044f07c5 100755
--- a/web-admin/index.cgi
+++ b/web-admin/index.cgi
@@ -574,8 +574,8 @@ sub admin_edit_report {
my $council = $row{council} || '<em>None</em>';
(my $areas = $row{areas}) =~ s/^,(.*),$/$1/;
- my $easting = int($row{easting}+0.5);
- my $northing = int($row{northing}+0.5);
+ my $latitude = $row{latitude};
+ my $longitude = $row{longitude};
my $questionnaire = $row{send_questionnaire} ? 'Yes' : 'No';
my $used_map = $row{used_map} ? 'used map' : "didn't use map";
(my $whensent = $row{whensent} || '&nbsp;') =~ s/\..*//;
@@ -610,7 +610,7 @@ sub admin_edit_report {
<li><a href="$url">View report on site</a>
<li><label for="title">Subject:</label> <input size=60 type="text" id="title" name="title" value="$row_h{title}">
<li><label for="detail">Details:</label><br><textarea name="detail" id="detail" cols=60 rows=10>$row_h{detail}</textarea>
-<li>Co-ordinates: $easting,$northing (originally entered $row_h{postcode}, $used_map)
+<li>Co-ordinates: $latitude,$longitude (originally entered $row_h{postcode}, $used_map)
<li>For council(s): $council (other areas: $areas)
<li>$anon
<li>$state