]> git.wh0rd.org - tt-rss.git/commitdiff
hide expand article link when CDM is auto-expanded
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 18 Oct 2007 03:02:28 +0000 (04:02 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 18 Oct 2007 03:02:28 +0000 (04:02 +0100)
functions.php

index 32240b1ac64fc6ec7051a98e9caff37ce9dfcba8..7de4ed1b515e296ec5047e1985ec95502736f62d 100644 (file)
                                        print $line["content_preview"];
                                        print "</div>";
 
-                                       print "<a id=\"CICH-$id\" 
-                                               href=\"javascript:cdmExpandArticle($id)\">
-                                               Show article</a>";
+                                       if (!$expand_cdm) {
+                                               print "<a id=\"CICH-$id\" 
+                                                       href=\"javascript:cdmExpandArticle($id)\">
+                                                       Show article</a>";
+                                       }
 
                                        print "</div><br clear=\"all\">";