Use smarty plugins in mail templates.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 14 Dec 2007 20:38:32 +0000 (21:38 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 14 Dec 2007 20:39:52 +0000 (21:39 +0100)
Closes #750

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
ChangeLog
classes/plmailer.php

index e49b924..11379cc 100644 (file)
--- 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
index 0f8c0fe..37213db 100644 (file)
@@ -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'));