зеркало из https://github.com/mozilla/pjs.git
E-mail templates
This commit is contained in:
Родитель
843bdc47d4
Коммит
dae1983fa6
|
@ -0,0 +1,27 @@
|
|||
TemplateToolkit
|
||||
1
|
||||
|
||||
To: [% session.fields.contact:email %]
|
||||
From: [% output.address %]
|
||||
Subject: Your [% app.name %] login details
|
||||
|
||||
Hi.
|
||||
|
||||
Welcome to [% app.name %]! To login you will need to provide the
|
||||
following details.
|
||||
|
||||
Your username: [% username %]
|
||||
Your password: [% password %]
|
||||
|
||||
You can change your username or password at any time from the
|
||||
preferences interface.
|
||||
|
||||
For more details, reply to this message to contact the administrator.
|
||||
|
||||
HTH,
|
||||
--
|
||||
[% app.name %]
|
||||
|
||||
---- debug ----
|
||||
Here's what I know:
|
||||
[% INCLUDE debug.dumpVars %]
|
|
@ -0,0 +1,41 @@
|
|||
TemplateToolkit
|
||||
1
|
||||
|
||||
To: [% session.fields.contact:email %]
|
||||
From: [% output.address %]
|
||||
Subject: Changing your [% app.name %] e-mail address
|
||||
|
||||
Hi.
|
||||
|
||||
Someone, probably you, has requested that your e-mail address be
|
||||
changed from
|
||||
|
||||
[% oldAddress %]
|
||||
|
||||
...to
|
||||
|
||||
[% newAddress %]
|
||||
|
||||
If you wish to confirm this change, you should visit
|
||||
|
||||
XXX
|
||||
|
||||
...with the following arguments:
|
||||
|
||||
command=userPrefsConfirmSet
|
||||
changeID=[% token %]
|
||||
changePassword=[% password %]
|
||||
|
||||
If you do nothing, or if the change is cancelled using the password
|
||||
sent to the old address, then your account's e-mail address will stay
|
||||
as it was.
|
||||
|
||||
For more details, reply to this message to contact the administrator.
|
||||
|
||||
HTH,
|
||||
--
|
||||
[% app.name %]
|
||||
|
||||
---- debug ----
|
||||
Here's what I know:
|
||||
[% INCLUDE debug.dumpVars %]
|
|
@ -0,0 +1,42 @@
|
|||
TemplateToolkit
|
||||
1
|
||||
|
||||
To: [% session.fields.contact:email %]
|
||||
From: [% output.address %]
|
||||
Subject: Changing your [% app.name %] e-mail address
|
||||
|
||||
Hi.
|
||||
|
||||
Someone, probably you, has requested that your e-mail address be
|
||||
changed from
|
||||
|
||||
[% oldAddress %]
|
||||
|
||||
...to
|
||||
|
||||
[% newAddress %]
|
||||
|
||||
If you wish to cancel this change, you should visit
|
||||
|
||||
XXX
|
||||
|
||||
...with the following arguments:
|
||||
|
||||
command=userPrefsConfirmSet
|
||||
changeID=[% token %]
|
||||
changePassword=[% password %]
|
||||
|
||||
If you do nothing, and the change is confirmed using the password sent
|
||||
to the new address, then your account's e-mail address will be
|
||||
changed. For a limited time you can change it back by using the
|
||||
password given in this e-mail.
|
||||
|
||||
For more details, reply to this message to contact the administrator.
|
||||
|
||||
HTH,
|
||||
--
|
||||
[% app.name %]
|
||||
|
||||
---- debug ----
|
||||
Here's what I know:
|
||||
[% INCLUDE debug.dumpVars %]
|
Загрузка…
Ссылка в новой задаче