[dw-free] Support: missing href when viewing closed requests
[commit: http://hg.dwscoalition.org/dw-free/rev/1440b080e8c1]
http://bugs.dwscoalition.org/show_bug.cgi?id=3283
Update translation string argument to create valid HTML.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3283
Update translation string argument to create valid HTML.
Patch by
Files modified:
- htdocs/support/help.bml
--------------------------------------------------------------------------------
diff -r a923998bc864 -r 1440b080e8c1 htdocs/support/help.bml
--- a/htdocs/support/help.bml Wed Nov 24 10:03:46 2010 -0600
+++ b/htdocs/support/help.bml Wed Nov 24 10:19:22 2010 -0600
@@ -89,7 +89,7 @@ body<=
my $append;
if ($state eq "closed") {
$ret .= "<?h1 $ML{'.state.closed.title'} h1?>";
- $ret .= "<?p ". BML::ml(".state.closed.text", {"clickurl"=>"$LJ::SITEROOT/support/help?cat=$filtercat"} ) ." p?>";
+ $ret .= "<?p ". BML::ml( ".state.closed.text", { clickurl => "href=\"$LJ::SITEROOT/support/help?cat=$filtercat\"" } ) ." p?>";
} elsif ($state eq "youreplied") {
return "<?h1 $ML{'.state.youreplied.rem.title'} h1?> <?p $ML{'.state.youreplied.rem.text'} p?>"
unless $remote;
--------------------------------------------------------------------------------
