]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix feedlist layout bug
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 24 Feb 2006 10:20:58 +0000 (11:20 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 24 Feb 2006 10:20:58 +0000 (11:20 +0100)
backend.php

index 4873f35e8345d7fff5b7240248cf2572ba4f6b36..b843aabb0797b52ca7cc8bcc08ed7f968dcc1482 100644 (file)
                                window.onload = init;
                        </script>";
 
-               print "<ul class=\"feedList\" id=\"feedList\">";
+               print "<ul class=\"feedList\" id=\"feedList\">\n";
 
                $owner_uid = $_SESSION["uid"];
 
                        /* virtual feeds */
 
                        if (get_pref($link, 'ENABLE_FEED_CATS')) {
-                               print "<li class=\"feedCat\">Special</li>";
-                               print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">";
+                               print "<li class=\"feedCat\">Special</li>\n";
+                               print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">\n";
                        }
 
                        $result = db_query($link, "SELECT count(id) as num_starred 
                                "images/mark_set.png", $link);
 
                        if (get_pref($link, 'ENABLE_FEED_CATS')) {
-                               print "</li></ul>";
+                               print "</ul>\n";
                        }
 
                        if (GLOBAL_ENABLE_LABELS && get_pref($link, 'ENABLE_LABELS')) {
                
                                if (db_num_rows($result) > 0) {
                                        if (get_pref($link, 'ENABLE_FEED_CATS')) {
-                                               print "<li class=\"feedCat\">Labels</li>";
-                                               print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">";
+                                               print "<li class=\"feedCat\">Labels</li>\n";
+                                               print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">\n";
                                        } else {
-                                               print "<li><hr></li>";
+                                               print "<li><hr></li>\n";
                                        }
                                }
                
 
                                if (db_num_rows($result) > 0) {
                                        if (get_pref($link, 'ENABLE_FEED_CATS')) {
-                                               print "</li></ul>";
+                                               print "</ul>";
                                        }
                                }
 
                                if ($category != $tmp_category && get_pref($link, 'ENABLE_FEED_CATS')) {
                                
                                        if ($category) {
-                                               print "</li></ul></li>";
+                                               print "</ul></li>";
                                        }
                                
                                        $category = $tmp_category;