diff options
author | louise <louise> | 2009-10-12 11:10:25 +0000 |
---|---|---|
committer | louise <louise> | 2009-10-12 11:10:25 +0000 |
commit | f83a144c5e4a7fce38621b84e43fb126efa2f3b3 (patch) | |
tree | fa8f4aacfd19c38f068a3643c8afbc2ed2041b05 | |
parent | 00ea122e9deb56c85009999944e46cbb0b271088 (diff) |
Adding mySociety details to the FMS contact page to bring it into line with the -e-commerce directive
-rwxr-xr-x | web/contact.cgi | 22 | ||||
-rw-r--r-- | web/css/core.css | 6 |
2 files changed, 27 insertions, 1 deletions
diff --git a/web/contact.cgi b/web/contact.cgi index 1492559e7..aadeebabc 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.42 2009-09-28 12:29:48 louise Exp $ +# $Id: contact.cgi,v 1.43 2009-10-12 11:10:25 louise Exp $ use strict; use Standard; @@ -75,6 +75,25 @@ sub contact_submit { } } +sub contact_details { + my $out; + my $sitename = _('FixMyStreet'); + $out .= <<EOF; +<div class="contact-details"> +<p>$sitename is a service provided by mySociety, which is the project of a +registered charity. The charity is called UK Citizens Online Democracy and is charity number 1076346.</p> +<p>mySociety can be contacted by email at <a href="mailto:team\@mysociety.org">team\@mysociety.org</a>, +or by post at:</p> +<p>mySociety.org<br> +12 Duke's Road<br> +London<br> +WC1H 9AD<br> +UK</p> +</div> +EOF + return $out; +} + sub contact_page { my ($q, @errors) = @_; my @vars = qw(name em subject message); @@ -143,6 +162,7 @@ please <a href="/">go to the front page</a> and follow the instructions.')); $cobrand_form_elements </form> EOF + $out .= contact_details(); return $out; } diff --git a/web/css/core.css b/web/css/core.css index 0b52c17bd..114f46b05 100644 --- a/web/css/core.css +++ b/web/css/core.css @@ -397,6 +397,12 @@ p#copyright { margin-right: 1em; } +/* Contact page */ +.contact-details { + font-size: 80%; + margin-top: 2em; +} + /* Printing */ @media print { #map_box { float: none; margin: 0 auto; } |