1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 09:39:15 +00:00

tweak html digest template (add excerpt)

This commit is contained in:
Andrew Dolgov
2007-10-30 08:13:06 +01:00
parent c62a2c21ba
commit 163a295e51
4 changed files with 12 additions and 9 deletions

View File

@@ -3231,7 +3231,7 @@
}
$mail->IsHTML(true);
$mail->Subject = "[tt-rss] New headlines for last 24 hours";
$mail->Subject = DIGEST_SUBJECT;
$mail->Body = $digest;
$mail->AltBody = $digest_text;
@@ -3323,8 +3323,8 @@
$tpl->setVariable('ARTICLE_TITLE', $line["title"]);
$tpl->setVariable('ARTICLE_LINK', $line["link"]);
$tpl->setVariable('ARTICLE_UPDATED', $updated);
// $tpl->setVariable('ARTICLE_EXCERPT',
// truncate_string(strip_tags($line["excerpt"]), 100));
$tpl->setVariable('ARTICLE_EXCERPT',
truncate_string(strip_tags($line["excerpt"]), 100));
$tpl->addBlock('article');