diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-11 11:41:18 -0600 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-11-11 11:41:18 -0600 |
commit | 7948aaa78ed7e543a0773ee1a858ef45f5e5a5bf (patch) | |
tree | 89602019b6fc27a5e07c30de6a8478365cd04557 /phpBB/includes/notification/method/email.php | |
parent | 985d234a29b22086a196dca427e6c474229e3d36 (diff) | |
download | forums-7948aaa78ed7e543a0773ee1a858ef45f5e5a5bf.tar forums-7948aaa78ed7e543a0773ee1a858ef45f5e5a5bf.tar.gz forums-7948aaa78ed7e543a0773ee1a858ef45f5e5a5bf.tar.bz2 forums-7948aaa78ed7e543a0773ee1a858ef45f5e5a5bf.tar.xz forums-7948aaa78ed7e543a0773ee1a858ef45f5e5a5bf.zip |
[ticket/11103] Make jabber use short/ email template files
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/notification/method/email.php')
-rw-r--r-- | phpBB/includes/notification/method/email.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/includes/notification/method/email.php b/phpBB/includes/notification/method/email.php index a47284bc61..2ff30b177f 100644 --- a/phpBB/includes/notification/method/email.php +++ b/phpBB/includes/notification/method/email.php @@ -41,6 +41,13 @@ class phpbb_notification_method_email extends phpbb_notification_method_base protected $notify_method = NOTIFY_EMAIL; /** + * Base directory to prepend to the email template name + * + * @var string + */ + protected $email_template_base_dir = ''; + + /** * Is this method available for the user? * This is checked on the notifications options */ @@ -100,7 +107,7 @@ class phpbb_notification_method_email extends phpbb_notification_method_base continue; } - $messenger->template($notification->get_email_template(), $user['user_lang']); + $messenger->template($this->email_template_base_dir . $notification->get_email_template(), $user['user_lang']); $messenger->to($user['user_email'], $user['username']); |