improved headlinesList look
This commit is contained in:
parent
f07c0eb4fa
commit
047bae7373
1 changed files with 8 additions and 4 deletions
12
backend.php
12
backend.php
|
@ -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> </td></tr>";
|
||||
}
|
||||
|
||||
// start unholy navbar block
|
||||
|
||||
print "<tr><td colspan=\"3\" class=\"headlineToolbar\">";
|
||||
|
||||
$next_skip = $skip + HEADLINES_PER_PAGE;
|
||||
|
@ -278,9 +284,6 @@
|
|||
}
|
||||
print " ";
|
||||
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue