mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Closes #4919 - Enhancement: plugins may now use their own custom email templates with sendEmail();
This commit is contained in:
@@ -9,8 +9,17 @@
|
||||
*/
|
||||
|
||||
|
||||
$_BLANK_WRAPPER['default']['BLANK_TEST'] = "[ {---} ]";
|
||||
$_BLANK_TEMPLATE['default'] = "<div>{BLANK_TEST}</div>";
|
||||
$_BLANK_WRAPPER['default']['BLANK_TEST'] = "[ {---} ]";
|
||||
$_BLANK_TEMPLATE['default'] = "<div>{BLANK_TEST}</div>";
|
||||
|
||||
|
||||
$_BLANK_TEMPLATE['other'] = "<div>{BLANK_TEST}</div>";
|
||||
$_BLANK_TEMPLATE['other'] = "<div>{BLANK_TEST}</div>";
|
||||
$_BLANK_TEMPLATE['other'] = "<div>{BLANK_TEST}</div>";
|
||||
|
||||
/**
|
||||
* Custom Plugin email template
|
||||
* @see https://github.com/e107inc/e107/issues/4919
|
||||
*/
|
||||
$_BLANK_TEMPLATE['email']['header'] = '<html lang="en"><body>';
|
||||
$_BLANK_TEMPLATE['email']['body'] = "<div><span>{NAME}</span> <small>{DATE}</small></div><div>{BODY}</div>";
|
||||
$_BLANK_TEMPLATE['email']['footer'] = '</body></html>';
|
Reference in New Issue
Block a user