From f98ba371cfdb0d0d47a5717aa60a5b703017cbe4 Mon Sep 17 00:00:00 2001 From: Chris Case Date: Sun, 13 Feb 2011 14:55:48 -0800 Subject: updated private message notification to use HTML, still need the foreign language message notifications updated --- view/en/mail_received_eml.tpl | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) (limited to 'view/en/mail_received_eml.tpl') diff --git a/view/en/mail_received_eml.tpl b/view/en/mail_received_eml.tpl index 261aec4be..510978582 100644 --- a/view/en/mail_received_eml.tpl +++ b/view/en/mail_received_eml.tpl @@ -1,16 +1,25 @@ + + + + Friendika Message + + + + + + -Dear $username, + - You've received a new private message at $sitename from '$from'. ------ -$title ------ -$body ------ -Please login at $siteurl to read and reply to your private messages. - -Thank you, - $sitename administrator - - + + + + + + + + +
Friendika
$from sent you a new private message at $siteName.
$from
$title
$body
Please login at $siteurl to read and reply to your private messages.
Thank you,
$siteName administrator
+ + \ No newline at end of file -- cgit v1.2.3 From 5eebb373e5ac761ba0f2020a85fa6db7544f7229 Mon Sep 17 00:00:00 2001 From: Chris Case Date: Mon, 14 Feb 2011 03:59:54 -0800 Subject: revamped private message templates, added multipart messages with text and html versions, updated de, en, fr and it. Translated the french version of the private message template. --- view/en/mail_received_eml.tpl | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'view/en/mail_received_eml.tpl') diff --git a/view/en/mail_received_eml.tpl b/view/en/mail_received_eml.tpl index 510978582..68df07c3d 100644 --- a/view/en/mail_received_eml.tpl +++ b/view/en/mail_received_eml.tpl @@ -1,3 +1,22 @@ +--$mimeboundary +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + +$from sent you a new private message at $siteName. + +$title + +$textversion + +Please login at $siteurl to read and reply to your private messages. + +Thank you, +$siteName administrator + +--$mimeboundary +Content-Type: text/html; charset=utf-8 +Content-Transfer-Encoding: 8bit + @@ -15,11 +34,14 @@ $from $title - $body + $htmlversion Please login at $siteurl to read and reply to your private messages. - Thank you, - $siteName administrator + Thank You, + $siteName Administrator - \ No newline at end of file + + +--$mimeboundary-- + -- cgit v1.2.3 From 94e0c3c97044ea2fd3f9bcfcbd07dd6215d084a0 Mon Sep 17 00:00:00 2001 From: Chris Case Date: Mon, 14 Feb 2011 04:54:44 -0800 Subject: fixed the charset on the html version of the message, overlooked this in the last commit, now uses utf-8 in the meta tag --- view/en/mail_received_eml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/en/mail_received_eml.tpl') diff --git a/view/en/mail_received_eml.tpl b/view/en/mail_received_eml.tpl index 68df07c3d..802280052 100644 --- a/view/en/mail_received_eml.tpl +++ b/view/en/mail_received_eml.tpl @@ -21,7 +21,7 @@ Content-Transfer-Encoding: 8bit Friendika Message - + -- cgit v1.2.3