improved headlinesList look

This commit is contained in:
Andrew Dolgov 2005-08-23 15:54:18 +01:00
parent f07c0eb4fa
commit 047bae7373

View file

@ -260,9 +260,15 @@
if ($lnum == 0) {
print "<tr><td align='center'>No entries found.</td></tr>";
}
while ($lnum < HEADLINES_PER_PAGE) {
++$lnum;
print "<tr><td>&nbsp;</td></tr>";
}
// start unholy navbar block
print "<tr><td colspan=\"3\" class=\"headlineToolbar\">";
$next_skip = $skip + HEADLINES_PER_PAGE;
@ -278,9 +284,6 @@
}
print "&nbsp;";
// start unholy navbar block
if ($next_skip < $total_entries) {
print "<a class=\"button\"
href=\"javascript:viewfeed($feed, $next_skip);\">Next Page</a>";
@ -304,6 +307,7 @@
// end unholy navbar block
print "</table>";
$result = pg_query("SELECT id, (SELECT count(id) FROM ttrss_entries