aboutsummaryrefslogtreecommitdiffstats
path: root/web-admin
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-09 13:04:45 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-09 13:04:45 +0000
commit30e233f5a725bfbb573cad67d7477eb208dd06e5 (patch)
tree4f6b0110145488357e0731a4f7b46dda7dc98ea1 /web-admin
parent68d0007ad5ccb3ed0a147264b4ad2d6d0e67cd70 (diff)
migrate admin cgi
Diffstat (limited to 'web-admin')
-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