[dw-free] Change lj- headers for email posting to site-agnostic forms
[commit: http://hg.dwscoalition.org/dw-free/rev/6feb5a37adad]
http://bugs.dwscoalition.org/show_bug.cgi?id=721
Add compatibility notes.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=721
Add compatibility notes.
Patch by
Files modified:
- htdocs/manage/emailpost.bml
- htdocs/manage/emailpost.bml.text
--------------------------------------------------------------------------------
diff -r 4519ca92ccc7 -r 6feb5a37adad htdocs/manage/emailpost.bml
--- a/htdocs/manage/emailpost.bml Sat Aug 08 12:40:49 2009 +0000
+++ b/htdocs/manage/emailpost.bml Sat Aug 08 12:55:53 2009 +0000
@@ -162,10 +162,10 @@ body<=
{
name => 'headers',
- title => BML::ml('.help.headers.header', {'sitenameabbrev' => $LJ::SITENAMEABBREV}),
+ title => BML::ml( '.help.headers.header2' ),
url => '?mode=help&type=headers',
text => qq{
- <?h1 } . BML::ml('.help.headers.header', {'sitenameabbrev' => $LJ::SITENAMEABBREV}) . qq{ h1?><br />
+ <?h1 } . BML::ml( '.help.headers.header2' ) . qq{ h1?><br />
<fieldset><legend>$ML{'.help.headers.options.header'}</legend>
<?p $ML{'.help.headers.options.text'} p?>
@@ -201,6 +201,10 @@ body<=
<div style="margin-left:40px">$ML{'.help.headers.security.group.desc'}
<br />} . BML::ml('.help.headers.security.group.example', {'header' => 'post-security:'}) . qq{</div><br />
</div></fieldset>
+
+ <fieldset><legend>$ML{'.help.headers.compat.header'}</legend>
+ <?p } . BML::ml( '.help.headers.compat.text', { 'sitename' => $LJ::SITENAME } ) . qq{ p?>
+ </fieldset>
}
},
diff -r 4519ca92ccc7 -r 6feb5a37adad htdocs/manage/emailpost.bml.text
--- a/htdocs/manage/emailpost.bml.text Sat Aug 08 12:40:49 2009 +0000
+++ b/htdocs/manage/emailpost.bml.text Sat Aug 08 12:55:53 2009 +0000
@@ -53,7 +53,11 @@
.help.header=How does this feature work?
-.help.headers.header=[[sitenameabbrev]] headers and security
+.help.headers.header2=Post headers and security
+
+.help.headers.compat.header=Compatibility with other sites
+
+.help.headers.compat.text=[[sitename]] also accepts old-style headers of the form "lj-headername" for backwards compatibility. That means you can post to multiple LJ-based sites in the same email, using the same headers in the message, and have them interpreted correctly.
.help.headers.options.comments.example=("[[off]]" or "[[noemail]]")
--------------------------------------------------------------------------------
