Insert URL into translation string.
Patch by wyntarvox.
diffs (19 lines):
diff -r 59b1b53443b0 -r 3e55244186a4 htdocs/shop/account.bml
--- a/htdocs/shop/account.bml Tue May 12 16:45:28 2009 +0000
+++ b/htdocs/shop/account.bml Tue May 12 17:27:08 2009 +0000
@@ -50,12 +50,12 @@ body<=
$ret .= "<p><a href='$LJ::SITEROOT/shop'><< " . BML::ml(
'.backlink', { sitename => $LJ::SITENAMESHORT } ) . "</a></p>";
if ( $for eq 'self' ) {
- $ret .= "<div class='leftybox'>" . BML::ml( '.intro.self', { user =>
$remote->ljuser_display } ) . "</div>";
+ $ret .= "<div class='leftybox'>" . BML::ml( '.intro.self', { user =>
$remote->ljuser_display, aopts => "href='$LJ::HELPURL{paidaccountinfo}'" } ) .
"</div>";
$ret .= DW::Widget::PaidAccountStatus->render;
} elsif ( $for eq 'gift' ) {
- $ret .= "<p>$ML{'.intro.gift'}</p>";
+ $ret .= "<p>" . BML::ml( '.intro.gift', { aopts =>
"href='$LJ::HELPURL{paidaccountinfo}'" } ) . "</p>";
} else { # $for eq 'new'
- $ret .= "<p>$ML{'.intro.new'}</p>";
+ $ret .= "<p>" . BML::ml( '.intro.new', { aopts =>
"href='$LJ::HELPURL{paidaccountinfo}'" } ) . "</p>";
}
if ( LJ::did_post() ) {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog