diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/down.default.html | 35 | ||||
-rwxr-xr-x | web/import.cgi | 4 |
2 files changed, 37 insertions, 2 deletions
diff --git a/web/down.default.html b/web/down.default.html new file mode 100644 index 000000000..cd5b170fd --- /dev/null +++ b/web/down.default.html @@ -0,0 +1,35 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en-gb"> + <head> + <title>FixMyStreet</title> + <style type="text/css">@import url("/css/core.css"); @import url("/css/main.css");</style> +<!--[if LT IE 7]> +<style type="text/css">@import url("/css/ie6.css");</style> +<![endif]--> + + <!-- RSS --> + </head> + <body> +<h1 id="header">Fix<span id="my">My</span>Street</h1> + +<div id="wrapper"><div id="content"> + +<p id="expl"><strong>FixMyStreet is currently down for maintenance.</strong> +<br><small>Please come back later.</small></p> + +</div></div> + +<h2 class="v">Navigation</h2> +<ul id="navigation"> +<li>team@fixmystreet.com</a></li> +</ul> + +<a href="http://www.mysociety.org/"><img id="logo" src="/i/mysociety-dark.png" alt="View mySociety.org"><span id="logoie"></span></a> + +<p id="footer">Built by <a href="http://www.mysociety.org/">mySociety</a>, +using some <a href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/bci">clever</a> <a +href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/services/TilMa">code</a>.</p> + + +</body> +</html> diff --git a/web/import.cgi b/web/import.cgi index 4096fde9a..b2fb3d798 100755 --- a/web/import.cgi +++ b/web/import.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: import.cgi,v 1.8 2008-11-12 21:59:43 matthew Exp $ +# $Id: import.cgi,v 1.9 2008-12-11 15:18:44 matthew Exp $ use strict; use Error qw(:try); @@ -60,7 +60,7 @@ sub main { my $photo; if ($fh) { try { - $photo = Page::process_photo($fh); + $photo = Page::process_photo($fh, 1); } catch Error::Simple with { my $e = shift; push @errors, "That photo doesn't appear to have uploaded correctly ($e), please try again."; |