diff options
author | matthew <matthew> | 2009-01-26 14:31:19 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-01-26 14:31:19 +0000 |
commit | 6f8ddc5e502b2740bad2cc34632b28ac15c9aca6 (patch) | |
tree | fba018197aa01cb5228688d923c846e9bdceb67d | |
parent | 9f41cf50d046e31248c31955b313b50359afdebf (diff) |
Use config option for email address.
-rwxr-xr-x | web/contact.cgi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/contact.cgi b/web/contact.cgi index bed9c1ec0..1cd53187a 100755 --- a/web/contact.cgi +++ b/web/contact.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: contact.cgi,v 1.36 2008-10-15 13:57:55 matthew Exp $ +# $Id: contact.cgi,v 1.37 2009-01-26 14:31:19 matthew Exp $ use strict; use Standard; @@ -115,11 +115,13 @@ sub contact_page { website. Just fill in the form. Please don’t contact us about individual empty homes; use the box accessed from <a href="/">the front page</a>.'); } else { + my $mailto = mySociety::Config::get('CONTACT_EMAIL'); + $mailto =~ s/\@/@/; $out .= $q->p(_('Please do <strong>not</strong> report problems through this form; messages go to the team behind FixMyStreet, not a council. To report a problem, please <a href="/">go to the front page</a> and follow the instructions.')); $out .= $q->p(_("We'd love to hear what you think about this site. Just fill in the form, or -send an email to <a href='mailto:team@fixmystreet.com'>team@fixmystreet.com</a>:")); +send an email to <a href='mailto:$mailto'>$mailto</a>:")); } my $label_name = _('Your name:'); my $label_email = _('Your email:'); |