diff options
author | mistic100 <mistic@piwigo.org> | 2013-11-06 17:57:53 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-11-06 17:57:53 +0000 |
commit | fc3b787b70ba83613990860c182e9d7cc20cf1c8 (patch) | |
tree | 279057c62bc5a7bd2cf915d51fa4a047b1583032 /themes/default | |
parent | 68636067e98ab30914237ed28d5015cbf8dd6fe4 (diff) |
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
Diffstat (limited to 'themes/default')
3 files changed, 8 insertions, 4 deletions
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)} <p style="padding-top:10px;font-size:11px;"> -{$TECHNICAL|nl2br} +{'Connected user: %s'|translate:$TECHNICAL.username}<br> +{'IP: %s'|translate:$TECHNICAL.ip}<br> +{'Browser: %s'|translate:$TECHNICAL.user_agent} </p> {/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} <p>{'See you soon,'|@translate}</p> <p style="text-align:center">{$SEND_AS_NAME}</p> +<hr> <p> -<br><hr> {'To unsubscribe'|@translate}{', click on'|@translate} <a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br> {'To subscribe'|@translate}{', click on'|@translate} <a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br> {'If you encounter problems or have any question, please send a message to'|@translate} <a href="mailto:{$CONTACT_EMAIL}?subject={'[NBM] Problems or questions'|@translate}">{$CONTACT_EMAIL}</a><br> -<hr><br> </p> +<hr> {if not empty($recent_posts)} </div> <div id="nbm_recent_post"> 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 |