From fc3b787b70ba83613990860c182e9d7cc20cf1c8 Mon Sep 17 00:00:00 2001
From: mistic100
Date: Wed, 6 Nov 2013 17:57:53 +0000
Subject: feature 2995: New email template restore get_l10n_args removed at
r25357 apply changes to NBM
git-svn-id: http://piwigo.org/svn/trunk@25360 68402e56-0260-453c-a942-63ccdbb3a9ee
---
themes/default/template/mail/text/html/notification_admin.tpl | 4 +++-
themes/default/template/mail/text/html/notification_by_mail.tpl | 4 ++--
themes/default/template/mail/text/plain/notification_admin.tpl | 4 +++-
3 files changed, 8 insertions(+), 4 deletions(-)
(limited to 'themes/default/template/mail/text')
diff --git a/themes/default/template/mail/text/html/notification_admin.tpl b/themes/default/template/mail/text/html/notification_admin.tpl
index f30c0df07..f236b8ee6 100644
--- a/themes/default/template/mail/text/html/notification_admin.tpl
+++ b/themes/default/template/mail/text/html/notification_admin.tpl
@@ -2,6 +2,8 @@
{if isset($TECHNICAL)}
-{$TECHNICAL|nl2br}
+{'Connected user: %s'|translate:$TECHNICAL.username}
+{'IP: %s'|translate:$TECHNICAL.ip}
+{'Browser: %s'|translate:$TECHNICAL.user_agent}
{/if}
\ No newline at end of file
diff --git a/themes/default/template/mail/text/html/notification_by_mail.tpl b/themes/default/template/mail/text/html/notification_by_mail.tpl
index 9989a32c0..df3e431e1 100644
--- a/themes/default/template/mail/text/html/notification_by_mail.tpl
+++ b/themes/default/template/mail/text/html/notification_by_mail.tpl
@@ -38,13 +38,13 @@
{/if}
{'See you soon,'|@translate}
{$SEND_AS_NAME}
+
-
{'To unsubscribe'|@translate}{', click on'|@translate} {$UNSUBSCRIBE_LINK}
{'To subscribe'|@translate}{', click on'|@translate} {$SUBSCRIBE_LINK}
{'If you encounter problems or have any question, please send a message to'|@translate} {$CONTACT_EMAIL}
-
+
{if not empty($recent_posts)}
diff --git a/themes/default/template/mail/text/plain/notification_admin.tpl b/themes/default/template/mail/text/plain/notification_admin.tpl
index b7d552626..e6970842f 100644
--- a/themes/default/template/mail/text/plain/notification_admin.tpl
+++ b/themes/default/template/mail/text/plain/notification_admin.tpl
@@ -2,5 +2,7 @@
{if isset($TECHNICAL)}
-----------------------------
-{$TECHNICAL}
+{'Connected user: %s'|translate:$TECHNICAL.username}
+{'IP: %s'|translate:$TECHNICAL.ip}
+{'Browser: %s'|translate:$TECHNICAL.user_agent}
{/if}
\ No newline at end of file
--
cgit v1.2.3