#!/usr/bin/perl -w -I../../perllib -I../../../perllib
# posters/index.cgi:
# List of publicity stuff on FixMyStreet
#
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
# $Id: index.cgi,v 1.10 2008-10-17 20:19:05 matthew Exp $
use strict;
use Standard -db;
use mySociety::Config;
use mySociety::Web qw(ent);
# XXX: Ugh, as we're in a subdirectory
BEGIN {
mySociety::Config::set_file("$FindBin::Bin/../../conf/general");
}
sub main {
my $q = shift;
print Page::header($q, title=>_('Publicity material'));
print body($q);
print Page::footer($q);
}
Page::do_fastcgi(\&main);
sub body {
my $q = shift;
my $badge = ' ';
return $q->h1(_('Publicity Material')) .
$q->div({style=>'float:left; width:50%'},
'
Copy and paste the text below to add this badge to your site:
', $badge, '', '(thanks to Lincolnshire Council for the image)
' ) . $q->div({style=>'float:right; width:47%'}, $q->p(_('Here are some posters and flyers you can use to publicise FixMyStreet:')) . '