diff options
author | Andrew Dolgov <[email protected]> | 2007-10-30 08:13:06 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-10-30 08:13:06 +0100 |
commit | 163a295e514cceffa8bcb6d027e3458127f0a779 (patch) | |
tree | 438bdb9da11d53a2f4dd8c12e00762d2d86e6722 /functions.php | |
parent | c62a2c21ba0dc186c560acef92f6451be122b4d9 (diff) |
tweak html digest template (add excerpt)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.php b/functions.php index 2303f54ad..ab03832b0 100644 --- a/functions.php +++ b/functions.php @@ -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'); |