summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-13 02:09:30 +0300
committerAndrew Dolgov <[email protected]>2010-11-13 02:09:30 +0300
commitdd1c068056bc6ac18a4832f7c7dd4376c17f9b14 (patch)
tree1e6944a05ffd1aa7a5cf50d793d372e01c06769b /functions.php
parent62b800b47cadf623dfd0178554a1d7251f5b979e (diff)
implement ajax loading of cdm content when not in expand mode
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php12
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 = "&nbsp;";
-# } else {
-# $article_content = '';
-# }
+ } else {
+ $article_content = '';
+ }
print "<div id=\"POSTNOTE-$id\">";
if ($line['note']) {