]> git.wh0rd.org - tt-rss.git/commitdiff
fix pref/feeds display when categories are disabled
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 8 Jun 2006 05:13:51 +0000 (06:13 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 8 Jun 2006 05:13:51 +0000 (06:13 +0100)
backend.php

index dafb0b95b199e0f901ba3617b1669bce97aada39..6d0723c9f0b218fb7668e5abe51ba4b9373d2d34 100644 (file)
 
                        if (!get_pref($link, 'ENABLE_FEED_CATS')) {
                                print "<tr class=\"title\">
-                                       <td width='5%' align='center'>&nbsp;</td>
+                                       <td width='5%' align='center'>&nbsp;</td>";
+
+                               if (get_pref($link, 'ENABLE_FEED_ICONS')) {
+                                       print "<td width='3%'>&nbsp;</td>";
+                               }
+
+                               print "
                                        <td width='40%'><a href=\"javascript:updateFeedList('title')\">Title</a></td>
                                        <td width='45%'><a href=\"javascript:updateFeedList('feed_url')\">Feed</a></td>
                                        <td width='15%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">Updated</a></td>";