From 163a295e514cceffa8bcb6d027e3458127f0a779 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 30 Oct 2007 08:13:06 +0100 Subject: tweak html digest template (add excerpt) --- functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'functions.php') 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'); -- cgit v1.2.3-54-g00ecf