diff options
author | louise <louise> | 2009-11-10 14:23:51 +0000 |
---|---|---|
committer | louise <louise> | 2009-11-10 14:23:51 +0000 |
commit | 9299ee74c3a31fb80a72786fd318fcc66ae82c84 (patch) | |
tree | babb6c4df33a5fc3f17d63733ea3c748018cccca | |
parent | 06544c8a53139e00732836db6a5e27bafa0d8554 (diff) |
Adding var for home link on problem page
-rwxr-xr-x | web/index.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi index 0e5cbc930..4ad9aeda3 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.314 2009-11-09 13:58:35 louise Exp $ +# $Id: index.cgi,v 1.315 2009-11-10 14:23:51 louise Exp $ use strict; use Standard; @@ -968,6 +968,8 @@ sub display_problem { my $back = Cobrand::url($cobrand, NewURL($q, -url => '/', 'x' => $x_tile, 'y' => $y_tile, -retain => 1, pc => undef, id => undef ), $q); $vars{more_problems} = '<a href="' . $back . '">' . _('More problems nearby') . '</a>'; + $vars{url_home} = Cobrand::url($cobrand, '/', $q), + $vars{alert_link} = Cobrand::url($cobrand, NewURL($q, -url => '/alert?type=updates;id='.$input_h{id}, -retain => 1, pc => undef ), $q); $vars{alert_text} = _('Email me updates'); $vars{email_label} = _('Email:'); |