From 62b800b47cadf623dfd0178554a1d7251f5b979e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 13 Nov 2010 01:41:18 +0300 Subject: cdm: bring back updated/new pic --- functions.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index b952a5bae..9df02f839 100644 --- a/functions.php +++ b/functions.php @@ -5342,7 +5342,9 @@ onclick=\"viewfeed($feed_id)\">$feed_icon_img"; } print ""; - + + print "
$update_pic
"; + print ""; @@ -5416,10 +5418,14 @@ } } - $article_content = sanitize_rss($link, $line["content_preview"], - false, false, $feed_site_url); +# if ($expand_cdm) { + $article_content = sanitize_rss($link, $line["content_preview"], + false, false, $feed_site_url); - if (!$article_content) $article_content = " "; + if (!$article_content) $article_content = " "; +# } else { +# $article_content = ''; +# } print "
"; if ($line['note']) { @@ -5427,7 +5433,7 @@ } print "
"; - print $article_content; + print "$article_content"; $tmp_result = db_query($link, "SELECT always_display_enclosures FROM ttrss_feeds WHERE id = ". -- cgit v1.2.3