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"}