From 67bb737aa1368e4b16de0ac42134db47874cc18c Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 16 Feb 2011 17:49:52 -0800 Subject: broken image + linkify site link in body --- mod/dfrn_notify.php | 1 + view/de/mail_received_html_body_eml.tpl | 4 ++-- view/en/mail_received_html_body_eml.tpl | 4 ++-- view/fr/mail_received_html_body_eml.tpl | 4 ++-- view/it/mail_received_html_body_eml.tpl | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 040263b0c..b8d86ad24 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -244,6 +244,7 @@ function dfrn_notify_post(&$a) { // import the data into the template $email_tpl = replace_macros($tpl, array( + '$siteurl' => $a->get_baseurl(), // descriptive url of this site '$email' => $importer['email'], // email address to send to '$from' => $msg['from-name'], // name of the person sending the message '$title' => stripslashes($msg['title']), // subject of the message diff --git a/view/de/mail_received_html_body_eml.tpl b/view/de/mail_received_html_body_eml.tpl index b2d914f24..32c5a651a 100644 --- a/view/de/mail_received_html_body_eml.tpl +++ b/view/de/mail_received_html_body_eml.tpl @@ -7,7 +7,7 @@ - + @@ -16,7 +16,7 @@ - + diff --git a/view/en/mail_received_html_body_eml.tpl b/view/en/mail_received_html_body_eml.tpl index 981aa46e7..56cbf1d7c 100644 --- a/view/en/mail_received_html_body_eml.tpl +++ b/view/en/mail_received_html_body_eml.tpl @@ -7,7 +7,7 @@
Friendika
Friendika
Du hast eine neue private Nachricht von '$from' auf '$siteName' erhhalten.
$from
$title
$htmlversion
Bitte melde dich unter $siteurl an um deine privaten Nachrichte zu lesen und zu beantworten.
Bitte melde dich unter an um deine privaten Nachrichte zu lesen und zu beantworten.
Viele Grüße,
$siteName Administrator
- + @@ -16,7 +16,7 @@ - + diff --git a/view/fr/mail_received_html_body_eml.tpl b/view/fr/mail_received_html_body_eml.tpl index 43584a4c4..d60bbe70c 100644 --- a/view/fr/mail_received_html_body_eml.tpl +++ b/view/fr/mail_received_html_body_eml.tpl @@ -7,7 +7,7 @@
Friendika
Friendika
$from sent you a new private message at $siteName.
$from
$title
$htmlversion
Please login at $siteurl to read and reply to your private messages.
Please login at $siteurl to read and reply to your private messages.
Thank You,
$siteName Administrator
- + @@ -16,7 +16,7 @@ - + diff --git a/view/it/mail_received_html_body_eml.tpl b/view/it/mail_received_html_body_eml.tpl index a3c71cef9..7510f2b30 100644 --- a/view/it/mail_received_html_body_eml.tpl +++ b/view/it/mail_received_html_body_eml.tpl @@ -7,7 +7,7 @@
Friendika
Friendika
$from t'a envoyŽ un message ˆ $siteName.
$from
$title
$htmlversion
Ouvrez une session svp ˆ $siteurl pour lire et rŽpondre ˆ vos messages privŽs.
Ouvrez une session svp ˆ $siteurl pour lire et rŽpondre ˆ vos messages privŽs.
Merci,
$siteName Administrateur
- + @@ -16,7 +16,7 @@ - + -- cgit v1.2.3
Friendika
Friendika
Hai ricevuto un nuovo messsaggio privato su $siteName da '$from'.
$from
$title
$htmlversion
Accedi a $siteurl per leggere e rispondere ai tuoi messaggi privati.
Accedi a $siteurl per leggere e rispondere ai tuoi messaggi privati.
Grazie,
L'amministratore di $siteName