diff options
author | louise <louise> | 2009-12-15 18:04:31 +0000 |
---|---|---|
committer | louise <louise> | 2009-12-15 18:04:31 +0000 |
commit | cd5c38458dea4bfc8cccf6443d451fb439dd15b8 (patch) | |
tree | 22af493ca535ecbd8b867d221ba830a7941ade89 /web | |
parent | b82b07ff126d42ddf2c30aa02d75cc71e95db715 (diff) |
Take url out of localization strings
Diffstat (limited to 'web')
-rwxr-xr-x | web/confirm.cgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/web/confirm.cgi b/web/confirm.cgi index d1d753886..6ee299170 100755 --- a/web/confirm.cgi +++ b/web/confirm.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: confirm.cgi,v 1.63 2009-11-24 16:05:15 louise Exp $ +# $Id: confirm.cgi,v 1.64 2009-12-15 18:04:31 louise Exp $ use strict; use Standard; @@ -36,9 +36,10 @@ sub main { } dbh()->commit(); } else { - $out = $q->p(_(<<EOF)); + my $contact_url = Cobrand::url($cobrand, '/contact', $q); + $out = $q->p(sprintf(_(<<EOF), $contact_url); Thank you for trying to confirm your update or problem. We seem to have an -error ourselves though, so <a href="/contact">please let us know what went on</a> +error ourselves though, so <a href="%s">please let us know what went on</a> and we'll look into it. EOF } |