mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 03:31:29 +00:00
Revert "added a personalized email template. if the file:"
This reverts commit f766373271.
This commit is contained in:
@@ -50,10 +50,7 @@ class Mail extends Plugin {
|
|||||||
$tpl = new MiniTemplator;
|
$tpl = new MiniTemplator;
|
||||||
$tpl_t = new MiniTemplator;
|
$tpl_t = new MiniTemplator;
|
||||||
|
|
||||||
$templ_name = "templates/email_article_template.txt";
|
$tpl->readTemplateFromFile("templates/email_article_template.txt");
|
||||||
if(file_exists("templates/my_email_article_template.txt"))
|
|
||||||
$templ_name = "templates/my_email_article_template.txt";
|
|
||||||
$tpl->readTemplateFromFile($templ_name);
|
|
||||||
|
|
||||||
$tpl->setVariable('USER_NAME', $_SESSION["name"], true);
|
$tpl->setVariable('USER_NAME', $_SESSION["name"], true);
|
||||||
$tpl->setVariable('USER_EMAIL', $user_email, true);
|
$tpl->setVariable('USER_EMAIL', $user_email, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user