mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-29 03:01:28 +00:00
implement mail plugin using mailto: links; deprecate mail plugin
This commit is contained in:
@@ -6,7 +6,7 @@ class Mail extends Plugin {
|
||||
|
||||
function about() {
|
||||
return array(1.0,
|
||||
"Share article via email",
|
||||
"Share article via email (deprecated)",
|
||||
"fox");
|
||||
}
|
||||
|
||||
@@ -59,10 +59,9 @@ class Mail extends Plugin {
|
||||
|
||||
$tpl->readTemplateFromFile("templates/email_article_template.txt");
|
||||
|
||||
$tpl->setVariable('USER_NAME', $_SESSION["name"]);
|
||||
$tpl->setVariable('USER_EMAIL', $user_email);
|
||||
$tpl->setVariable('TTRSS_HOST', $_SERVER["HTTP_HOST"]);
|
||||
|
||||
$tpl->setVariable('USER_NAME', $_SESSION["name"], true);
|
||||
$tpl->setVariable('USER_EMAIL', $user_email, true);
|
||||
$tpl->setVariable('TTRSS_HOST', $_SERVER["HTTP_HOST"], true);
|
||||
|
||||
$result = db_query($this->link, "SELECT link, content, title
|
||||
FROM ttrss_user_entries, ttrss_entries WHERE id = ref_id AND
|
||||
|
||||
Reference in New Issue
Block a user