]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
implement ajax loading of cdm content when not in expand mode
[tt-rss.git] / functions.php
index 9df02f839494132ecbfcaacf7db3f1623480146d..2865f68e24158ac15a408fb7109aa23729256885 100644 (file)
                                                        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\"/>";
                                                }
                                        }
 
-#                                      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']) {