Added @daddr to built-in template for netmail areas
This commit is contained in:
parent
b4113e751e
commit
10e6f95d68
@ -10,6 +10,8 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
+ Added @daddr to built-in template for netmail areas.
|
||||
|
||||
+ Second char from first name will act as lastname in initials
|
||||
|
||||
+ Improve description of the "DispHdrLocation" config file token.
|
||||
|
@ -226,14 +226,23 @@ int TemplateToText(int mode, GMsg* msg, GMsg* oldmsg, const char* tpl, int origa
|
||||
if(fp) {
|
||||
fputs("@header= @oecho (@caddr) @align{79}{=}\n", fp);
|
||||
fputs("@header Msg : @msgno of @msgs@align{44}@attr\n", fp);
|
||||
if(AA->isinternet()) {
|
||||
|
||||
if (AA->isinternet())
|
||||
{
|
||||
fputs("@header From : @ofrom@align{60}@odtime\n", fp);
|
||||
fputs("@header To : @oto\n", fp);
|
||||
}
|
||||
else {
|
||||
else if (AA->isnet())
|
||||
{
|
||||
fputs("@header From : @oname@align{44}@oaddr@align{60}@odtime\n", fp);
|
||||
fputs("@header To : @dname@align{44}@daddr\n", fp);
|
||||
}
|
||||
else
|
||||
{
|
||||
fputs("@header From : @oname@align{44}@oaddr@align{60}@odtime\n", fp);
|
||||
fputs("@header To : @dname\n", fp);
|
||||
}
|
||||
|
||||
fputs("@header Subj : @subject\n", fp);
|
||||
fputs("@header@align{79}{=}\n", fp);
|
||||
fputs("@moved* Replying to a msg in @oecho (@odesc)\n@moved\n", fp);
|
||||
|
Reference in New Issue
Block a user