From 7a26038e66da9d958cc1cc439c904a6a7977428e Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 5 Nov 2013 19:23:29 +0000 Subject: feature 2965: apply new template on pwg_mail() TODO : review other mail functions, configuration GUI git-svn-id: http://piwigo.org/svn/trunk@25344 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/mail/text/plain/footer.tpl | 8 +++++--- themes/default/template/mail/text/plain/header.tpl | 7 +++++-- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'themes/default/template/mail/text/plain') diff --git a/themes/default/template/mail/text/plain/footer.tpl b/themes/default/template/mail/text/plain/footer.tpl index 8574697e6..0f9ef273e 100644 --- a/themes/default/template/mail/text/plain/footer.tpl +++ b/themes/default/template/mail/text/plain/footer.tpl @@ -1,5 +1,7 @@ +{literal} --- +{/literal} +---- {'Sent by'|@translate} "{$GALLERY_TITLE}" {$GALLERY_URL} -{'Contact'|@translate} {$MAIL} -{'Powered by'|@translate} Piwigo {$VERSION} +{'Powered by'|@translate} "Piwigo{if not empty($VERSION)} {$VERSION}{/if}" {$PHPWG_URL} +{'Contact'|@translate}: {$CONTACT_MAIL} \ No newline at end of file diff --git a/themes/default/template/mail/text/plain/header.tpl b/themes/default/template/mail/text/plain/header.tpl index 88cd997fa..31d7456fb 100644 --- a/themes/default/template/mail/text/plain/header.tpl +++ b/themes/default/template/mail/text/plain/header.tpl @@ -1,3 +1,6 @@ +{$MAIL_TITLE} +{if not empty($MAIL_SUBTITLE)}{$MAIL_SUBTITLE} +{/if} +---- {literal} - -{/literal}{*note that there must be an empty line to separate the mime headers*} +{/literal} \ No newline at end of file -- cgit v1.2.3