From db143c0fe93e5bf11dc62bc62d3d3ed8b6a88bca Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 14 Dec 2007 21:38:32 +0100 Subject: [PATCH] Use smarty plugins in mail templates. Closes #750 Signed-off-by: Florent Bruneau --- ChangeLog | 3 +++ classes/plmailer.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e49b924..11379cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,9 @@ New: Bug/Wish: + * Emails: + - #750: Fix email list in test email -FRU + * Profile: - #729: Fix positioning of addresses on public profile -FRU - #742: Sub domain was hidden when editing profile -FRU diff --git a/classes/plmailer.php b/classes/plmailer.php index 0f8c0fe..37213db 100644 --- a/classes/plmailer.php +++ b/classes/plmailer.php @@ -38,7 +38,7 @@ class PlMail extends Smarty $this->template_dir = $globals->spoolroot . "/templates/"; $this->compile_dir = $globals->spoolroot . "/spool/mails_c/"; $this->config_dir = $globals->spoolroot . "/configs/"; - + array_unshift($this->plugins_dir, $globals->spoolroot."/plugins/"); $this->register_outputfilter(Array($this, 'mail_format')); $this->register_function('from', Array($this, 'setFrom')); -- 2.1.4