aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb/contact.cgi5
-rwxr-xr-xweb/posters/index.cgi16
2 files changed, 15 insertions, 6 deletions
diff --git a/web/contact.cgi b/web/contact.cgi
index 1c6840e2d..25c2d2bfd 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.34 2008-10-09 14:20:54 matthew Exp $
+# $Id: contact.cgi,v 1.35 2008-10-14 10:28:38 matthew Exp $
use strict;
use Standard;
@@ -118,7 +118,8 @@ homes; use the box accessed from <a href="/">the front page</a>.');
$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:"));
+ $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='team&#64;fixmystreet.com'>team&#64;fixmystreet.com</a>:"));
}
my $label_name = _('Your name:');
my $label_email = _('Your&nbsp;email:');
diff --git a/web/posters/index.cgi b/web/posters/index.cgi
index a4c9c0919..bc14e1de9 100755
--- a/web/posters/index.cgi
+++ b/web/posters/index.cgi
@@ -6,11 +6,12 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.8 2008-10-14 09:53:37 matthew Exp $
+# $Id: index.cgi,v 1.9 2008-10-14 10:28:38 matthew Exp $
use strict;
use Standard -db;
use mySociety::Config;
+use mySociety::Web qw(ent);
# XXX: Ugh, as we're in a subdirectory
BEGIN {
@@ -27,10 +28,16 @@ Page::do_fastcgi(\&main);
sub body {
my $q = shift;
+ my $badge = '<a href="http://www.fixmystreet.com/"> <img align="left" hspace="5" src="http://www.fixmystreet.com/i/fms-badge.jpeg" alt="FixMyStreet - report, view or discuss local problems" border="0"></a>';
return $q->h1(_('Publicity Material')) .
- '<img align="right" hspace="5" src="/i/fms-badge.png" alt="FixMyStreet badge">' .
- '<img align="right" hspace="5" src="poster.png" alt="Example poster">' .
- $q->p(_('Here are some posters you can use to publicise FixMyStreet.')) .
+ $q->div({style=>'float:left; width:50%'},
+ '<p>Copy and paste the text below to add this badge to your site:</p>', $badge,
+ '<textarea onclick="this.select()" cols=37 rows=5>' . ent($badge) . '</textarea>',
+ '<p><small>(thanks to Lincolnshire Council for the image)</small></p>'
+ ) .
+ $q->div({style=>'float:right; width:47%'},
+ $q->p(_('Here are some posters and flyers you can use to publicise FixMyStreet:')) .
+ '<img hspace="5" src="poster.png" alt="Example poster">' .
$q->h2(_('Posters')) .
$q->ul(
$q->li($q->a({href=>'fixmystreet-poster-a4.pdf'}, _('A4, colour'))),
@@ -51,6 +58,7 @@ sub body {
$q->li($q->a({href=>'fixmystreet-flyers-bw-outlined.pdf'}, _('4 x A6, black and white, outlined'))),
$q->li($q->a({href=>'fixmystreet-flyers-bw-low-ink.pdf'}, _('4 x A6, black and white, low ink')))
)
+ )
;
}