From dd1c068056bc6ac18a4832f7c7dd4376c17f9b14 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 13 Nov 2010 02:09:30 +0300 Subject: implement ajax loading of cdm content when not in expand mode --- functions.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 9df02f839..2865f68e2 100644 --- a/functions.php +++ b/functions.php @@ -5341,9 +5341,9 @@ title=\"".htmlspecialchars($line["feed_title"])."\" onclick=\"viewfeed($feed_id)\">$feed_icon_img"; } - print ""; - print "
$update_pic
"; + + print ""; print ""; @@ -5418,14 +5418,14 @@ } } -# if ($expand_cdm) { + if ($expand_cdm) { $article_content = sanitize_rss($link, $line["content_preview"], false, false, $feed_site_url); if (!$article_content) $article_content = " "; -# } else { -# $article_content = ''; -# } + } else { + $article_content = ''; + } print "
"; if ($line['note']) { -- cgit v1.2.3-54-g00ecf