$tpl->setVariable('USER_EMAIL', $user_email, true);
$tpl->setVariable('TTRSS_HOST', $_SERVER["HTTP_HOST"], true);
- $result = db_query("SELECT link, content, title
+ $result = db_query("SELECT link, content, title, note
FROM ttrss_user_entries, ttrss_entries WHERE id = ref_id AND
id IN ($param) AND owner_uid = " . $_SESSION["uid"]);
$tpl->setVariable('ARTICLE_TITLE', strip_tags($line["title"]));
$tpl->setVariable('ARTICLE_URL', strip_tags($line["link"]));
+ $tpl->setVariable('ARTICLE_NOTE', strip_tags($line["note"]));
$tpl->addBlock('article');
}
<!-- $BeginBlock email -->
Hi,
-I've been reading this and thought it might interest you:
+Thought I'd share the following with you:
+
<!-- $BeginBlock article -->
* ${ARTICLE_TITLE}
+
+ ${ARTICLE_NOTE}
+
${ARTICLE_URL}
<!-- $EndBlock article -->