[dw-free] Pass sitename to lostinfo.bml.lostpassword.text
[commit: http://hg.dwscoalition.org/dw-free/rev/59a8859e0514]
http://bugs.dwscoalition.org/show_bug.cgi?id=704
Pass sitename to /lostinfo.bml.lostpassword.text
Patch by
rho.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=704
Pass sitename to /lostinfo.bml.lostpassword.text
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/lostinfo.bml
- htdocs/lostinfo.bml.text
-------------------------------------------------------------------------------- diff -r 295ff64f1a59 -r 59a8859e0514 htdocs/lostinfo.bml --- a/htdocs/lostinfo.bml Mon Apr 06 17:57:46 2009 +0000 +++ b/htdocs/lostinfo.bml Mon Apr 06 18:09:02 2009 +0000 @@ -32,7 +32,7 @@ body<= $ret .= "<?h1 $ML{'.lostpassword.title'} h1?>\n"; - $ret .= "<?p $ML{'.lostpassword.text'} p?>\n"; + $ret .= "<?p " . BML::ml( ".lostpassword.text", { sitename => $LJ::SITENAMESHORT } ) ." p?>\n"; $ret .= "<div class='form-basic form-fix'><div class='tl'><div class='tr'><div class='br'><div class='bl'>\n"; $ret .= "<fieldset><label>$ML{'.enter_username'}</label>\n"; diff -r 295ff64f1a59 -r 59a8859e0514 htdocs/lostinfo.bml.text --- a/htdocs/lostinfo.bml.text Mon Apr 06 17:57:46 2009 +0000 +++ b/htdocs/lostinfo.bml.text Mon Apr 06 18:09:02 2009 +0000 @@ -21,7 +21,7 @@ .error.toofrequent=You are trying to send too many e-mails at once. You may only request five lost information e-mails within twenty-four hours. -.lostpassword.text=If you've lost your password, enter your username and optionally, the email address you'd like the password sent to. Note that the email address must be one you've used at LiveJournal before and had confirmed at one point. If you leave the email field blank, it'll be mailed to your current address. +.lostpassword.text=If you've lost your password, enter your username and optionally, the email address you'd like the password sent to. Note that the email address must be one you've used at [[sitename]] before and had confirmed at one point. If you leave the email field blank, it'll be mailed to your current address. .lostpassword.title=Lost your password? --------------------------------------------------------------------------------