diff options
Diffstat (limited to 'web')
-rwxr-xr-x | web/about.cgi | 6 | ||||
-rwxr-xr-x | web/faq.cgi | 9 | ||||
-rwxr-xr-x | web/reports.cgi | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/web/about.cgi b/web/about.cgi index c0e92e54b..e660bd8d1 100755 --- a/web/about.cgi +++ b/web/about.cgi @@ -6,11 +6,13 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: about.cgi,v 1.7 2008-10-13 14:06:44 matthew Exp $ +# $Id: about.cgi,v 1.8 2008-10-15 22:07:26 matthew Exp $ use strict; use Standard -db; +my $lastmodified = (stat $0)[9]; + # Main code for index.cgi sub main { my $q = shift; @@ -26,5 +28,5 @@ England. We also work in partnership with other charities across the UK.</p> ABOUTUS print Page::footer($q); } -Page::do_fastcgi(\&main); +Page::do_fastcgi(\&main, $lastmodified); diff --git a/web/faq.cgi b/web/faq.cgi index 0219ccb16..fb9c86636 100755 --- a/web/faq.cgi +++ b/web/faq.cgi @@ -6,15 +6,16 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: faq.cgi,v 1.36 2008-10-14 09:53:30 matthew Exp $ +# $Id: faq.cgi,v 1.37 2008-10-15 22:07:26 matthew Exp $ use strict; use Standard -db; -# Main code for index.cgi +my $lastmodified = (stat $0)[9]; + sub main { my $q = shift; - print Page::header($q, title=>_('FAQ')); + print Page::header($q, title=>_('Frequently Asked Questions')); if ($q->{site} eq 'emptyhomes') { print emptyhomes_faq($q); } else { @@ -22,7 +23,7 @@ sub main { } print Page::footer($q); } -Page::do_fastcgi(\&main); +Page::do_fastcgi(\&main, $lastmodified); sub faq { my $q = shift; diff --git a/web/reports.cgi b/web/reports.cgi index 7a526c1e9..913a1fbaf 100755 --- a/web/reports.cgi +++ b/web/reports.cgi @@ -7,7 +7,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: reports.cgi,v 1.20 2008-09-19 10:24:55 matthew Exp $ +# $Id: reports.cgi,v 1.21 2008-10-15 22:07:26 matthew Exp $ use strict; use Standard; @@ -152,7 +152,7 @@ sub main { my $areas_info = mySociety::MaPit::get_voting_areas_info([keys %councils]); if (!$one_council) { - print Page::header($q, title=>_('Summary reports')); + print Page::header($q, title=>_('Summary reports'), expires=>'+1h'); print $q->p(_('This is a summary of all reports on this site; select a particular council to see the reports sent there.')); my $c = 0; print '<table cellpadding="3" cellspacing="1" border="0">'; |