aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-11-06 15:43:41 +0000
committermistic100 <mistic@piwigo.org>2013-11-06 15:43:41 +0000
commit7a5e31e40127c401520d62499830a14537cd9c03 (patch)
tree4758ad0f260c9cd45ff295c6a1f84b04dec98d23 /themes
parentb768047019615e7c80f6292514219c7335b0ee1d (diff)
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
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/mail/text/html/mail-css-clear.tpl2
-rw-r--r--themes/default/template/mail/text/html/mail-css-dark.tpl2
-rw-r--r--themes/default/template/mail/text/html/notification_admin.tpl7
-rw-r--r--themes/default/template/mail/text/plain/notification_admin.tpl6
4 files changed, 15 insertions, 2 deletions
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)}
+<p style="margin-top:10px;font-size:10px;">
+{$TECHNICAL|nl2br}
+</p>
+{/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