From 86226bd6068e6cb914ddb91c1abcdc28fa94b337 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 4 Nov 2013 13:46:10 +0100 Subject: [PATCH] [IMRPOVED] Error Notification Mail with new headers --- public/templates/mail/global/footer.tpl | 2 + public/templates/mail/global/header.tpl | 82 +++++++++++++++++++ public/templates/mail/notifications/error.tpl | 22 +++-- 3 files changed, 100 insertions(+), 6 deletions(-) create mode 100644 public/templates/mail/global/footer.tpl create mode 100644 public/templates/mail/global/header.tpl diff --git a/public/templates/mail/global/footer.tpl b/public/templates/mail/global/footer.tpl new file mode 100644 index 00000000..308b1d01 --- /dev/null +++ b/public/templates/mail/global/footer.tpl @@ -0,0 +1,2 @@ + + diff --git a/public/templates/mail/global/header.tpl b/public/templates/mail/global/header.tpl new file mode 100644 index 00000000..109ed142 --- /dev/null +++ b/public/templates/mail/global/header.tpl @@ -0,0 +1,82 @@ + + + + + + + {$DATA.subject} + + + + + diff --git a/public/templates/mail/notifications/error.tpl b/public/templates/mail/notifications/error.tpl index 9aab79bf..10951728 100644 --- a/public/templates/mail/notifications/error.tpl +++ b/public/templates/mail/notifications/error.tpl @@ -1,10 +1,20 @@ - - -

An error occured!

-

This should never happen. Please review the error output below.

- + {include file="../global/header.tpl"} +

An error occured!

+

This should never happen. Please review the error output below.

+ + + + +
+ {foreach from=$DATA key=text item=message} {if $text != 'email' && $text != 'subject'} -

{$text}: {$message}

+ + + + {/if} {/foreach} +
{$text}{$message}
+
+ {include file="../global/footer.tpl"}