aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2009-07-06 17:10:21 +0000
committermatthew <matthew>2009-07-06 17:10:21 +0000
commitf3534e77429f58ba94be9c9d07cfe913dc99f0c2 (patch)
tree83f1076c8d46ced0f1d4c6ab3db19e227d47fd3b
parentb7f96655ae40042c8bd66e3bc0f145ffd608f6aa (diff)
Currently withdrawn from App Store due to crashing on iPhone 3.0
-rwxr-xr-xweb/index.cgi26
1 files changed, 13 insertions, 13 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 2137abddc..65713f1c8 100755
--- a/web/index.cgi
+++ b/web/index.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: index.cgi,v 1.256 2009-06-25 16:04:32 matthew Exp $
+# $Id: index.cgi,v 1.257 2009-07-06 17:10:21 matthew Exp $
use strict;
use Standard;
@@ -104,18 +104,18 @@ sub front_page {
$subhead = '(like graffiti, fly tipping, or neighbourhood noise)' if $q->{site} eq 'scambs';
$out .= '<br><small>' . $subhead . '</small>' if $subhead ne ' ';
$out .= '</p>';
- if (my $url = mySociety::Config::get('IPHONE_URL')) {
- my $getiphone = _("Get FixMyStreet on your iPhone");
- my $new = _("New!");
- if ($q->{site} eq 'fixmystreet') {
- $out .= <<EOF
-<p align="center" style="margin-bottom:0">
-<img width="23" height="12" alt="$new" src="/i/new.png" border="0">
-<a href="$url">$getiphone</a>
-</p>
-EOF
- }
- }
+ #if (my $url = mySociety::Config::get('IPHONE_URL')) {
+ # my $getiphone = _("Get FixMyStreet on your iPhone");
+ # my $new = _("New!");
+ # if ($q->{site} eq 'fixmystreet') {
+ # $out .= <<EOF
+#<p align="center" style="margin-bottom:0">
+#<img width="23" height="12" alt="$new" src="/i/new.png" border="0">
+#<a href="$url">$getiphone</a>
+#</p>
+#EOF
+ # }
+ #}
$out .= '<p id="error">' . $error . '</p>' if ($error);
my $fixed = Problems::recent_fixed();
my $updates = Problems::number_comments();