From 7a5e31e40127c401520d62499830a14537cd9c03 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 6 Nov 2013 15:43:41 +0000 Subject: feature 2995: New email template rewrite pwg_mail_group() and pwg_mail_notification_admins() new function pwg_mail_admins() add complete template management in pwg_mail() TODO : font-size problem in Thunderbird git-svn-id: http://piwigo.org/svn/trunk@25357 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/mail/text/html/mail-css-clear.tpl | 2 +- themes/default/template/mail/text/html/mail-css-dark.tpl | 2 +- themes/default/template/mail/text/html/notification_admin.tpl | 7 +++++++ themes/default/template/mail/text/plain/notification_admin.tpl | 6 ++++++ 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 themes/default/template/mail/text/html/notification_admin.tpl create mode 100644 themes/default/template/mail/text/plain/notification_admin.tpl (limited to 'themes') diff --git a/themes/default/template/mail/text/html/mail-css-clear.tpl b/themes/default/template/mail/text/html/mail-css-clear.tpl index b23c2b5d3..98b0337d9 100644 --- a/themes/default/template/mail/text/html/mail-css-clear.tpl +++ b/themes/default/template/mail/text/html/mail-css-clear.tpl @@ -14,7 +14,7 @@ html, body, #bodyTable { /* main block */ #header { background:#eee; - background:radial-gradient(ellipse at center, #fefefe, #e5e5e5); + background-image:radial-gradient(ellipse at center, #fefefe, #e5e5e5); border-top:4px solid #f70; text-align:center; text-shadow:1px 1px 0px #fff; diff --git a/themes/default/template/mail/text/html/mail-css-dark.tpl b/themes/default/template/mail/text/html/mail-css-dark.tpl index 8299b5ad5..d35c698c5 100644 --- a/themes/default/template/mail/text/html/mail-css-dark.tpl +++ b/themes/default/template/mail/text/html/mail-css-dark.tpl @@ -14,7 +14,7 @@ html, body, #bodyTable { /* main block */ #header { background:#444; - background:radial-gradient(ellipse at center, #555, #333); + background-image:radial-gradient(ellipse at center, #555, #333); border:1px solid #000; border-top:4px solid #f70; text-align:center; diff --git a/themes/default/template/mail/text/html/notification_admin.tpl b/themes/default/template/mail/text/html/notification_admin.tpl new file mode 100644 index 000000000..2cd3483b0 --- /dev/null +++ b/themes/default/template/mail/text/html/notification_admin.tpl @@ -0,0 +1,7 @@ +{$CONTENT} + +{if isset($TECHNICAL)} +

+{$TECHNICAL|nl2br} +

+{/if} \ No newline at end of file diff --git a/themes/default/template/mail/text/plain/notification_admin.tpl b/themes/default/template/mail/text/plain/notification_admin.tpl new file mode 100644 index 000000000..b7d552626 --- /dev/null +++ b/themes/default/template/mail/text/plain/notification_admin.tpl @@ -0,0 +1,6 @@ +{$CONTENT} + +{if isset($TECHNICAL)} +----------------------------- +{$TECHNICAL} +{/if} \ No newline at end of file -- cgit v1.2.3