From: anuko Date: Sun, 12 Mar 2017 21:15:31 +0000 (+0000) Subject: Made invoices to utilize REPORT_FOOTER setting. X-Git-Tag: timetracker_1.19-1~1527 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2698456c83abb53592f1d12a940997a4bea0503c;p=timetracker.git Made invoices to utilize REPORT_FOOTER setting. --- diff --git a/WEB-INF/lib/ttInvoiceHelper.class.php b/WEB-INF/lib/ttInvoiceHelper.class.php index b5a3c59e..3980b8fb 100644 --- a/WEB-INF/lib/ttInvoiceHelper.class.php +++ b/WEB-INF/lib/ttInvoiceHelper.class.php @@ -423,7 +423,9 @@ class ttInvoiceHelper { $body .= ''; // Output footer. - $body .= '

'.$i18n->getKey('form.mail.footer').'

'; + if (!defined('REPORT_FOOTER') || !(REPORT_FOOTER == false)) + $body .= '

'.$i18n->getKey('form.mail.footer').'

'; + // Finish creating email body. $body .= ''; diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index cd2f92a7..0863ec42 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.10.39.3623 | Copyright © Anuko | +  Anuko Time Tracker 1.10.40.3624 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}