mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 20:51:29 +00:00
fix feedlist layout bug
This commit is contained in:
18
backend.php
18
backend.php
@@ -362,7 +362,7 @@
|
|||||||
window.onload = init;
|
window.onload = init;
|
||||||
</script>";
|
</script>";
|
||||||
|
|
||||||
print "<ul class=\"feedList\" id=\"feedList\">";
|
print "<ul class=\"feedList\" id=\"feedList\">\n";
|
||||||
|
|
||||||
$owner_uid = $_SESSION["uid"];
|
$owner_uid = $_SESSION["uid"];
|
||||||
|
|
||||||
@@ -371,8 +371,8 @@
|
|||||||
/* virtual feeds */
|
/* virtual feeds */
|
||||||
|
|
||||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||||
print "<li class=\"feedCat\">Special</li>";
|
print "<li class=\"feedCat\">Special</li>\n";
|
||||||
print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">";
|
print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = db_query($link, "SELECT count(id) as num_starred
|
$result = db_query($link, "SELECT count(id) as num_starred
|
||||||
@@ -390,7 +390,7 @@
|
|||||||
"images/mark_set.png", $link);
|
"images/mark_set.png", $link);
|
||||||
|
|
||||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||||
print "</li></ul>";
|
print "</ul>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GLOBAL_ENABLE_LABELS && get_pref($link, 'ENABLE_LABELS')) {
|
if (GLOBAL_ENABLE_LABELS && get_pref($link, 'ENABLE_LABELS')) {
|
||||||
@@ -400,10 +400,10 @@
|
|||||||
|
|
||||||
if (db_num_rows($result) > 0) {
|
if (db_num_rows($result) > 0) {
|
||||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||||
print "<li class=\"feedCat\">Labels</li>";
|
print "<li class=\"feedCat\">Labels</li>\n";
|
||||||
print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">";
|
print "<li id=\"feedCatHolder\"><ul class=\"feedCatList\">\n";
|
||||||
} else {
|
} else {
|
||||||
print "<li><hr></li>";
|
print "<li><hr></li>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -434,7 +434,7 @@
|
|||||||
|
|
||||||
if (db_num_rows($result) > 0) {
|
if (db_num_rows($result) > 0) {
|
||||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||||
print "</li></ul>";
|
print "</ul>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -528,7 +528,7 @@
|
|||||||
if ($category != $tmp_category && get_pref($link, 'ENABLE_FEED_CATS')) {
|
if ($category != $tmp_category && get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||||
|
|
||||||
if ($category) {
|
if ($category) {
|
||||||
print "</li></ul></li>";
|
print "</ul></li>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$category = $tmp_category;
|
$category = $tmp_category;
|
||||||
|
|||||||
Reference in New Issue
Block a user