diff options
author | Andrew Dolgov <[email protected]> | 2010-11-13 02:09:30 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-13 02:09:30 +0300 |
commit | dd1c068056bc6ac18a4832f7c7dd4376c17f9b14 (patch) | |
tree | 1e6944a05ffd1aa7a5cf50d793d372e01c06769b /functions.php | |
parent | 62b800b47cadf623dfd0178554a1d7251f5b979e (diff) |
implement ajax loading of cdm content when not in expand mode
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 12 |
1 files changed, 6 insertions, 6 deletions
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</span>"; } - print "</div>"; - print "<div class=\"updPic\">$update_pic</div>"; + + print "</div>"; print "<input type=\"checkbox\" onclick=\"toggleSelectRowById(this, 'RROW-$id')\" class=\"feedCheckBox\" id=\"RCHK-$id\"/>"; @@ -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 "<div id=\"POSTNOTE-$id\">"; if ($line['note']) { |