aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb/confirm.cgi6
-rw-r--r--web/css.css1
-rwxr-xr-xweb/index.cgi7
3 files changed, 6 insertions, 8 deletions
diff --git a/web/confirm.cgi b/web/confirm.cgi
index 6184f418f..82c539b93 100755
--- a/web/confirm.cgi
+++ b/web/confirm.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: confirm.cgi,v 1.7 2007-01-26 22:48:31 matthew Exp $
+# $Id: confirm.cgi,v 1.8 2007-01-30 16:10:06 matthew Exp $
use strict;
require 5.8.0;
@@ -58,7 +58,7 @@ sub main {
<form action="/alert" method="post">
<p>You have successfully confirmed your update and you can now <a href="/?id=$problem_id#update_$id">view it on the site</a>.</p>
<p>You could also
-<a href="/rss/$problem_id">subscribe to the RSS feed</a> of updates on this problem,
+<a href="/rss/$problem_id">subscribe to the RSS feed</a> of updates by other local people on this problem,
or
<input type="hidden" name="signed_email" value="$salt,$signed_email">
<input type="hidden" name="email" value="$email">
@@ -78,7 +78,7 @@ EOF
<form action="/alert" method="post">
<p>You have successfully confirmed your problem and you can now <a href="/?id=$id">view it on the site</a>.</p>
<p>You could also
-<a href="/rss/$id">subscribe to the RSS feed</a> of updates on this problem,
+<a href="/rss/$id">subscribe to the RSS feed</a> of updates by other local people on this problem,
or
<input type="hidden" name="signed_email" value="$salt,$signed_email">
<input type="hidden" name="email" value="$email">
diff --git a/web/css.css b/web/css.css
index 98b2efe57..dcb7797c5 100644
--- a/web/css.css
+++ b/web/css.css
@@ -125,7 +125,6 @@ ul#error {
}
#navigation a:link, #navigation a:visited {
color: #5e552b;
- background-color: #e3d595;
}
#navigation a:hover, #navigation a:active {
background-color: #5e552b;
diff --git a/web/index.cgi b/web/index.cgi
index 545899a8c..bbd4dafe8 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.59 2007-01-26 22:48:31 matthew Exp $
+# $Id: index.cgi,v 1.60 2007-01-30 16:10:06 matthew Exp $
# TODO
# Nothing is done about the update checkboxes - not stored anywhere on anything!
@@ -114,7 +114,6 @@ EOF
<li>Submit to your council.
</ol>
-</div>
EOF
return $out;
}
@@ -447,8 +446,8 @@ sub display_problem {
my @vars = qw(id name email update fixed reopen x y);
my %input = map { $_ => $q->param($_) || '' } @vars;
my %input_h = map { $_ => $q->param($_) ? ent($q->param($_)) : '' } @vars;
- $input{x} += 0;
- $input{y} += 0;
+ $input{x} ||= 0; $input{x} += 0;
+ $input{y} ||= 0; $input{y} += 0;
# Get all information from database
my $problem = dbh()->selectrow_arrayref(